summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-11 14:46:10 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-11 14:57:23 +0200
commit1ffda5f279e26331ddbd374df5f88923ab22e870 (patch)
treee573b1e938ce104809d9cd1a7a5557e331d2af7a /kde-frameworks
parentkde-frameworks/kdoctools: 6.7.0 version bump (diff)
downloadgentoo-1ffda5f279e26331ddbd374df5f88923ab22e870.tar.gz
gentoo-1ffda5f279e26331ddbd374df5f88923ab22e870.tar.bz2
gentoo-1ffda5f279e26331ddbd374df5f88923ab22e870.zip
kde-frameworks/kfilemetadata: 6.7.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-6.7.0.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 92d44b630cb1..9687812457bf 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.6.0.tar.xz 594772 BLAKE2B 5470fbf2ddde0800684cbb56c9e05aafb026ee4430c6b2e2976d605d7cbdeea06f1646a2c0ac5a0259d7d6d1033c2540f9d7f233193d7ac22b73caf31b0a873e SHA512 43f65aea00372c8a5564460f1c21c16caf6e8fad85b513c61120cfd03f8818324c1da856b8713181ba0b821ea30039718b40eef903ef8f05e142a2abdc1347ab
+DIST kfilemetadata-6.7.0.tar.xz 594612 BLAKE2B a6a022d8fe3424759cf1522d8eb74336a106639a4a65e86dab637753fb0d6eeecfc3197bd831725f3105ba1f7c6750c42b3442588a180ea119c4f47bf71bd527 SHA512 87262420e8358bb7a932ca9f0cfa99574c2beeba3c6277b0e6ff85bd0fd82366445b1c1224735fbf736965127658a8800522378bcc112a90270029f120c9198a
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-6.7.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-6.7.0.ebuild
new file mode 100644
index 000000000000..5c5b4bd42bad
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-6.7.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
+}