8033cc0899
[ci skip]
30 lines
1 KiB
Bash
30 lines
1 KiB
Bash
# Template file for 'kservice'
|
|
pkgname=kservice
|
|
version=5.57.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules flex bison"
|
|
makedepends="kconfig-devel kcrash-devel kdbusaddons-devel ki18n-devel kdoctools-devel"
|
|
short_desc="KDE Plugin framework for desktop services"
|
|
maintainer="John <johnz@posteo.net>"
|
|
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/kservice"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=531940baa47273714fbc35941f2ef5fbdb801b7a5ed5fef5a8ff1d86bf1dae14
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-devel kcoreaddons kdoctools"
|
|
configure_args+=" -DMEINPROC5_EXECUTABLE=/usr/bin/meinproc5"
|
|
fi
|
|
|
|
kservice-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/cmake
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|