summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-06-07 20:45:16 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-06-12 17:28:11 +0200
commitf71c2fdb372047613ae7b90444cde1214b33b62b (patch)
tree175ea69870148d5d19e06e588e910e37a99770e3 /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 6.3.0 version bump (diff)
downloadgentoo-f71c2fdb372047613ae7b90444cde1214b33b62b.tar.gz
gentoo-f71c2fdb372047613ae7b90444cde1214b33b62b.tar.bz2
gentoo-f71c2fdb372047613ae7b90444cde1214b33b62b.zip
kde-frameworks/kfilemetadata: 6.3.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-6.3.0.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index 9f0e167489da..84c79a4fbe44 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.2.0.tar.xz 594624 BLAKE2B 70ae3c4a34261089f42fcf5e7140b0f30d316a255cbbe54bb454cb68f3d87a89ecd8f0bc3598cc962944d84bfa6995823feb1998c2240bdfe89ddca979913950 SHA512 d51165011fd5818e8c5fc326c900ae95fb1dc3b6821a000cbbf4f8bc5b7130e87196cde67a1c1147c710b8fae97209b659b426fa81c872f1c5936cacc3fddfdb
+DIST kfilemetadata-6.3.0.tar.xz 594672 BLAKE2B 79f4a7c8cc62b4ae973b3e322f94f37f430a14a3e138772dc2c15dd9c3a16a7bb86ae8e5ac42a37a593861334ee4f3e79686daba76f839619b43211fb98a9a96 SHA512 9f508c028952829403e9778044ea7a1642d95d108498163bad441106ad9170294ccb43f3225835cf92ef841313273c70badf033eb17f4f02d15882cb91f8a580
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-6.3.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-6.3.0.ebuild
new file mode 100644
index 000000000000..0135c867ceee
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-6.3.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
+}