summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-11 14:55:51 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-11 17:36:52 +0200
commitc7e885453da7c563edef30597db2894a2d32f7ab (patch)
tree532e2c48abfd3b95916b4a19b667cbef3421a770 /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 5.72.0 version bump (diff)
downloadgentoo-c7e885453da7c563edef30597db2894a2d32f7ab.tar.gz
gentoo-c7e885453da7c563edef30597db2894a2d32f7ab.tar.bz2
gentoo-c7e885453da7c563edef30597db2894a2d32f7ab.zip
kde-frameworks/kfilemetadata: 5.72.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.72.0.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 69aa884686c2..bc359a444401 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.70.0.tar.xz 422812 BLAKE2B f55aab0be0009d0d190c6625ec2ce3a8ec297c62570ecb2724e2ddd4c5fb69397ffd3b2e822cf6301e8af18375de0f29015e61c93618b220c0fda86d1d293791 SHA512 51576765c334e885ef55bc6373821583f8ad1fe81cd6e7aaaa21c4ede9cae27fd162e5bbb29dd553e1cbc045a3396dd8d48d66171ce7dc82d4976d9c698df706
DIST kfilemetadata-5.71.0.tar.xz 425156 BLAKE2B 1332693db05f5fc284026b8ae8c59145478b6c6adbb894c060217a61cc9c59f624e43bc2c36fd7a404961e19833f821b755444de645449b2719209123f887f5e SHA512 745a124ea48218d1be7b207393c045b6c2c6fdf063925340ed434593663c8fa28e45b622f52a12edf0d0bba7258449e7505d0b9d3ab8318bf969c7d5ce8decb1
+DIST kfilemetadata-5.72.0.tar.xz 425896 BLAKE2B 764909ce437d5cb6ed1f6c6fd4ec2ab3f4ab4a7f2ec6718436418396ed546fd53c867e8108af0ad5bd36edfcad5b7e39ef22631bc4f4868e653c241a57ab7ae1 SHA512 6f1c8dad61428b32c3aaabdc6f178fec07c96fd831c9e4b2be92130258241ea6d51c4ff6c0f3e42d22bd29b1b8fbf742e12725e6ec4229b9e59ad18f68e7ce7d
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.72.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.72.0.ebuild
new file mode 100644
index 000000000000..c47539a481ce
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.72.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.14.2
+inherit ecm kde.org python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE="epub exif ffmpeg kernel_linux office pdf taglib"
+
+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 )
+"
+
+RESTRICT+=" test"
+
+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() {
+ ecm_pkg_postinst
+
+ if ! has_version app-text/catdoc || ! has_version dev-libs/libxls; then
+ elog "To get additional features, optional runtime dependencies may be installed:"
+ elog "app-text/catdoc - indexing of Microsoft Word or Powerpoint files"
+ elog "dev-libs/libxls - indexing of Microsoft Excel files"
+ fi
+}