void-packages/srcpkgs/khelpcenter/template
2018-09-06 19:54:59 +02:00

20 lines
846 B
Bash

# Template file for 'khelpcenter'
pkgname=khelpcenter
version=18.08.1
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.0-or-later"
homepage="https://projects.kde.org/projects/applications/khelpcenter"
distfiles="${KDE_SITE}/applications/${version}/src/${pkgname}-${version}.tar.xz"
checksum=9137b8e76941715b2f3bbb3e0f796b46e3b8a1ff4740b4c00492de792df6c0cc
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