diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-15 12:12:17 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-12-15 13:58:34 +0100 |
commit | b5f0806e00fadca2d0c9819e9ab46b0d4c2da58f (patch) | |
tree | 651d11303c1a4fdb7aae0dd382ce043ffb840404 /kde-frameworks/kfilemetadata | |
parent | app-emulation/qemu: bump up to 4.2.0, bug #702036 (diff) | |
download | gentoo-b5f0806e00fadca2d0c9819e9ab46b0d4c2da58f.tar.gz gentoo-b5f0806e00fadca2d0c9819e9ab46b0d4c2da58f.tar.bz2 gentoo-b5f0806e00fadca2d0c9819e9ab46b0d4c2da58f.zip |
kde-frameworks: Add KDE Frameworks 5.65
Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r-- | kde-frameworks/kfilemetadata/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kfilemetadata/kfilemetadata-5.65.0.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index c4afca075c81..eada1e5db8b8 100644 --- a/kde-frameworks/kfilemetadata/Manifest +++ b/kde-frameworks/kfilemetadata/Manifest @@ -1 +1,2 @@ DIST kfilemetadata-5.64.0.tar.xz 420636 BLAKE2B 082615af35121ef341726af6ae963964b877bac6b854430541ae76f3c6f35b0bbd406c8d55a71895a9d88fa657d10948824a2efad2b3944e2ca97a212e8bc590 SHA512 3125cd4e316bb5dc07de87f14db07f53f7dbfc967f6f65cf78fa9e7aeaace78b3a487bd74226306a886f68ebc470e5d759d9f377523d9cc56d794982b627b2f6 +DIST kfilemetadata-5.65.0.tar.xz 421144 BLAKE2B b65eb2b943e0f9191d25cf08c70f84e26f853a091fb64cdf4507596b6f649e3ab007ccb96451ea675e7b3111bc9385754a051082c7b8713cbcadfca2817afaea SHA512 1160630c6117337f7aab3e7b74e56678b093abd72bf891f14ed75a63a36783f18e597d8a076a588fd471ff81c30cc68c0a32efe154882c6d24591380807e5571 diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.65.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.65.0.ebuild new file mode 100644 index 000000000000..43db4fbe99b5 --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.65.0.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2019 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 +} |