34 lines
1.1 KiB
Bash
34 lines
1.1 KiB
Bash
# Template file for 'kf6-kfilemetadata'
|
|
pkgname=kf6-kfilemetadata
|
|
version=6.6.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 ffmpeg6-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=218ccbc926e1e26765f7213b8aace7ebdaa785464efad2bb60f8e648362cfea0
|
|
|
|
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"
|
|
}
|
|
}
|