2016-10-13 13:53:38 +02:00
|
|
|
# Template file for 'baloo5'
|
|
|
|
pkgname=baloo5
|
2017-11-14 09:23:55 +01:00
|
|
|
version=5.40.0
|
2016-10-13 13:53:38 +02:00
|
|
|
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"
|
|
|
|
homepage="https://projects.kde.org/projects/frameworks/baloo5"
|
|
|
|
distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
|
2017-11-14 09:23:55 +01:00
|
|
|
checksum=aa944f991642c5839c0c47a63e6dfae6b695b3c09667b3e3a5ea91413be21826
|
2017-05-14 14:06:52 +02:00
|
|
|
|
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" qt5-host-tools qt5-qmake python kcoreaddons"
|
|
|
|
configure_args+=" -DDESKTOPTOJSON_EXECUTABLE=/usr/bin/desktoptojson"
|
|
|
|
fi
|
2016-10-13 13:53:38 +02:00
|
|
|
|
|
|
|
baloo5-devel_package() {
|
|
|
|
short_desc+=" - development"
|
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
}
|
|
|
|
}
|