summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-10-14 17:05:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-10-14 17:06:15 +0200
commit66b09c22973a2fa441b3a4dc7d71874a8a40204a (patch)
tree2bf2d57a052b373529fd4653fbcbbe51c3095d80 /kde-frameworks/kfilemetadata
parentmedia-libs/oyranos: Drop old (diff)
downloadgentoo-66b09c22973a2fa441b3a4dc7d71874a8a40204a.tar.gz
gentoo-66b09c22973a2fa441b3a4dc7d71874a8a40204a.tar.bz2
gentoo-66b09c22973a2fa441b3a4dc7d71874a8a40204a.zip
kde-frameworks: Add KDE Frameworks 5.39.0
Package-Manager: Portage-2.3.11, Repoman-2.3.3
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-5.39.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 81cfec8a7b6..452585c1e2a 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.37.0.tar.xz 218252 SHA256 17e12d5e8d033e638ec727639ed3ebb0af3cfc71fd632167304c99d8aea9ab9e SHA512 78143c82b858f53e63e35e11e144ccb474574885bd772ff27131c0568d5033618f8ff75844b02e3e3acbffd5d8901300f26f5b4e9d5556f2400f3666183b2899 WHIRLPOOL 8ec5c54cac68c2309aa998c5f8a1bcc027c374dd63c6877074c00c339d9ed14019635dac06c0972285dae9f89af5350ca460b36bf487525be139e997a6ad4927
DIST kfilemetadata-5.38.0.tar.xz 219736 SHA256 95ce8b047895d4b1efd34e841035147e282f03996e1d33d79f09a6d469ca25a0 SHA512 d008e39f58b9c4d4209372722bb5463c6140c49deee280a28841060676f5785294ee7b2bbe1c657dd283bbd1f3edf94a2fa08f46fcd7a91a98f2e8733b1349df WHIRLPOOL f33bcae3bd57f04d6b5b352ab5eefcfaa9014eb083eb646b442a3d361aed15b2259f54fccc4b08acf90b0b0441d0528107e3e0a5ad4f2a86e69097da69505d91
+DIST kfilemetadata-5.39.0.tar.xz 219784 SHA256 0feadb5850557be4d372dcf792c83176276616fc839965c23ed87b7525bc9dd5 SHA512 df3e17fd19e64af2e413ff0e0405654e52e245185762a1d7bed8dec63b2a567e23c1f4340d946de8a076264d62fddae8184d70dfb001147e52e003bb4a416391 WHIRLPOOL d89fb1b169c6a119591d9f089cc9ca8d530385ac3820cb1f7a82662540a796483b378be8ad3f5df984503cec40bf4b96bc617237d80b638ce24275e0df7efc5e
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.39.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.39.0.ebuild
new file mode 100644
index 00000000000..b2924d5f880
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.39.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+inherit eutils kde5 python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="epub exif ffmpeg 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:= )
+ !libav? ( media-video/ffmpeg:0= )
+ )
+ office? ( $(add_frameworks_dep karchive) )
+ pdf? ( app-text/poppler[qt5] )
+ taglib? ( media-libs/taglib )
+ !taglib? ( $(add_qt_dep qtmultimedia) )
+"
+DEPEND="${RDEPEND}
+ kernel_linux? ( sys-apps/attr )
+ test? ( ${PYTHON_DEPS} )
+"
+
+REQUIRED_USE="test? ( taglib )"
+
+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)
+ $(cmake-utils_use_find_package !taglib Qt5Multimedia)
+ )
+
+ kde5_src_configure
+}
+
+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:"
+ optfeature "indexing of Microsoft Word or Powerpoint files" app-text/catdoc
+ optfeature "indexing of Microsoft Excel files" dev-libs/libxls
+ fi
+}