diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-14 08:42:16 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-06-14 10:25:04 +0200 |
commit | d313d2f4a7e0e3feadf5969428098789237eb33d (patch) | |
tree | 6dcd96a50d728cefe0d51a5f244a8be87149feaf /kde-frameworks | |
parent | kde-frameworks/kdoctools: 5.83.0 version bump (diff) | |
download | gentoo-d313d2f4a7e0e3feadf5969428098789237eb33d.tar.gz gentoo-d313d2f4a7e0e3feadf5969428098789237eb33d.tar.bz2 gentoo-d313d2f4a7e0e3feadf5969428098789237eb33d.zip |
kde-frameworks/kfilemetadata: 5.83.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r-- | kde-frameworks/kfilemetadata/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kfilemetadata/kfilemetadata-5.83.0.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index 416bd3366319..0d7a3a74ae6f 100644 --- a/kde-frameworks/kfilemetadata/Manifest +++ b/kde-frameworks/kfilemetadata/Manifest @@ -1 +1,2 @@ DIST kfilemetadata-5.82.0.tar.xz 425540 BLAKE2B d9102aaca3c49fb81bdbef517ba1a6040d0653ce1fd517ce61854b221b8abffbc49c69ad38b98cfc47877f02d7885b9560834cc55b5e03ae2d05eaee51906a12 SHA512 7bd70ae0c2d49d2a9d312dd79dc9268862efefeb48042d0fd8a8e11daf75cc67b6dbeb28fcee7c3f87517476f6eabbd3d4e9a1c61440f62cee0ef93c165cfae5 +DIST kfilemetadata-5.83.0.tar.xz 425576 BLAKE2B 23154cc3a3d22754cf908f5b42bb2731fb1db638baec8753c5fb429ea8a8d8a9cca1474882b0ece1af75cf8b57b557c1a7ce18ecbe99a06486ea5131be9eaadf SHA512 257d4db283f8708f134c69ed835953c7b8177f18d2f8b8d682b0b51250802fbeee43d1603c3e302fb7c62e384d29ba69f6652807244a344d16fbafd50a535ff1 diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.83.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.83.0.ebuild new file mode 100644 index 000000000000..d1c43269f1fa --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.83.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) +PVCUT=$(ver_cut 1-2) +QTMIN=5.15.2 +inherit ecm kde.org optfeature python-any-r1 + +DESCRIPTION="Library for extracting file metadata" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="epub exif ffmpeg kernel_linux office pdf taglib" + +RESTRICT+=" test" + +BDEPEND=" + test? ( ${PYTHON_DEPS} ) +" +RDEPEND=" + >=dev-qt/qtxml-${QTMIN}:5 + =kde-frameworks/kcoreaddons-${PVCUT}*:5 + =kde-frameworks/ki18n-${PVCUT}*:5 + epub? ( app-text/ebook-tools ) + exif? ( media-gfx/exiv2:= ) + ffmpeg? ( 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 ) +" + +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() { + if [[ -z "${REPLACING_VERSIONS}" ]]; then + optfeature "Microsoft Word/Powerpoint file indexing" app-text/catdoc + optfeature "Microsoft Excel file indexing" dev-libs/libxls + fi + ecm_pkg_postinst +} |