30 lines
1.3 KiB
Bash
30 lines
1.3 KiB
Bash
# Template file for 'khelpcenter'
|
|
pkgname=khelpcenter
|
|
version=24.05.1
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF -DKF6_HOST_TOOLING=/usr/lib/cmake"
|
|
hostmakedepends="extra-cmake-modules kf6-kcoreaddons qt6-base qt6-tools
|
|
kf6-kconfig kf6-kdoctools python3 pkg-config gettext"
|
|
makedepends="libxml2-devel qt6-base-devel grantlee5-devel xapian-core-devel
|
|
qt6-webengine-devel kf6-kconfig-devel kf6-kdoctools-devel kf6-ki18n-devel
|
|
kf6-kio-devel kf6-knewstuff-devel kf6-kservice-devel kf6-kxmlgui-devel
|
|
kf6-kwindowsystem-devel kf6-kguiaddons-devel kf6-kwidgetsaddons-devel
|
|
kf6-karchive-devel kf6-kcoreaddons-devel kf6-kbookmarks-devel
|
|
kf6-kdbusaddons-devel kf6-ktexttemplate-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=97afa11622b266c055caca321bd8a42f7c1381dd9bf952b9f122538d4e19791b
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
configure_args+=" -DXAPIAN_LIBRARIES=${XBPS_CROSS_BASE}/usr/lib/libxapian.so
|
|
-DXAPIAN_INCLUDE_DIR=${XBPS_CROSS_BASE}/usr/include -DXAPIAN_FOUND=TRUE"
|
|
fi
|
|
|
|
if [ "$XBPS_WORDSIZE$XBPS_WORDSIZE" != "64$XBPS_TARGET_WORDSIZE" ]; then
|
|
broken="Qt6 WebEngine"
|
|
fi
|