void-packages/srcpkgs/kf6-kfilemetadata/template

34 lines
1.1 KiB
Bash

# Template file for 'kf6-kfilemetadata'
pkgname=kf6-kfilemetadata
version=6.3.0
revision=1
build_style=cmake
configure_args="-DKDE_INSTALL_QTPLUGINDIR=lib/qt6/plugins"
hostmakedepends="extra-cmake-modules qt6-tools qt6-base
gettext pkg-config"
makedepends="qt6-base-devel kf6-kcodecs-devel kf6-ki18n-devel kf6-karchive-devel
kf6-kcoreaddons-devel kf6-kconfig-devel attr-devel taglib-devel libqmobipocket6-devel
exiv2-devel ffmpeg-devel ebook-tools-devel poppler-qt6-devel"
short_desc="Library for extracting file metadata"
maintainer="John <me@johnnynator.dev>"
license="LGPL-2.1-or-later"
homepage="https://invent.kde.org/frameworks/kfilemetadata"
distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz"
checksum=bd88e378861a03ada99c69841a81fceefd3dd220145007fbfe9113270b7d6088
do_check() {
cd build
# Skip failing tests
ctest -E "usermetadatawritertest"
}
kf6-kfilemetadata-devel_package() {
depends="$makedepends ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
vmove "usr/lib/*.so"
}
}