diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-09-13 16:15:48 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-09-14 05:22:10 +0200 |
commit | be1eede70468d1b8688e8b0eddd9e2d64125a4ac (patch) | |
tree | 48e893635b1d7681743c2d2f9047e40463a52195 /kde-frameworks | |
parent | kde-frameworks/kdoctools: 6.6.0 version bump (diff) | |
download | gentoo-be1eede70468d1b8688e8b0eddd9e2d64125a4ac.tar.gz gentoo-be1eede70468d1b8688e8b0eddd9e2d64125a4ac.tar.bz2 gentoo-be1eede70468d1b8688e8b0eddd9e2d64125a4ac.zip |
kde-frameworks/kfilemetadata: 6.6.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-6.6.0.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index 654e1d820b64..d2a0e332f963 100644 --- a/kde-frameworks/kfilemetadata/Manifest +++ b/kde-frameworks/kfilemetadata/Manifest @@ -1,2 +1,3 @@ DIST kfilemetadata-5.116.0.tar.xz 527164 BLAKE2B 9562f6e4d135cc0686fe12c4748198e94ea5d10dc0f52ad72c83cdb33d9a3ef04efe885bd1af94405eedf05fe36e1f20eadd449d1d1228e92b74878db963f75a SHA512 1c5d264ad2bc123ba0d85882461009efc10c268441e33f82810823d1e2c6fb30209336542b4e2c1eabb96b53cc9184fc3982c27922872a9b92cac38bafe2da0e DIST kfilemetadata-6.5.0.tar.xz 594652 BLAKE2B a495a408c48fd8ec0f75d9239c0c037c2afde2fbe7a8baaa0b1b84c293cbb3c1d2ab3c41c8abffc024f704a54c135e7c17f82d94285a2816730cdf0d9d974582 SHA512 83417b815a062a7ff8600015e4b71784dbb2ec5e6a194d265e802b9e472cdf2ed1051f40bb5164985dc9bb19d0154639d258c3b1e93cea01157b476b9d9305f9 +DIST kfilemetadata-6.6.0.tar.xz 594772 BLAKE2B 5470fbf2ddde0800684cbb56c9e05aafb026ee4430c6b2e2976d605d7cbdeea06f1646a2c0ac5a0259d7d6d1033c2540f9d7f233193d7ac22b73caf31b0a873e SHA512 43f65aea00372c8a5564460f1c21c16caf6e8fad85b513c61120cfd03f8818324c1da856b8713181ba0b821ea30039718b40eef903ef8f05e142a2abdc1347ab diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-6.6.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-6.6.0.ebuild new file mode 100644 index 000000000000..5c5b4bd42bad --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-6.6.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +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 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="epub exif ffmpeg mobi pdf taglib" + +RESTRICT="test" + +RDEPEND=" + >=dev-qt/qtbase-${QTMIN}:6[gui,xml] + =kde-frameworks/karchive-${PVCUT}*:6 + =kde-frameworks/kcodecs-${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 QMobipocket6) + $(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 +} |