summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-06-12 20:49:22 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-06-12 20:49:22 +0200
commit40be27c1a70a5a91aed40b9ba72ffada8f181455 (patch)
tree8ebe11f07b05fabc128a918faf00bd0a2e2ab403 /kde-frameworks/kfilemetadata
parentxfce-base/garcon: Add missing desc for gtk2 flag (diff)
downloadgentoo-40be27c1a70a5a91aed40b9ba72ffada8f181455.tar.gz
gentoo-40be27c1a70a5a91aed40b9ba72ffada8f181455.tar.bz2
gentoo-40be27c1a70a5a91aed40b9ba72ffada8f181455.zip
kde-frameworks: Add KDE Frameworks 5.35.0
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.35.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 041b02abcdb..08caca469ef 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1 +1,2 @@
DIST kfilemetadata-5.34.0.tar.xz 216148 SHA256 05a61b13247c78d701508801a959c404473113679de2e15cc15135e4977974e7 SHA512 25de4a9c6d45760a74c84ffe36f7062e2d56c2037535e826943d23ced6b41ed52ab1e9077b567e02ab055a4084dbd3f5549df781b60365cdd51b4132fd7c830d WHIRLPOOL e020fe3c71e110cb08b9f70826f22250879ffbe466d7c81009cfe9b1b1ec0852ad80f1e044eea80d9032dcdabea83596b31b82e1cf50815c21a46e7a060b87e0
+DIST kfilemetadata-5.35.0.tar.xz 218124 SHA256 8e7c0e93469edd66bcc45db90c6116fd342796cbd70492eb3eac836d20b06a2a SHA512 a51d1e62bbfe11a24426b6a40d32323039156b57ad90eaa15f3d1ba1f70158163c42884b5c5cf9ee646f3df8315f6dd00c67b914f2f8ec28a5495f63cd1247ed WHIRLPOOL 03329b480173fee099bce4201117ba9ee420222b113c9accb16ae0e0aa645da977305550663efcb09ed204f61d3e8b374932ebeb10d3fecc10c3dd109c6c2034
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.35.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.35.0.ebuild
new file mode 100644
index 00000000000..4d6180f9ec1
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.35.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
+}