summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2023-08-16 10:51:14 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2023-08-18 10:25:28 +0200
commit8ae53cf7daa50b8da60882f830f3e30d6b26c33a (patch)
treed8419dfeb7d32e4fcb06e3de8cf61848d0b4654f /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 5.109.0 version bump (diff)
downloadgentoo-8ae53cf7daa50b8da60882f830f3e30d6b26c33a.tar.gz
gentoo-8ae53cf7daa50b8da60882f830f3e30d6b26c33a.tar.bz2
gentoo-8ae53cf7daa50b8da60882f830f3e30d6b26c33a.zip
kde-frameworks/kfilemetadata: 5.109.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r--kde-frameworks/kfilemetadata/Manifest1
-rw-r--r--kde-frameworks/kfilemetadata/kfilemetadata-5.109.0.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index cb69e952065a..da7c03fd1e59 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1 +1,2 @@
DIST kfilemetadata-5.108.0.tar.xz 471476 BLAKE2B 9a01e44632a0884cc83224877a60c4c2ea8ac5ba880719a9544c3df075027bae1b697ac04754b62337053fc9e12f374f15a4f5d7fe72229e305eb3925961d703 SHA512 f1a8d20ae91809f736d0355a3fafb9be0e77482b8c7fd6a5ff66f0f6937f4ad61c26841d9bcee2574fdb55f6dcfc1670ec26fef70f3f2a0613ba6a30a7826489
+DIST kfilemetadata-5.109.0.tar.xz 473052 BLAKE2B 236b5db16ba2c778c3d4421b56828e4026cb1c972b92d47c13911eb58ad2dae273dece479a0cf7a248ba808a013a8c5202e88bd79464d6a43fc67e431defd5b7 SHA512 cf40bca7f4f7944e97846c237541251acee70c5279e67be7c20ca50db71b426c2e4a8a0a0501bb0fcc8af1ec7ccedee2acbe38cb4525a0b38dedfe0e517c8b22
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.109.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.109.0.ebuild
new file mode 100644
index 000000000000..2ac9e0793a19
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.109.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 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=5.15.9
+inherit ecm frameworks.kde.org optfeature python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv"
+IUSE="epub exif ffmpeg mobi pdf taglib"
+
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-qt/qtxml-${QTMIN}:5
+ =kde-frameworks/karchive-${PVCUT}*: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= )
+ mobi? ( kde-apps/kdegraphics-mobipocket:5 )
+ pdf? ( app-text/poppler[qt5] )
+ taglib? ( media-libs/taglib )
+"
+DEPEND="${RDEPEND}
+ kernel_linux? ( sys-apps/attr )
+"
+BDEPEND="test? ( ${PYTHON_DEPS} )"
+
+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
+}
+
+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
+}