void-packages/srcpkgs/kservice/template
2021-12-20 14:39:53 +01:00

29 lines
993 B
Bash

# Template file for 'kservice'
pkgname=kservice
version=5.89.0
revision=1
build_style=cmake
hostmakedepends="kcoreaddons extra-cmake-modules flex bison gettext"
makedepends="kconfig-devel kcrash-devel kdbusaddons-devel ki18n-devel kdoctools-devel"
short_desc="KDE Plugin framework for desktop services"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kservice"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=05670a04fae5753fddcda1d1fe13680afd077fc1ec17d8f53f5c80f1bf922b6b
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"
}
}