33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'kf6-kservice'
|
|
pkgname=kf6-kservice
|
|
version=6.7.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake"
|
|
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
|
|
gettext kf6-kdoctools kf6-kconfig"
|
|
makedepends="kf6-kconfig-devel kf6-kcoreaddons-devel kf6-ki18n-devel
|
|
kf6-kdoctools-devel"
|
|
short_desc="KDE Plugin framework for desktop services"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/kservice"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
|
|
checksum=39d2542e38fb3434c5405c92d5b45e0d5ba650d265309adf93c787a741d57fa1
|
|
|
|
do_check() {
|
|
cd build
|
|
# tests fail on CI
|
|
ctest -E "ksycocatest|kapplicationtradertest|kservicetest|ksycocathreadtest|ksycoca_xdgdirstest"
|
|
}
|
|
|
|
kf6-kservice-devel_package() {
|
|
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|