21 lines
850 B
Bash
21 lines
850 B
Bash
# Template file for 'khelpcenter'
|
|
pkgname=khelpcenter
|
|
version=20.08.2
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="extra-cmake-modules kcoreaddons pkg-config gettext"
|
|
makedepends="kinit-devel khtml-devel grantlee5-devel xapian-core-devel"
|
|
short_desc="KDE Help center"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://kde.org/applications/en/system/org.kde.Help"
|
|
distfiles="${KDE_SITE}/release-service/${version}/src/${pkgname}-${version}.tar.xz"
|
|
checksum=36051a4352a05dd9b74b4e325c0e16e30d6bd8b48d6c3d13980b39a77aab4e2d
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" kconfig kdoctools python3 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
|