diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-04-14 21:27:32 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-04-14 22:01:11 +0200 |
commit | 5d137a807ad0b9187041d118c298e396d03d9779 (patch) | |
tree | 3e3ee9193d6c9fa2d0620f783d077854715ba50c /kde-frameworks/kfilemetadata | |
parent | kde-frameworks/kdoctools: 6.1.0 version bump (diff) | |
download | gentoo-5d137a807ad0b9187041d118c298e396d03d9779.tar.gz gentoo-5d137a807ad0b9187041d118c298e396d03d9779.tar.bz2 gentoo-5d137a807ad0b9187041d118c298e396d03d9779.zip |
kde-frameworks/kfilemetadata: 6.1.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.1.0.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index 57a91eb3de43..f17182fc4b97 100644 --- a/kde-frameworks/kfilemetadata/Manifest +++ b/kde-frameworks/kfilemetadata/Manifest @@ -1,2 +1,3 @@ DIST kfilemetadata-5.115.0.tar.xz 526912 BLAKE2B a6c80153d451e242f5e16ddbed9cccb3b6f64700f1081de954aeac64f814ef74b1ea4a9960be1e0f83d7217f67034b57b25cd8ea7cd1df9a6f717a607a8fb8f0 SHA512 db7fc7e79abf358ee0def12601de140e8f5d62d939f5580b7940a492780eea8d5b4eb2f679ed15ab02134277d15353d24511a6e41260751811af52398ee037e4 DIST kfilemetadata-6.0.0.tar.xz 559888 BLAKE2B fe3dffedbe01e7f7fa72d3c2081fa5be12b459d2ad804dda0028c6dd55842cc75dd0653864658d0c7549d0c2a61546ac1058ed03eee8d07c7ef03a54eaa83814 SHA512 05b14c21913d7cca7087bc2ecfc70d81045448728bbc171deada4f1176421603f395945f3c4a3f1075eedd4debc3acb9a104f42a398c21327150f84d264cedd2 +DIST kfilemetadata-6.1.0.tar.xz 592036 BLAKE2B ea53949e8818ca9c83cabdc51018206b9908615ea830be326553745167d95a9df0ee1bccf3b30f7b7b87eeaf3b4bb901a3abe157414ca2c08d211025a1fcf6d8 SHA512 afeee8f47c202906d12a48153f325dc694e929d634ec785d6bf1db36c23dca913c3e0d4cd39947b1f4cf6aa62b5f3fa4e543590ec81b736e666335e62182dbd2 diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-6.1.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-6.1.0.ebuild new file mode 100644 index 000000000000..0135c867ceee --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-6.1.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..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/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 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 +} |