summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-09-13 12:41:03 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-09-13 15:19:32 +0200
commit479751719b9f124c68c43b66aa050575627b7616 (patch)
treeac25ebd8e2ad7985900606d9a596acc375b7b3d4 /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 5.98.0 version bump (diff)
downloadgentoo-479751719b9f124c68c43b66aa050575627b7616.tar.gz
gentoo-479751719b9f124c68c43b66aa050575627b7616.tar.bz2
gentoo-479751719b9f124c68c43b66aa050575627b7616.zip
kde-frameworks/kfilemetadata: 5.98.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.98.0.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index eae5abbe507a..6669c7fb8908 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.97.0.tar.xz 438012 BLAKE2B bdf953ebcde54ce4289e81372a720840a52533702091d990be324145c96fb4bffbb9f9fafe73991ecc240aece815d1304d2d4736e5d97e56d8ae6f0d7ef676da SHA512 497a4744606f09fb30958ceebd0a287f24b0928b4ec1a5db901aea1e69fb00f3a9886c2134d2c8cf5ca0fd5549ad8b4981964a742c39caee492d243ae5eae920
+DIST kfilemetadata-5.98.0.tar.xz 437964 BLAKE2B c7958dc738b78443cbbce9abb7fadedfd89de076b4f4fd38d98e951c7220310b6027eb7c0077010bdf951fb711e535942598de6f41d24a448970bc8f705abbb3 SHA512 49e6606ee11c971a612b33647d025f0ecaf567c61e4b71651b6461350e329c0970035aa253f82fd5d47390f5cfcf9fbc930e6a4dcbd3c493bcd0b3be0dbdf167
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.98.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.98.0.ebuild
new file mode 100644
index 000000000000..9181d233b99b
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.98.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
+}