33 lines
1.0 KiB
Bash
33 lines
1.0 KiB
Bash
# Template file for 'kf6-kservice'
|
|
pkgname=kf6-kservice
|
|
version=6.6.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=ba0d6323efecaf055655bb6d9dd072e7f889d23969ca4fc55565bda8999101f4
|
|
|
|
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"
|
|
}
|
|
}
|