diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-08 12:07:19 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-01-08 22:07:49 +0100 |
commit | 635624dc465ceac515e3191af6cc59c4a2a07739 (patch) | |
tree | 39c3d05aa908915ae605b55e4de0e85764358d7f /kde-frameworks/kfilemetadata | |
parent | kde-frameworks/kdoctools: 5.90.0 version bump (diff) | |
download | gentoo-635624dc465ceac515e3191af6cc59c4a2a07739.tar.gz gentoo-635624dc465ceac515e3191af6cc59c4a2a07739.tar.bz2 gentoo-635624dc465ceac515e3191af6cc59c4a2a07739.zip |
kde-frameworks/kfilemetadata: 5.90.0 version bump
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.90.0.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index 8b8fe56093c2..526eac96f588 100644 --- a/kde-frameworks/kfilemetadata/Manifest +++ b/kde-frameworks/kfilemetadata/Manifest @@ -1,2 +1,3 @@ DIST kfilemetadata-5.88.0.tar.xz 426936 BLAKE2B 82e73bdc082adb57323421ded8b3782597084ec069f1a1e95418bd9b54af96a1a407a0852561f61ef874727715afa23d9fb3d9f1f78caf3dfac062f8314ba6ba SHA512 e65952754914ad3697c17fc7b5406235eeaa532a51828dd9016ca9b0009f3592e1c1ae575b6bbba046c00b2cc689290cdf61b7ef7626126500b3ec2358ccf0c4 DIST kfilemetadata-5.89.0.tar.xz 429788 BLAKE2B 6062857fd7a1fc2291e443c91aa81b8a3fbc5943d6e8c1ec22b3cbf32c1fac91aae0746623f5506b55ab552b2e8521dba545bbdbf7ef17aa6a179a0d0a8415b2 SHA512 f509f06ecda3a13598bc92992e2ac507685f1ac0e415803f06af8ad6a5c9636b1a5e37cc947570e71e4745858d691100f8fe9e5858578559cda7cdeb89c14b8a +DIST kfilemetadata-5.90.0.tar.xz 429856 BLAKE2B eaf0ddc5f73224b5ca2cda87592ecc688bffaf764c791bcdb7292e2c4457e8b7aaa8efa174deaec88622f0ca5c69ec1405cd0ae69ce59b150758b04d2e94b546 SHA512 94b0dd8f6f82369623ac9d6d18e6ca3928bcb67806acf876ff86c694083e8ddb750ee838b9a27bd8550f2361667e42511a889c58891af7a1fd86add5b3922d0a diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.90.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.90.0.ebuild new file mode 100644 index 000000000000..23c7123a9bd4 --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.90.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..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 ~riscv ~x86" +IUSE="epub exif ffmpeg 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 +} |