summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-03-13 09:52:45 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-03-13 20:21:51 +0100
commite9fea9cd761a59330b14fb47768ba46cf00b14c4 (patch)
tree8da02a793e762dbbbfa8d16157130aafc355de89 /kde-frameworks/kfilemetadata
parentprofiles: arm: Add kde-frameworks/kfilemetadata[mobi] to p.use.mask (diff)
downloadgentoo-e9fea9cd761a59330b14fb47768ba46cf00b14c4.tar.gz
gentoo-e9fea9cd761a59330b14fb47768ba46cf00b14c4.tar.bz2
gentoo-e9fea9cd761a59330b14fb47768ba46cf00b14c4.zip
kde-frameworks/kfilemetadata: 5.92.0 version bump
Bug: https://bugs.gentoo.org/835037 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.92.0.ebuild68
-rw-r--r--kde-frameworks/kfilemetadata/metadata.xml1
3 files changed, 70 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest
index bb83e646fd85..d0e3d337348e 100644
--- a/kde-frameworks/kfilemetadata/Manifest
+++ b/kde-frameworks/kfilemetadata/Manifest
@@ -1,2 +1,3 @@
DIST kfilemetadata-5.90.0.tar.xz 429856 BLAKE2B eaf0ddc5f73224b5ca2cda87592ecc688bffaf764c791bcdb7292e2c4457e8b7aaa8efa174deaec88622f0ca5c69ec1405cd0ae69ce59b150758b04d2e94b546 SHA512 94b0dd8f6f82369623ac9d6d18e6ca3928bcb67806acf876ff86c694083e8ddb750ee838b9a27bd8550f2361667e42511a889c58891af7a1fd86add5b3922d0a
DIST kfilemetadata-5.91.0.tar.xz 430336 BLAKE2B eb26f84ba09cad5e78b2c002e8b9d9530e0d2ea8a1b354c34b5898c5bdef1b799461ded9ede1ae1c86810e1e2a3d5015af7db650d34bdf791d36f024e200d8d5 SHA512 73a8c730f349bffd2db1aea5ffea65296d871f9fe7f7b4e506e7adf8b0573fd19fc9dc36decc52f0f78538d07f2fe2520c1bf87be16908f98be4bd68ecf7b9d5
+DIST kfilemetadata-5.92.0.tar.xz 430260 BLAKE2B d18d8a537cea3ccddb93a04f09cb63f6bd603a446d0e79c397b1dd34f6cb33661b89a62e9687579eab28567bdf92c0ef3baf252a16a0df350c01d0869895c6e4 SHA512 62eea78ae945344badd780223a929829dde759bcf515191f7cc0ab9c0cffc6510f599cf9b7a73cce3fcbeb0bb6476df9b97fdfc1744f27439d7f743b7879e12e
diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.92.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.92.0.ebuild
new file mode 100644
index 000000000000..bd23a08176fe
--- /dev/null
+++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.92.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..10} )
+PVCUT=$(ver_cut 1-2)
+QTMIN=5.15.2
+inherit ecm kde.org optfeature python-any-r1
+
+DESCRIPTION="Library for extracting file metadata"
+LICENSE="LGPL-2+"
+KEYWORDS="~amd64 ~arm ~arm64 ~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
+}
diff --git a/kde-frameworks/kfilemetadata/metadata.xml b/kde-frameworks/kfilemetadata/metadata.xml
index 52248a3fdbbc..b2dffe740182 100644
--- a/kde-frameworks/kfilemetadata/metadata.xml
+++ b/kde-frameworks/kfilemetadata/metadata.xml
@@ -10,6 +10,7 @@
</upstream>
<use>
<flag name="epub">Enable support for reading EPUB ebook metadata</flag>
+ <flag name="mobi">Enable mobipocket support via <pkg>kde-apps/kdegraphics-mobipocket</pkg></flag>
<flag name="office">Enable support for reading ODF and OOXML metadata</flag>
</use>
<slots>