summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-05-19 21:01:30 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-05-19 21:24:47 +0200
commit9fabd8222c67bbf6d6c0093c6b38a0392f3326b6 (patch)
treeb9f4d3829b3858b912aed3b742218206890077fa /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 5.116.0 version bump (diff)
downloadgentoo-9fabd8222c67bbf6d6c0093c6b38a0392f3326b6.tar.gz
gentoo-9fabd8222c67bbf6d6c0093c6b38a0392f3326b6.tar.bz2
gentoo-9fabd8222c67bbf6d6c0093c6b38a0392f3326b6.zip
kde-frameworks/kfilemetadata: 5.116.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.116.0.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index a822479cca73..cc80bb36b459 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-5.116.0.tar.xz 527164 BLAKE2B 9562f6e4d135cc0686fe12c4748198e94ea5d10dc0f52ad72c83cdb33d9a3ef04efe885bd1af94405eedf05fe36e1f20eadd449d1d1228e92b74878db963f75a SHA512 1c5d264ad2bc123ba0d85882461009efc10c268441e33f82810823d1e2c6fb30209336542b4e2c1eabb96b53cc9184fc3982c27922872a9b92cac38bafe2da0e
DIST kfilemetadata-6.2.0.tar.xz 594624 BLAKE2B 70ae3c4a34261089f42fcf5e7140b0f30d316a255cbbe54bb454cb68f3d87a89ecd8f0bc3598cc962944d84bfa6995823feb1998c2240bdfe89ddca979913950 SHA512 d51165011fd5818e8c5fc326c900ae95fb1dc3b6821a000cbbf4f8bc5b7130e87196cde67a1c1147c710b8fae97209b659b426fa81c872f1c5936cacc3fddfdb
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.116.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.116.0.ebuild
new file mode 100644
index 000000000000..f1d967315d81
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.116.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=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 ~ppc64 ~riscv ~x86"
+IUSE="epub exif ffmpeg mobi pdf taglib"
+
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=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} )"
+
+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
+}