summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-05-14 09:46:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-05-14 09:46:29 +0200
commit2355a47e981c69ddc1b22e545b2483dfcb537bd0 (patch)
treecb6b6ecefa2a89f7da64df78fb2364ddcede4bab /kde-frameworks/kfilemetadata
parentdev-ruby/uuidtools: add back ~x86 (diff)
downloadgentoo-2355a47e981c69ddc1b22e545b2483dfcb537bd0.tar.gz
gentoo-2355a47e981c69ddc1b22e545b2483dfcb537bd0.tar.bz2
gentoo-2355a47e981c69ddc1b22e545b2483dfcb537bd0.zip
kde-frameworks: Add KDE Frameworks 5.34
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-5.34.0.ebuild50
-rw-r--r--kde-frameworks/kfilemetadata/metadata.xml3
3 files changed, 53 insertions, 1 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 1f8bff6bbc4..02e70eedc7e 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.29.0.tar.xz 135184 SHA256 821df076d1fce4ac7dac067703e3c2ab885676a68e34f36140b10e58ec7b91c2 SHA512 14937b56647f5dc1f924c8d05110c787d5aacbe07fed84936d7fe32d0ebc7c7d3de46f79521e5fcb5c1eef8cb07dbf759579605ef6cfee94ab0373def1281f58 WHIRLPOOL bbcb6613ece829af0a102e99cb83af710129044bea9b1113d34a88e9a3b533c3aa72103da78f64a9f611f1593a14c4d5b5cc949c5333be98545faf655d7cc1e8
DIST kfilemetadata-5.33.0.tar.xz 216420 SHA256 20cff74ff6acc1b58bb823bda39ce07aaea546d004423499a50fd13a110c7cad SHA512 c58d46d885ced9281c6b11d607dffd4f6a5c5cc26a842dfaa2c2627c839a7cb2e2ce3c3a01b364fd270dee67df445d64c1bae15415a354205ccb8bab0b9e34a3 WHIRLPOOL eaa7f113f73ac3a746df16c3d6cc6c0e136e664e751071f4cce146be3982150a8a8aca75f20cabac5b3ba228438de1696d8fa17d186c977f105f333c72d5e29a
+DIST kfilemetadata-5.34.0.tar.xz 216148 SHA256 05a61b13247c78d701508801a959c404473113679de2e15cc15135e4977974e7 SHA512 25de4a9c6d45760a74c84ffe36f7062e2d56c2037535e826943d23ced6b41ed52ab1e9077b567e02ab055a4084dbd3f5549df781b60365cdd51b4132fd7c830d WHIRLPOOL e020fe3c71e110cb08b9f70826f22250879ffbe466d7c81009cfe9b1b1ec0852ad80f1e044eea80d9032dcdabea83596b31b82e1cf50815c21a46e7a060b87e0
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.34.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.34.0.ebuild
new file mode 100644
index 00000000000..4d6180f9ec1
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.34.0.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils kde5
+
+DESCRIPTION="Library for extracting file metadata"
+KEYWORDS="~amd64 ~arm ~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 )
+"
+DEPEND="${RDEPEND}
+ kernel_linux? ( sys-apps/attr )
+"
+
+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
+}
+
+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
+}
diff --git a/kde-frameworks/kfilemetadata/metadata.xml b/kde-frameworks/kfilemetadata/metadata.xml
index be261df8b6b..c3a96764b1a 100644
--- a/kde-frameworks/kfilemetadata/metadata.xml
+++ b/kde-frameworks/kfilemetadata/metadata.xml
@@ -6,6 +6,7 @@
<name>Gentoo KDE Project</name>
</maintainer>
<use>
- <flag name="epub">Adds support for reading EPUB ebook metadata</flag>
+ <flag name="epub">Enable support for reading EPUB ebook metadata</flag>
+ <flag name="office">Enable support for reading ODF and OOXML metadata</flag>
</use>
</pkgmetadata>