summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-05-09 01:42:07 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-05-09 14:09:38 +0200
commitb25fe05970f1d96a2a393a67dc9d87d37734f383 (patch)
tree073fe3180be31bce22fe8e3a973172fcc450526d /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 5.82.0 version bump (diff)
downloadgentoo-b25fe05970f1d96a2a393a67dc9d87d37734f383.tar.gz
gentoo-b25fe05970f1d96a2a393a67dc9d87d37734f383.tar.bz2
gentoo-b25fe05970f1d96a2a393a67dc9d87d37734f383.zip
kde-frameworks/kfilemetadata: 5.82.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.82.0.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 6da12efc132a..4f20967db774 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.80.0.tar.xz 425304 BLAKE2B ac759d5643243639aacd2be0aa3ef4f35c3e1d6f4ae993a4868e3369445a8a3a597e6266f8a75ae83c489261bae26a2dc8eec622595fd197052cebf3e2896b49 SHA512 968bdc8e367d257c8352f7154721bea3c2102aac7f2e238384f44fcb4922aa40035352067a273f0473f8b119b813a771f04e7f494f6f955d2d988c202dcc9ae9
DIST kfilemetadata-5.81.0.tar.xz 425408 BLAKE2B b2ed1d2c3414e37e553520f42fdd967796a331806c95b37c0ba21c51dc9efc4f74beaac8f2679a441336e7f37007f283e2d83d9a1b6c0579c17baaaecc29007d SHA512 c9eb40aa2c2ff70d5c9a6fc6463633f4c9f16675b787d1cd19c5b4d81acf195bcd8570f50acacf12318317989f88c15847222b1370c5b933794e20e54fff1b55
+DIST kfilemetadata-5.82.0.tar.xz 425540 BLAKE2B d9102aaca3c49fb81bdbef517ba1a6040d0653ce1fd517ce61854b221b8abffbc49c69ad38b98cfc47877f02d7885b9560834cc55b5e03ae2d05eaee51906a12 SHA512 7bd70ae0c2d49d2a9d312dd79dc9268862efefeb48042d0fd8a8e11daf75cc67b6dbeb28fcee7c3f87517476f6eabbd3d4e9a1c61440f62cee0ef93c165cfae5
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.82.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.82.0.ebuild
new file mode 100644
index 000000000000..d1c43269f1fa
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.82.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..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 ~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
+}