void-packages/srcpkgs/khelpcenter/template

20 lines
817 B
Bash
Raw Normal View History

2017-09-22 21:22:08 +02:00
# Template file for 'khelpcenter'
pkgname=khelpcenter
2018-01-13 13:53:10 +01:00
version=17.12.1
2017-09-22 21:22:08 +02:00
revision=1
build_style=cmake
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"
2018-01-13 13:53:10 +01:00
checksum=32c710ee68279ffdc4dd77e9ea5f2d09aebb4cd4cc1a56b4d2a2adea70ebea78
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