ba12f9b8e0
[ci skip]
20 lines
843 B
Bash
20 lines
843 B
Bash
# Template file for 'khelpcenter'
|
|
pkgname=khelpcenter
|
|
version=19.04.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules kcoreaddons pkg-config"
|
|
makedepends="kinit-devel khtml-devel grantlee5-devel xapian-core-devel"
|
|
short_desc="KDE Help center"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://projects.kde.org/projects/applications/khelpcenter"
|
|
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=b5fc56692145a5b10bdba7ab47dad130e91bd0e0e4dca28d22415d0334c01cb7
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kconfig kdoctools python qt5-host-tools qt5-qmake"
|
|
configure_args+=" -DXAPIAN_LIBRARIES=${XBPS_CROSS_BASE}/usr/lib/libxapian.so
|
|
-DXAPIAN_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include -DXAPIAN_FOUND=TRUE"
|
|
fi
|