summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-10-08 19:59:05 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-10-10 10:14:23 +0200
commit6fb8e17b72c407b515192c1dc14dd1a81a2a75cc (patch)
tree7b84ddf223cd2a39267358987cc79e65bf74aa95 /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 5.99.0 version bump (diff)
downloadgentoo-6fb8e17b72c407b515192c1dc14dd1a81a2a75cc.tar.gz
gentoo-6fb8e17b72c407b515192c1dc14dd1a81a2a75cc.tar.bz2
gentoo-6fb8e17b72c407b515192c1dc14dd1a81a2a75cc.zip
kde-frameworks/kfilemetadata: 5.99.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-5.99.0.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 54faf98d5288..7da5e595503f 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.96.0.tar.xz 437292 BLAKE2B e0c34856128ad8b78cde050d97a594ae0e0a841ae7a02f7946730cbe808de163e55a3ac2e31e1c0cace9b2726d0cb630b3c230a895a9e8620ba28c89f3bc73bb SHA512 c0331f50799b17828fc5f34223be7e2d4f27b9347709115a3f6bda5c56324ead3d70021089a7078c4d4104f7d0d8fc5b04fb22cca7e30bf682d08a0f5bd4fafe
DIST kfilemetadata-5.98.0.tar.xz 437964 BLAKE2B c7958dc738b78443cbbce9abb7fadedfd89de076b4f4fd38d98e951c7220310b6027eb7c0077010bdf951fb711e535942598de6f41d24a448970bc8f705abbb3 SHA512 49e6606ee11c971a612b33647d025f0ecaf567c61e4b71651b6461350e329c0970035aa253f82fd5d47390f5cfcf9fbc930e6a4dcbd3c493bcd0b3be0dbdf167
+DIST kfilemetadata-5.99.0.tar.xz 439532 BLAKE2B 251617854bb7aa1b2a916e7f35651f29219066c7ce9659b60c93c29ab03156d3dda4d3536e4916f2a00db614c1e23f8ee4cc5de90f461593f2568e9cc20461fc SHA512 1499c9158fe6e1bf59f5150350b8f698e78881ddb251994ad6e6be0e471ffa1b4c092abc154e8a440eaa14a1f081ca411815800a3541a45bdd7d0b6767942db3
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.99.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.99.0.ebuild
new file mode 100644
index 000000000000..9181d233b99b
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.99.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.15.5
+inherit ecm frameworks.kde.org optfeature python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="epub exif ffmpeg mobi office pdf taglib"
+
+RESTRICT="test"
+
+BDEPEND="
+ test? ( ${PYTHON_DEPS} )
+"
+RDEPEND="
+ >=dev-qt/qtxml-${QTMIN}:5
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5
+ =kde-frameworks/ki18n-${PVCUT}*:5
+ epub? ( app-text/ebook-tools )
+ exif? ( media-gfx/exiv2:= )
+ ffmpeg? ( media-video/ffmpeg:0= )
+ mobi? ( kde-apps/kdegraphics-mobipocket:5 )
+ office? ( =kde-frameworks/karchive-${PVCUT}*:5 )
+ pdf? ( app-text/poppler[qt5] )
+ taglib? ( media-libs/taglib )
+"
+DEPEND="${RDEPEND}
+ kernel_linux? ( sys-apps/attr )
+"
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+ ecm_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package epub EPub)
+ $(cmake_use_find_package exif LibExiv2)
+ $(cmake_use_find_package ffmpeg FFmpeg)
+ $(cmake_use_find_package mobi QMobipocket)
+ $(cmake_use_find_package office KF5Archive)
+ $(cmake_use_find_package pdf Poppler)
+ $(cmake_use_find_package taglib Taglib)
+ )
+
+ ecm_src_configure
+}
+
+src_test() {
+ # FIXME: bug 644650, fails on tmpfs (but not for everyone)
+ local myctestargs=( -E "(usermetadatawritertest)" )
+ ecm_src_test
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ optfeature "Microsoft Word/Powerpoint file indexing" app-text/catdoc
+ optfeature "Microsoft Excel file indexing" dev-libs/libxls
+ fi
+ ecm_pkg_postinst
+}