32 lines
1 KiB
Bash
32 lines
1 KiB
Bash
# Template file for 'baloo5'
|
|
pkgname=baloo5
|
|
version=5.47.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
wrksrc="${pkgname%5}-${version}"
|
|
hostmakedepends="extra-cmake-modules"
|
|
makedepends="kfilemetadata5-devel kidletime-devel kio-devel lmdb-devel"
|
|
depends="hicolor-icon-theme"
|
|
short_desc="A framework for searching and managing metadata"
|
|
maintainer="Denis Revin <denis.revin@gmail.com>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://projects.kde.org/projects/frameworks/baloo5"
|
|
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
|
|
checksum=d8a9db969aaf1647b1cc03b82b18640e8d6e563a607411658106e57b085d5796
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python kcoreaddons"
|
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
fi
|
|
|
|
baloo5-devel_package() {
|
|
short_desc+=" - development"
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|