summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-11-10 14:15:21 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-11-10 14:29:24 +0100
commitb58a4eed24e3ca606144d7c6c9befd4840e71b99 (patch)
treef0f20a5d61644cf34953b44d420c5bc748766d35 /kde-frameworks/kfilemetadata
parentsys-cluster/slurm: Fix init stuff (diff)
downloadgentoo-b58a4eed24e3ca606144d7c6c9befd4840e71b99.tar.gz
gentoo-b58a4eed24e3ca606144d7c6c9befd4840e71b99.tar.bz2
gentoo-b58a4eed24e3ca606144d7c6c9befd4840e71b99.zip
kde-frameworks: Add KDE Frameworks 5.52.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-5.52.0.ebuild63
2 files changed, 64 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 3d10e060c65c..b0035b3357e9 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.50.0.tar.xz 258444 BLAKE2B 47653d094a6a543294284d9a07119bdd7d3815b90590351748afa6635a8f628773f570da33d1364bd00af09f2e66d82ca4abbd09d8120c3cdfe920cd4b8f9de3 SHA512 9e6d86da7e50e4dc432fc29af366572cc3504301686a38f8f46d44be0041bcd72fc0c8515906995d8ba4a6fb7217767efb9eb151d2578e1104c5a1cb8db9cc4a
DIST kfilemetadata-5.51.0.tar.xz 260492 BLAKE2B ed1d029b059dce5d609d9de30664dbbac2d9ab7c1eeae2135b8c69f60263ab9ec7543f2fb22f297d8197998780e84a45f50f9f14676a7edd8565e7ff9bdaf4e6 SHA512 30e93f239ace615af5722156f5b09de86a96a053fd40edf44ce109fb22e22a429795498392044095354e44184be9ac8a64a7be4a3e78c60640f4fb8e9b78d82a
+DIST kfilemetadata-5.52.0.tar.xz 292140 BLAKE2B 73c7bfc34747fc155269a5fc0bf9ddc78d8c29234a34a292eaee8af94e2b4bb6aed819d01f759bf64c0c598356a5be17070f471160c51ebd3be25751dd119f3f SHA512 270c0b9ad16f7a598fe9d0741d29e1def875931de85e9dbf6744f9b040408b762bd7f845172ecf62923ca6a07b551963469fe21a811cfcf341e91ccf1b7c35cc
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.52.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.52.0.ebuild
new file mode 100644
index 000000000000..7bbb0cfdd63a
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.52.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5,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"
+
+RDEPEND="
+ $(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 )
+ test? ( ${PYTHON_DEPS} )
+"
+
+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 Exiv2)
+ $(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
+}