diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-12 10:59:28 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-02-12 12:09:47 +0100 |
commit | c082d827bdd20e372ba36aa62206ea836bdaf787 (patch) | |
tree | 26fae81bc56525ab42185ae72e435dd390dd0803 /kde-frameworks | |
parent | kde-frameworks/kdoctools: 5.103.0 version bump (diff) | |
download | gentoo-c082d827bdd20e372ba36aa62206ea836bdaf787.tar.gz gentoo-c082d827bdd20e372ba36aa62206ea836bdaf787.tar.bz2 gentoo-c082d827bdd20e372ba36aa62206ea836bdaf787.zip |
kde-frameworks/kfilemetadata: 5.103.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r-- | kde-frameworks/kfilemetadata/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kfilemetadata/kfilemetadata-5.103.0.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index 01a9ad04ece5..a3c6e5020596 100644 --- a/kde-frameworks/kfilemetadata/Manifest +++ b/kde-frameworks/kfilemetadata/Manifest @@ -1,2 +1,3 @@ DIST kfilemetadata-5.102.0.tar.xz 469548 BLAKE2B 4b63c93e94e37a58e8d415c2fce7c83758abdcba91102eccb042a0ba80e6424f075abe0c1814341a4c13a65bdff227ef2eaea42d2b58bdb1da7477baa477b0c0 SHA512 2be85d8f80ecbc5b1337c621d3807cd40b5dac010ce73e97b248cbcb0eeef7e258a1086c7de5809c15ccf6d81bc4956f1e5d415388b995b94b751ad570177bdd +DIST kfilemetadata-5.103.0.tar.xz 469548 BLAKE2B e7cb865ac78bf532f25da9edcfc5abb4a68813dbed156e0e1e61d7b263a12ae55cc47b0e51ae94d187ed1f434fbf5f5665f294d419f95d70d1f7f856b02cb0e3 SHA512 653a38f41fbfe913dd943693fe4b4b675d52bc74607503cd878077bb505755e93fec8681b6de27eb1c5a9b75d3fa1c6ed7e0d86fa2027844115f0a8d97e0ab04 DIST kfilemetadata-5.99.0.tar.xz 439532 BLAKE2B 251617854bb7aa1b2a916e7f35651f29219066c7ce9659b60c93c29ab03156d3dda4d3536e4916f2a00db614c1e23f8ee4cc5de90f461593f2568e9cc20461fc SHA512 1499c9158fe6e1bf59f5150350b8f698e78881ddb251994ad6e6be0e471ffa1b4c092abc154e8a440eaa14a1f081ca411815800a3541a45bdd7d0b6767942db3 diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.103.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.103.0.ebuild new file mode 100644 index 000000000000..8cef200205be --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.103.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_{9..11} ) +PVCUT=$(ver_cut 1-2) +QTMIN=5.15.5 +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/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 +} |