summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-10-10 21:19:48 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-10-12 23:13:14 +0200
commita7030fcd38880ac327f749bb528f65a0a4ee7ae7 (patch)
tree08ecff369172b6779cc7b6295ff2f1a069b73859 /kde-frameworks/kfilemetadata
parentapp-office/kraft: Accept kde-frameworks/kcontacts (diff)
downloadgentoo-a7030fcd38880ac327f749bb528f65a0a4ee7ae7.tar.gz
gentoo-a7030fcd38880ac327f749bb528f65a0a4ee7ae7.tar.bz2
gentoo-a7030fcd38880ac327f749bb528f65a0a4ee7ae7.zip
kde-frameworks: Add KDE Frameworks 5.63.0
Package-Manager: Portage-2.3.76, Repoman-2.3.17 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.63.0.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index bf5344a0ce41..af9c952c9433 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.62.0.tar.xz 419880 BLAKE2B cbb870285135061b319c696955f480bf26ad687dd78da04b50bf2930298416bd8bb5d65f489c6442a71db94267dd3d08e2675de5c6a0e075a513f9839766ed27 SHA512 9f2ea25d6084be367013092c2d8cf263a0708be64ce0f6c66fef9e13bb89208f06591b5e57c7d78177ec3457f810ec0e4aecb5f52410158f0ebec0c493a425c8
+DIST kfilemetadata-5.63.0.tar.xz 420436 BLAKE2B eefcf1a27c2524bd6e217371e496bf01287517ac5a5ec392231908cf5512b2712fb5a62402260d570cfac4ced1f1c1f2ca5006d3ae607eb4bba60fa1e2119745 SHA512 68416901f69f06d6d81763d318465a8c17c3fac7c1b4fc86a51da8c68c0116f4e46d5fd8e0d44eef249701b99839e65b5de6b4bb400823a502bfcc9cadae8135
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.63.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.63.0.ebuild
new file mode 100644
index 000000000000..b4bafae2cdea
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.63.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_{6,7}} )
+inherit kde5 python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="epub exif ffmpeg kernel_linux libav office pdf taglib"
+
+BDEPEND="
+ test? ( ${PYTHON_DEPS} )
+"
+RDEPEND="
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_qt_dep qtxml)
+ epub? ( app-text/ebook-tools )
+ exif? ( media-gfx/exiv2:= )
+ ffmpeg? (
+ libav? ( >=media-video/libav-12.2:= )
+ !libav? ( media-video/ffmpeg:0= )
+ )
+ office? ( $(add_frameworks_dep karchive) )
+ 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
+ kde5_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)
+ )
+
+ kde5_src_configure
+}
+
+src_test() {
+ # FIXME: bug 644650, fails on tmpfs (but not for everyone)
+ local myctestargs=( -E "(usermetadatawritertest)" )
+ kde5_src_test
+}
+
+pkg_postinst() {
+ kde5_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
+}