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