void-packages/srcpkgs/baloo5/template
Piraty b552bb1b97 baloo5: revbump for libksolid
added ksolid-devel as explicit build dependency
2019-06-15 18:30:07 +02:00

32 lines
1 KiB
Bash

# Template file for 'baloo5'
pkgname=baloo5
version=5.59.0
revision=2
wrksrc="${pkgname%5}-${version}"
build_style=cmake
configure_args="-DBUILD_TESTING=OFF"
hostmakedepends="kcoreaddons extra-cmake-modules"
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 <johnz@posteo.net>"
license="LGPL-2.1-or-later"
homepage="https://community.kde.org/Baloo"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname%5}-${version}.tar.xz"
checksum=306425209bc6b653450befa2eebc7ec60629e096e88d57af8ee6ca9e0c6430e1
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"
}
}