34 lines
1007 B
Bash
34 lines
1007 B
Bash
# Template file for 'krunner'
|
|
pkgname=krunner
|
|
version=5.116.0
|
|
revision=1
|
|
build_style=cmake
|
|
hostmakedepends="kcoreaddons extra-cmake-modules qt5-host-tools
|
|
kpackage gettext qt5-qmake"
|
|
makedepends="plasma-framework-devel threadweaver-devel"
|
|
short_desc="KDE Framework for Plasma runners"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://invent.kde.org/frameworks/krunner"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=b87fb29e4354acb21f085b7978c7f1f49f41766a1d4f98fc86781fb9884a0841
|
|
|
|
do_check() {
|
|
cd build
|
|
# They both hang somewhere, running ctest inside a dbus session
|
|
# doesn't seem to help
|
|
ctest -E "dbusrunnertest|runnermanagersinglerunnermodetest|\
|
|
runnermanagertest|runnercontexttest"
|
|
}
|
|
|
|
krunner-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"
|
|
}
|
|
}
|