diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 12:20:27 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 14:52:02 +0100 |
commit | a9472230654c0a3cf3e791b2acee760698bd78f4 (patch) | |
tree | 6397f44cdfcdb59e12c8b2e0c0e7ed62fbd912d7 /kde-frameworks/kfilemetadata | |
parent | kde-frameworks/kdoctools: 6.0.0 version bump (diff) | |
download | gentoo-a9472230654c0a3cf3e791b2acee760698bd78f4.tar.gz gentoo-a9472230654c0a3cf3e791b2acee760698bd78f4.tar.bz2 gentoo-a9472230654c0a3cf3e791b2acee760698bd78f4.zip |
kde-frameworks/kfilemetadata: 6.0.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-6.0.0.ebuild | 65 |
2 files changed, 66 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index 27ebb6aed9ff..3708a703d069 100644 --- a/kde-frameworks/kfilemetadata/Manifest +++ b/kde-frameworks/kfilemetadata/Manifest @@ -1,3 +1,4 @@ DIST kfilemetadata-5.113.0.tar.xz 526884 BLAKE2B 3b4d1ad31f7ca8fb07ea0b41524d6280be1ba7954d4eeefcb9a41e945a37a6ccecde7d8eece38653548cb1dfd6b41ed8bfaa501ac0b4ca60b3439148e233878d SHA512 95790940e1d04849ed25046da38ccd62f6929108c205ec8bff3bbb912c03dd2e28ce2ecf5e544320aa73482a6ea5146d2bc71638e98b36b037f0d77ab3abc46d DIST kfilemetadata-5.115.0.tar.xz 526912 BLAKE2B a6c80153d451e242f5e16ddbed9cccb3b6f64700f1081de954aeac64f814ef74b1ea4a9960be1e0f83d7217f67034b57b25cd8ea7cd1df9a6f717a607a8fb8f0 SHA512 db7fc7e79abf358ee0def12601de140e8f5d62d939f5580b7940a492780eea8d5b4eb2f679ed15ab02134277d15353d24511a6e41260751811af52398ee037e4 DIST kfilemetadata-5.249.0.tar.xz 559524 BLAKE2B 892e3e900e7d6ff77fd4be80b33e354dea8df8d86f3a5a58dc559e8aa454878e2aff426a1a6f5eec3a1a641cc27dcaa09ffd29fdbc991aaadabaf4dee8697cec SHA512 7a8ea4c92b210f43e5501769763a24825be854687acc3d48a50df7aebe44bf269c1ea8ed857f989617c7966dbafe7d49dd299cbd2f964d17cd23c0b93e478287 +DIST kfilemetadata-6.0.0.tar.xz 559888 BLAKE2B fe3dffedbe01e7f7fa72d3c2081fa5be12b459d2ad804dda0028c6dd55842cc75dd0653864658d0c7549d0c2a61546ac1058ed03eee8d07c7ef03a54eaa83814 SHA512 05b14c21913d7cca7087bc2ecfc70d81045448728bbc171deada4f1176421603f395945f3c4a3f1075eedd4debc3acb9a104f42a398c21327150f84d264cedd2 diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-6.0.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-6.0.0.ebuild new file mode 100644 index 000000000000..63a33aad4531 --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-6.0.0.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +PVCUT=$(ver_cut 1-2) +QTMIN=6.6.2 +inherit ecm frameworks.kde.org optfeature python-any-r1 + +DESCRIPTION="Library for extracting file metadata" + +LICENSE="LGPL-2+" +KEYWORDS="~amd64" +IUSE="epub exif ffmpeg mobi pdf taglib" + +RESTRICT="test" + +RDEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui,xml] + =kde-frameworks/karchive-${PVCUT}*:6 + =kde-frameworks/kcoreaddons-${PVCUT}*:6 + =kde-frameworks/ki18n-${PVCUT}*:6 + epub? ( app-text/ebook-tools ) + exif? ( media-gfx/exiv2:= ) + ffmpeg? ( media-video/ffmpeg:0= ) + mobi? ( kde-apps/kdegraphics-mobipocket:6 ) + pdf? ( app-text/poppler[qt6(-)] ) + taglib? ( media-libs/taglib:= ) +" +DEPEND="${RDEPEND} + kernel_linux? ( sys-apps/attr ) +" +BDEPEND="test? ( ${PYTHON_DEPS} )" + +CMAKE_SKIP_TESTS=( + # FIXME: bug 644650, fails on tmpfs (but not for everyone) + usermetadatawritertest +) + +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 mobi QMobipocket) + $(cmake_use_find_package pdf Poppler) + $(cmake_use_find_package taglib Taglib) + ) + + ecm_src_configure +} + +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 +} |