summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-09 12:40:24 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-09 16:27:09 +0200
commitfee3b8f73321f750fffac9eb0f4cd6a53136ef85 (patch)
tree0c6801dfa0969f6718a0241f53b2478b3624e9ab /kde-frameworks/kfilemetadata
parentkde-frameworks/kdoctools: 5.96.0 version bump (diff)
downloadgentoo-fee3b8f73321f750fffac9eb0f4cd6a53136ef85.tar.gz
gentoo-fee3b8f73321f750fffac9eb0f4cd6a53136ef85.tar.bz2
gentoo-fee3b8f73321f750fffac9eb0f4cd6a53136ef85.zip
kde-frameworks/kfilemetadata: 5.96.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.96.0.ebuild68
2 files changed, 69 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index f7dd9d1fd646..0a962192fb80 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.92.0.tar.xz 430260 BLAKE2B d18d8a537cea3ccddb93a04f09cb63f6bd603a446d0e79c397b1dd34f6cb33661b89a62e9687579eab28567bdf92c0ef3baf252a16a0df350c01d0869895c6e4 SHA512 62eea78ae945344badd780223a929829dde759bcf515191f7cc0ab9c0cffc6510f599cf9b7a73cce3fcbeb0bb6476df9b97fdfc1744f27439d7f743b7879e12e
DIST kfilemetadata-5.95.0.tar.xz 435840 BLAKE2B 181d37cb2625b73b91f4ec3cd61c6fdb24e0fc02de651e0a6609e513a2862ed72cc8756078619aa4a542af38e9e9f6e1fab8231ac9ecbbbc5f424f12a909282b SHA512 ceedf522546f9dca4de8e772a0ded8a11eeae2771a72690634fd36a3c68288af461fcf1ab901c3d54c2363f9d6b364e8139a71f030634aff3ae17794195f6e0c
+DIST kfilemetadata-5.96.0.tar.xz 437292 BLAKE2B e0c34856128ad8b78cde050d97a594ae0e0a841ae7a02f7946730cbe808de163e55a3ac2e31e1c0cace9b2726d0cb630b3c230a895a9e8620ba28c89f3bc73bb SHA512 c0331f50799b17828fc5f34223be7e2d4f27b9347709115a3f6bda5c56324ead3d70021089a7078c4d4104f7d0d8fc5b04fb22cca7e30bf682d08a0f5bd4fafe
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.96.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.96.0.ebuild
new file mode 100644
index 000000000000..8542f300ebaf
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.96.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.15.4
+inherit ecm 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 office pdf taglib"
+
+RESTRICT="test"
+
+BDEPEND="
+ test? ( ${PYTHON_DEPS} )
+"
+RDEPEND="
+ >=dev-qt/qtxml-${QTMIN}: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 )
+ office? ( =kde-frameworks/karchive-${PVCUT}*:5 )
+ pdf? ( app-text/poppler[qt5] )
+ taglib? ( media-libs/taglib )
+"
+DEPEND="${RDEPEND}
+ kernel_linux? ( sys-apps/attr )
+"
+
+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 office KF5Archive)
+ $(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
+}