summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-05-14 13:11:08 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-05-14 13:31:21 +0200
commitfd4a1d6da05750b9d07ebb59607134c2546e6943 (patch)
tree841710109bdadfefa918eddb58a7b9b1308aa3bd /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 5.94.0 version bump (diff)
downloadgentoo-fd4a1d6da05750b9d07ebb59607134c2546e6943.tar.gz
gentoo-fd4a1d6da05750b9d07ebb59607134c2546e6943.tar.bz2
gentoo-fd4a1d6da05750b9d07ebb59607134c2546e6943.zip
kde-frameworks/kfilemetadata: 5.94.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.94.0.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 07c376bfec43..97c76b258150 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.92.0.tar.xz 430260 BLAKE2B d18d8a537cea3ccddb93a04f09cb63f6bd603a446d0e79c397b1dd34f6cb33661b89a62e9687579eab28567bdf92c0ef3baf252a16a0df350c01d0869895c6e4 SHA512 62eea78ae945344badd780223a929829dde759bcf515191f7cc0ab9c0cffc6510f599cf9b7a73cce3fcbeb0bb6476df9b97fdfc1744f27439d7f743b7879e12e
DIST kfilemetadata-5.93.0.tar.xz 435732 BLAKE2B 042e6d2f66bb0fee2ae52537d3cf49a8b3ecfc17809f7df93579f7bc27b1c80fa938ed5181a6b60e7dbe081dd617426d0e13856ae5a3a0c66f41ff3e9a436118 SHA512 724469a0fd0bb42802c4005aea876ad1d9c6f9a114a489b20399830f43f3b6dd46ad535892941c0cd92cbf1e736921971bcd79266a9e6df7b09075d193879087
+DIST kfilemetadata-5.94.0.tar.xz 435792 BLAKE2B 331518d9e6162ceee20a3218ba13875f5450eb1c29596a380b71f9feac4b999a951edbdad69bbb7697916a32bcd152ffae4140d3e4fe12ef8aa8cf09ea04b1bd SHA512 76b357c47791d352dfc34036041df6be204031260d95597967410836887f0a2e80dd1aab250e092848ceda674ab164e8e98aa811593e971a27a7aace8d2be28f
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.94.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.94.0.ebuild
new file mode 100644
index 000000000000..fc3f2da9df8a
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.94.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..10} )
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.15.3
+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 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
+}