summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-11-13 20:20:35 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-11-13 20:58:27 +0100
commitd7bc78ff65ef877ce9997658639253706db8bac0 (patch)
tree179a4e0cbdaaf8778ce36dd9fd0f352ce67ccb9d /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 5.88.0 version bump (diff)
downloadgentoo-d7bc78ff65ef877ce9997658639253706db8bac0.tar.gz
gentoo-d7bc78ff65ef877ce9997658639253706db8bac0.tar.bz2
gentoo-d7bc78ff65ef877ce9997658639253706db8bac0.zip
kde-frameworks/kfilemetadata: 5.88.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.88.0.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 748982ffc726..3aa901a9a362 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.85.0.tar.xz 426336 BLAKE2B f68125f17afb6f3f9c65486670ad2eca8ad057927c30ad3f765d6551cf3cb1801512c9432c70f2e87a992e7ef8f81ef23908cfdcac0df5c466eb4a0e932e58ab SHA512 f531a1519ee3efc8b6973bf979ce2ee1380c9b425f06233267d007c1b79f6b7c2166e47212093ec8250f75dc9897dbb0d9b8b17ee4d999c487f10451a725ffd7
DIST kfilemetadata-5.87.0.tar.xz 426456 BLAKE2B e197bcd0d989d023eeb2a3b66247e742e1b2a7f4ac913ffb080361883d5ef0e2d292713631bad6f5ef514946525dd35d60a7d5435a3760849010916b75a1b36d SHA512 654f94da41284094dc70060b04076e61617a82843edc096bed7f4e9dc9b7c8786ba857daec66204b9c9e70d76de2de8955b9ef62e5601788e59a02ba3fe41979
+DIST kfilemetadata-5.88.0.tar.xz 426936 BLAKE2B 82e73bdc082adb57323421ded8b3782597084ec069f1a1e95418bd9b54af96a1a407a0852561f61ef874727715afa23d9fb3d9f1f78caf3dfac062f8314ba6ba SHA512 e65952754914ad3697c17fc7b5406235eeaa532a51828dd9016ca9b0009f3592e1c1ae575b6bbba046c00b2cc689290cdf61b7ef7626126500b3ec2358ccf0c4
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.88.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.88.0.ebuild
new file mode 100644
index 000000000000..b66b72669f85
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.88.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.15.2
+inherit ecm kde.org optfeature python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="epub exif ffmpeg kernel_linux 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= )
+ 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 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
+}