summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-11 12:50:43 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-11 13:26:17 +0100
commite8116aa13928bb4db16c9bc98858434ad92b6ec7 (patch)
treee4cc968f946b1e06a9cba2e8c260ce8637263270 /kde-frameworks/kfilemetadata
parentgnome-base/gnome-keyring: remove old (diff)
downloadgentoo-e8116aa13928bb4db16c9bc98858434ad92b6ec7.tar.gz
gentoo-e8116aa13928bb4db16c9bc98858434ad92b6ec7.tar.bz2
gentoo-e8116aa13928bb4db16c9bc98858434ad92b6ec7.zip
kde-frameworks: Add KDE Frameworks 5.66.0
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-5.66.0.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index eada1e5db8b8..c2db9a2247de 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.64.0.tar.xz 420636 BLAKE2B 082615af35121ef341726af6ae963964b877bac6b854430541ae76f3c6f35b0bbd406c8d55a71895a9d88fa657d10948824a2efad2b3944e2ca97a212e8bc590 SHA512 3125cd4e316bb5dc07de87f14db07f53f7dbfc967f6f65cf78fa9e7aeaace78b3a487bd74226306a886f68ebc470e5d759d9f377523d9cc56d794982b627b2f6
DIST kfilemetadata-5.65.0.tar.xz 421144 BLAKE2B b65eb2b943e0f9191d25cf08c70f84e26f853a091fb64cdf4507596b6f649e3ab007ccb96451ea675e7b3111bc9385754a051082c7b8713cbcadfca2817afaea SHA512 1160630c6117337f7aab3e7b74e56678b093abd72bf891f14ed75a63a36783f18e597d8a076a588fd471ff81c30cc68c0a32efe154882c6d24591380807e5571
+DIST kfilemetadata-5.66.0.tar.xz 421892 BLAKE2B 55a06aba11ed582deb610cf1ac07daccb1070242ea4f295555739ad090170465ad96f8cf5a9ae2fce80d13cb1e300783a7649db2a80943c22800a7ee7e087d6f SHA512 6672aabad03b77d35a3f21ef344ef7e41683188b1ec9acda4756e8b6ebd9681d689b8a5249277eed7bf7996d0aeee3c94f5dd89cb693e41561483d02a819d8b5
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.66.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.66.0.ebuild
new file mode 100644
index 000000000000..03d64b9f1c27
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.66.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.12.3
+inherit ecm kde.org python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="epub exif ffmpeg kernel_linux libav office pdf taglib"
+
+BDEPEND="
+ test? ( ${PYTHON_DEPS} )
+"
+RDEPEND="
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5
+ =kde-frameworks/ki18n-${PVCUT}*:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ epub? ( app-text/ebook-tools )
+ exif? ( media-gfx/exiv2:= )
+ ffmpeg? (
+ libav? ( >=media-video/libav-12.2:= )
+ !libav? ( media-video/ffmpeg:0= )
+ )
+ office? ( =kde-frameworks/karchive-${PVCUT}*:5 )
+ pdf? ( app-text/poppler[qt5] )
+ taglib? ( media-libs/taglib )
+"
+DEPEND="${RDEPEND}
+ kernel_linux? ( sys-apps/attr )
+"
+
+RESTRICT+=" test"
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+ ecm_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake_use_find_package epub EPub)
+ $(cmake_use_find_package exif LibExiv2)
+ $(cmake_use_find_package ffmpeg FFmpeg)
+ $(cmake_use_find_package office KF5Archive)
+ $(cmake_use_find_package pdf Poppler)
+ $(cmake_use_find_package taglib Taglib)
+ )
+
+ ecm_src_configure
+}
+
+src_test() {
+ # FIXME: bug 644650, fails on tmpfs (but not for everyone)
+ local myctestargs=( -E "(usermetadatawritertest)" )
+ ecm_src_test
+}
+
+pkg_postinst() {
+ ecm_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:"
+ elog "app-text/catdoc - indexing of Microsoft Word or Powerpoint files"
+ elog "dev-libs/libxls - indexing of Microsoft Excel files"
+ fi
+}