void-packages/srcpkgs/kf6-baloo/template

36 lines
1.1 KiB
Bash

# Template file for 'kf6-baloo'
pkgname=kf6-baloo
version=6.3.0
revision=1
build_style=cmake
configure_args="-DKF6_HOST_TOOLING=/usr/lib/cmake
-DKDE_INSTALL_QMLDIR=lib/qt6/qml
-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
qt6-declarative-host-tools gettext kf6-kconfig-devel"
makedepends="qt6-declarative-devel kf6-kcoreaddons-devel kf6-kconfig-devel
kf6-kdbusaddons-devel kf6-ki18n-devel kf6-kidletime-devel kf6-solid-devel
kf6-kcrash-devel kf6-kio-devel kf6-kfilemetadata-devel lmdb-devel"
short_desc="Framework for searching and managing metadata"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/baloo"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=87af96e58d9303479e628b7c801665631b6e5698e1ba9526f415cf6f3755a064
do_check() {
cd build
# disable failing text
ctest -E "filemonitortest"
}
kf6-baloo-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}