diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-07-08 19:01:16 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-07-08 23:00:10 +0200 |
commit | 951f15c1ffcfbae37866fe37f26a967b10b0665e (patch) | |
tree | 147bad14f83ece03c67aee9e73ee00b865d0a395 /kde-frameworks/kfilemetadata | |
parent | profiles: add ftp.gnu.org/gnu/ as a backup for mirror:/gnu/ (diff) | |
download | gentoo-951f15c1ffcfbae37866fe37f26a967b10b0665e.tar.gz gentoo-951f15c1ffcfbae37866fe37f26a967b10b0665e.tar.bz2 gentoo-951f15c1ffcfbae37866fe37f26a967b10b0665e.zip |
kde-frameworks: Add KDE Frameworks 5.36.0
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r-- | kde-frameworks/kfilemetadata/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kfilemetadata/kfilemetadata-5.36.0.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index 08caca469efc..0174b8cd28d1 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.35.0.tar.xz 218124 SHA256 8e7c0e93469edd66bcc45db90c6116fd342796cbd70492eb3eac836d20b06a2a SHA512 a51d1e62bbfe11a24426b6a40d32323039156b57ad90eaa15f3d1ba1f70158163c42884b5c5cf9ee646f3df8315f6dd00c67b914f2f8ec28a5495f63cd1247ed WHIRLPOOL 03329b480173fee099bce4201117ba9ee420222b113c9accb16ae0e0aa645da977305550663efcb09ed204f61d3e8b374932ebeb10d3fecc10c3dd109c6c2034 +DIST kfilemetadata-5.36.0.tar.xz 218296 SHA256 750c1f408bad265ee10bfcd60eab88988d8bb6b3b38fd59ebad1899c683b269d SHA512 1d90af90b5f3cc735214183d101a3b2aeab178edac36acadfdea34146e50e34f5870290139a0f3e6057c883ed38f006667f9eaaf279b78903199db8d1c1cd0eb WHIRLPOOL 60a96e4487b1b370682d0b1b6307734f73ea101c43097eb1fe9570615437524a879b1cc4fa180be562ae6e838693d085ef33ac508a16a27b625e317170df5eff diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.36.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.36.0.ebuild new file mode 100644 index 000000000000..4bc63f403e9c --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.36.0.ebuild @@ -0,0 +1,52 @@ +# 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 ) + !taglib? ( $(add_qt_dep qtmultimedia) ) +" +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) + $(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 +} |