void-packages/srcpkgs/kf6-baloo/template

37 lines
1.2 KiB
Bash

# Template file for 'kf6-baloo'
pkgname=kf6-baloo
version=6.7.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=ce8c18a21ed7acd5912c7d273cac5f6cb1adb524a0415d56c6fdde2e967f67cc
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/lib/pkgconfig
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}