# Template file for 'kf6-kfilemetadata' pkgname=kf6-kfilemetadata version=6.7.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 " license="LGPL-2.1-or-later" homepage="https://invent.kde.org/frameworks/kfilemetadata" distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname#kf6-}-${version}.tar.xz" checksum=a6242a79e672b523ebf1b2554ebf83aca7a9d5065929b6f152731e9851d008d0 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" } }