36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
# Template file for 'kf6-kconfig'
|
|
pkgname=kf6-kconfig
|
|
version=6.7.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DKDE_INSTALL_QMLDIR=lib/qt6/qml
|
|
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
|
|
hostmakedepends="extra-cmake-modules qt6-base qt6-tools
|
|
qt6-declarative-host-tools"
|
|
makedepends="qt6-declarative-devel"
|
|
short_desc="KDE Persistent platform-independent application settings"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kconfig"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
|
checksum=be2d5ddb63e56703bc097e5d9912b39abc513ac51654de2e0d83a1aed2c54b1b
|
|
|
|
do_check() {
|
|
cd build
|
|
# disable failing tests
|
|
ctest -E "kconfigcore-kconfigtest|kconfiggui-kstandardshortcutwatchertest"
|
|
}
|
|
|
|
kf6-kconfig-devel_package() {
|
|
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
mkdir -p "${DESTDIR}/usr/lib/cmake/KF6Config"
|
|
mv ${PKGDESTDIR}/usr/lib/cmake/KF6Config/KF6ConfigCompiler* \
|
|
"${DESTDIR}/usr/lib/cmake/KF6Config"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|