35 lines
1 KiB
Bash
35 lines
1 KiB
Bash
# Template file for 'baloo5'
|
|
pkgname=baloo5
|
|
version=5.91.0
|
|
revision=1
|
|
wrksrc="${pkgname%5}-${version}"
|
|
build_style=cmake
|
|
configure_args="
|
|
-DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
hostmakedepends="kcoreaddons extra-cmake-modules gettext
|
|
kconfig qt5-host-tools qt5-qmake python3 kcoreaddons"
|
|
makedepends="kfilemetadata5-devel kidletime-devel kio-devel ksolid-devel lmdb-devel"
|
|
depends="hicolor-icon-theme"
|
|
short_desc="Framework for searching and managing metadata"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://community.kde.org/Baloo"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
|
|
checksum=7574d63379c41d8cb0e6579a0d73ab4257967ecbfaa7affa01472dcca35a12b3
|
|
|
|
do_check() {
|
|
cd build
|
|
ctest -E 'filemonitortest'
|
|
}
|
|
|
|
baloo5-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/qt5/mkspecs
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|