summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-10 19:43:39 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-10 22:30:21 +0100
commit20de7eb6efa5c734f2d09e5d9d74dc54a4dec075 (patch)
tree9b9ee1de2e1f7de589b6309673591645abe4a665 /kde-frameworks/kfilemetadata
parentkde.org.eclass: Standard HOMEPAGE for kde-plasma and kde-frameworks (diff)
downloadgentoo-20de7eb6efa5c734f2d09e5d9d74dc54a4dec075.tar.gz
gentoo-20de7eb6efa5c734f2d09e5d9d74dc54a4dec075.tar.bz2
gentoo-20de7eb6efa5c734f2d09e5d9d74dc54a4dec075.zip
kde-frameworks: Add KDE Frameworks 5.64.0
Package-Manager: Portage-2.3.79, Repoman-2.3.18 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.64.0.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 984cd2d8e16a..161bd3d4864f 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.60.0.tar.xz 415240 BLAKE2B ce65cf1c9743a2077c1548e47e64f8e1a11daf071c99b3ebb4568639d68a7d5aca70f00fc93fff3003e9491143098c3e91667008b6976f66aab5ed333466fac2 SHA512 e9ed29e3c1f0d03ec99ca3da1b7128c3ec75db7165ccf8d722457817e7feae94056ec210e43872830034e583fc38844d30a63abf2ca7078e1daa98fe6ea00f3a
DIST kfilemetadata-5.63.0.tar.xz 420436 BLAKE2B eefcf1a27c2524bd6e217371e496bf01287517ac5a5ec392231908cf5512b2712fb5a62402260d570cfac4ced1f1c1f2ca5006d3ae607eb4bba60fa1e2119745 SHA512 68416901f69f06d6d81763d318465a8c17c3fac7c1b4fc86a51da8c68c0116f4e46d5fd8e0d44eef249701b99839e65b5de6b4bb400823a502bfcc9cadae8135
+DIST kfilemetadata-5.64.0.tar.xz 420636 BLAKE2B 082615af35121ef341726af6ae963964b877bac6b854430541ae76f3c6f35b0bbd406c8d55a71895a9d88fa657d10948824a2efad2b3944e2ca97a212e8bc590 SHA512 3125cd4e316bb5dc07de87f14db07f53f7dbfc967f6f65cf78fa9e7aeaace78b3a487bd74226306a886f68ebc470e5d759d9f377523d9cc56d794982b627b2f6
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.64.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.64.0.ebuild
new file mode 100644
index 000000000000..dd5fdab75c34
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.64.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.12.3
+inherit ecm kde.org python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="epub exif ffmpeg kernel_linux libav office pdf taglib"
+
+BDEPEND="
+ test? ( ${PYTHON_DEPS} )
+"
+RDEPEND="
+ >=kde-frameworks/kcoreaddons-${PVCUT}:5
+ >=kde-frameworks/ki18n-${PVCUT}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ epub? ( app-text/ebook-tools )
+ exif? ( media-gfx/exiv2:= )
+ ffmpeg? (
+ libav? ( >=media-video/libav-12.2:= )
+ !libav? ( 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-utils_use_find_package epub EPub)
+ $(cmake-utils_use_find_package exif LibExiv2)
+ $(cmake-utils_use_find_package ffmpeg FFmpeg)
+ $(cmake-utils_use_find_package office KF5Archive)
+ $(cmake-utils_use_find_package pdf Poppler)
+ $(cmake-utils_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
+}