summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-11-14 15:26:41 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-11-14 18:44:21 +0100
commitea01fbcb4f4bafc8b0d6c9839db04b8b0b35a84d (patch)
treebf6d4d23488b2fb0b02bb46afc61d7a3adef7797 /kde-frameworks
parentkde-frameworks/kdoctools: 5.76.0 version bump (diff)
downloadgentoo-ea01fbcb4f4bafc8b0d6c9839db04b8b0b35a84d.tar.gz
gentoo-ea01fbcb4f4bafc8b0d6c9839db04b8b0b35a84d.tar.bz2
gentoo-ea01fbcb4f4bafc8b0d6c9839db04b8b0b35a84d.zip
kde-frameworks/kfilemetadata: 5.76.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-5.76.0.ebuild67
2 files changed, 68 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index fcf875940145..f78818b9adce 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.74.0.tar.xz 422312 BLAKE2B 9da6b6573692ed512d4831afea3e84f49e989e9c2b3d6b40a43b3ac42ad87b31eec0f4d5b9ac95574a04bc0e73c093bc65530656364394b0e941b7b3fe5f8605 SHA512 7b07d051f1bd339af6e24450c7ad325685d2ba1e4eda2adb14a25b91536f80d3a045d77501b143a41aa54012b043aed3a324f7c24fef60e72e63f42830034010
DIST kfilemetadata-5.75.0.tar.xz 422544 BLAKE2B 7aa5229532724eb987453f13faf05596925d712bb0976389fa9c5993ca3a0c3a6543cd5c43016ceea465e7e6cd266b7a649f2409fde140b91da0f8779fba91e2 SHA512 a2ef890021c5aae87b322a6d897ee6bbb0d62852542e5c680bb22f5a20a67525b0fe485f33f2ed6fae585645dc3def375bf28783667e597036c43d97247b4bcb
+DIST kfilemetadata-5.76.0.tar.xz 423944 BLAKE2B d442f2c167008323c8a91fd1468edabd196f934091d801017f96ab950816e241cab5837e2af360d991e9ea80892450592bb198341db0ffa378ba492de9ad5282 SHA512 fe1cb33d3fd65f082602220b10b9885f0fa885a912c86456856be6c275b56541a483f6e43b5edd2c266822b55b238704f71464960c9ec9a82aa7c23fd0e3f667
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.76.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.76.0.ebuild
new file mode 100644
index 000000000000..123aea3e9bf9
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.76.0.ebuild
@@ -0,0 +1,67 @@
+# 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.15.1
+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"
+
+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() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "Optional dependencies:"
+ optfeature "Microsoft Word/Powerpoint file indexing" app-text/catdoc
+ optfeature "Microsoft Excel file indexing" dev-libs/libxls
+ fi
+ ecm_pkg_postinst
+}