# Template file for 'kservice' pkgname=kservice version=5.51.0 revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" hostmakedepends="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 " 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=ef58a8ceeb6b780e7c6089acbca291e79dc706c55d6fb203daed98d5364b15e0 if [ "$CROSS_BUILD" ]; then hostmakedepends+=" qt5-host-tools qt5-devel 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" } }