summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-03-15 12:58:01 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-03-15 14:31:55 +0100
commit386a2b3b4aae0468fdce1a80683d2c76287a4d48 (patch)
treebc76153bb555db8f4e32c12072f66894d52d309a /kde-frameworks/kfilemetadata
parentsys-apps/coreutils: sh stable wrt bug #711616 (diff)
downloadgentoo-386a2b3b4aae0468fdce1a80683d2c76287a4d48.tar.gz
gentoo-386a2b3b4aae0468fdce1a80683d2c76287a4d48.tar.bz2
gentoo-386a2b3b4aae0468fdce1a80683d2c76287a4d48.zip
kde-frameworks: Add KDE Frameworks 5.68.0
Package-Manager: Portage-2.3.94, Repoman-2.3.21 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.68.0.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 1378e3a2bfae..3b509a6e0502 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1 +1,2 @@
DIST kfilemetadata-5.67.0.tar.xz 422184 BLAKE2B b1c66f91f48dabe25a6283a9af3a21164bb05e0d94fe9e463b7306c26b10347dc5835a707f3d9890759023a8f643dc03f6f572dcb1d14ff89c2baa55d49d0e82 SHA512 f15836611b86b93a055b62d4c7f08e35ee7d5d6fe07a7330dce5c251beea72e972c7ad3d4aec251f86d67704aeefed6037b3546a528f6c0653ac6185e86b604b
+DIST kfilemetadata-5.68.0.tar.xz 421712 BLAKE2B fddcd88c0e56e846128840df6f60f051728c667f6c8a7280ba53a601ba0e15d3c4541588c0612e09eeb72782269b226db59c9d2403397f61bafce36b12e0a047 SHA512 a8e10b45b6c2790f1f0e41ea8f0a474d6a6b4e6c6bc73d53d26887b24b06f7c95c1fc3a81fc9096759c8506e64fd30f6b7f822ea6dc238ea787b812ba685f8bf
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.68.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.68.0.ebuild
new file mode 100644
index 000000000000..e2571ceeeda9
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.68.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 ~ppc64 ~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
+}