summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2017-09-09 13:29:10 +0200
committerJohannes Huber <johu@gentoo.org>2017-09-09 13:29:51 +0200
commit449b70581d8bd53212434c5c5b883099333502de (patch)
treecbfac5508f05db31d1c2b685f4e98d89c5a3ddde /kde-frameworks/kfilemetadata
parentx11-misc/compton: Remove desktop-misc maintainership (reverts initial commit). (diff)
downloadgentoo-449b70581d8bd53212434c5c5b883099333502de.tar.gz
gentoo-449b70581d8bd53212434c5c5b883099333502de.tar.bz2
gentoo-449b70581d8bd53212434c5c5b883099333502de.zip
kde-frameworks: Version bump KDE Frameworks 5.38.0
Package-Manager: Portage-2.3.8, 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.38.0.ebuild61
2 files changed, 62 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 8b58f8b1ec0b..f7f506725464 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.34.0.tar.xz 216148 SHA256 05a61b13247c78d701508801a959c404473113679de2e15cc15135e4977974e7 SHA512 25de4a9c6d45760a74c84ffe36f7062e2d56c2037535e826943d23ced6b41ed52ab1e9077b567e02ab055a4084dbd3f5549df781b60365cdd51b4132fd7c830d WHIRLPOOL e020fe3c71e110cb08b9f70826f22250879ffbe466d7c81009cfe9b1b1ec0852ad80f1e044eea80d9032dcdabea83596b31b82e1cf50815c21a46e7a060b87e0
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
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.38.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.38.0.ebuild
new file mode 100644
index 000000000000..b2924d5f880b
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.38.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
+}