summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-5.93.0.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 4557c0572154..ca44724eba12 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.90.0.tar.xz 429856 BLAKE2B eaf0ddc5f73224b5ca2cda87592ecc688bffaf764c791bcdb7292e2c4457e8b7aaa8efa174deaec88622f0ca5c69ec1405cd0ae69ce59b150758b04d2e94b546 SHA512 94b0dd8f6f82369623ac9d6d18e6ca3928bcb67806acf876ff86c694083e8ddb750ee838b9a27bd8550f2361667e42511a889c58891af7a1fd86add5b3922d0a
DIST kfilemetadata-5.92.0.tar.xz 430260 BLAKE2B d18d8a537cea3ccddb93a04f09cb63f6bd603a446d0e79c397b1dd34f6cb33661b89a62e9687579eab28567bdf92c0ef3baf252a16a0df350c01d0869895c6e4 SHA512 62eea78ae945344badd780223a929829dde759bcf515191f7cc0ab9c0cffc6510f599cf9b7a73cce3fcbeb0bb6476df9b97fdfc1744f27439d7f743b7879e12e
+DIST kfilemetadata-5.93.0.tar.xz 435732 BLAKE2B 042e6d2f66bb0fee2ae52537d3cf49a8b3ecfc17809f7df93579f7bc27b1c80fa938ed5181a6b60e7dbe081dd617426d0e13856ae5a3a0c66f41ff3e9a436118 SHA512 724469a0fd0bb42802c4005aea876ad1d9c6f9a114a489b20399830f43f3b6dd46ad535892941c0cd92cbf1e736921971bcd79266a9e6df7b09075d193879087
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.93.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.93.0.ebuild
new file mode 100644
index 000000000000..bd23a08176fe
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.93.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.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 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
+}