20 lines
854 B
Bash
20 lines
854 B
Bash
# Template file for 'khelpcenter'
|
|
pkgname=khelpcenter
|
|
version=17.12.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules pkg-config"
|
|
makedepends="kinit-devel khtml-devel grantlee5-devel xapian-core-devel"
|
|
short_desc="KDE Help center"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="https://projects.kde.org/projects/applications/khelpcenter"
|
|
distfiles="http://download.kde.org/stable/applications/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=4d53ae16136f54078bbd5254a91093aff2385b188a3843f4a4b41d1a73efe120
|
|
|
|
if [ -n "$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
|