summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-06-17 04:06:31 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-06-17 04:06:31 +1000
commit3aeb2ab2e8ec5540dc6226edade0e41a9f873493 (patch)
tree2ef75eb4db388f368b2bc9e9164bc55106b1e57f /kde-frameworks/kfilemetadata
parentkde5.eclass: >=Plasma-5.7 depends on >=Frameworks-5.23 (diff)
downloadgentoo-3aeb2ab2e8ec5540dc6226edade0e41a9f873493.tar.gz
gentoo-3aeb2ab2e8ec5540dc6226edade0e41a9f873493.tar.bz2
gentoo-3aeb2ab2e8ec5540dc6226edade0e41a9f873493.zip
kde-frameworks: version bump 5.23.0
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-5.23.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 6e7320877183..f77c70562028 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.21.0.tar.xz 126140 SHA256 809e0edf6a2b4e84a394c1e69e5b374b72964d3fea84f66da5b370f6d5dfacca SHA512 0bcdd4cd924d7402383f1917e3e9c66efb97aa3dcca7717bb69c41a4b7f7272ba91eb0c9c95536d79b62f28746e867f0ccae75155cb0a125dcef4fa1f6060a67 WHIRLPOOL 59baf1834432b51097a58143c67de5b4d59fb988abde945dffdb67e66d22a06f9e4affa7225eff0acf844dc41586556fb2d8b5ea4f4c0679e3ba90e7ca295780
DIST kfilemetadata-5.22.0.tar.xz 131212 SHA256 cc8945e0a326574eefe3035d2f4c911f12e78ff33c1d3ee13369948d450eda5c SHA512 6bd4ef89c64528fa9d58d10313eaa3f31fcfd1280b2b47d105f9624261ff5d8321794d6824a7eb5e40a47ee3c005932ce5cef892093d99fd36c2d96360c3c355 WHIRLPOOL d208ac4acb934d225a01dac92c26293674c788bc3abd1481cc3b17b0667fc954431362e6c6068be08bc05cb4da45983c80dec1167ae6672e0263c9fbd8b16e32
+DIST kfilemetadata-5.23.0.tar.xz 131344 SHA256 fad84cbc477c36aa967a1f4facd7bfa6825346bdddae87b1fd9db64d9dc2688f SHA512 2291eb96fb4b2d569683c5da70ed4aa90df8995b572d83efaad5aba51e7aac0a050cefab6a7f606e16d6326ac0be0d43663c6d219336986fb493a0758a42cf11 WHIRLPOOL 93de030b6915e73a33d324b8edd3b46a3e9231b26db3a5c6a46f35c78a38d21477a71cbfc7a1f4245b6973f0059379e54e56b9d93101a0d7f358b59e0c238c81
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.23.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.23.0.ebuild
new file mode 100644
index 000000000000..41e5f957a71f
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.23.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils kde5
+
+DESCRIPTION="Library for extracting file metadata"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="epub exif ffmpeg libav pdf taglib"
+
+# TODO: mobi? ( $(add_plasma_dep kdegraphics-mobipocket) ) NOTE: not integrated upstream
+DEPEND="
+ $(add_frameworks_dep karchive)
+ $(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= )
+ )
+ pdf? ( app-text/poppler[qt5] )
+ taglib? ( media-libs/taglib )
+"
+RDEPEND="${DEPEND}"
+
+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 pdf PopplerQt5)
+ $(cmake-utils_use_find_package taglib Taglib)
+ )
+
+ 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
+}