diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-04-08 15:45:01 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-04-08 16:02:01 +0200 |
commit | 8d611eeca198ef3d2309278596a0eadb54f7d277 (patch) | |
tree | f19728bff67f037f63e4b5459631e6eac2608b08 /kde-frameworks | |
parent | kde-frameworks/kdoctools: 5.105.0 version bump (diff) | |
download | gentoo-8d611eeca198ef3d2309278596a0eadb54f7d277.tar.gz gentoo-8d611eeca198ef3d2309278596a0eadb54f7d277.tar.bz2 gentoo-8d611eeca198ef3d2309278596a0eadb54f7d277.zip |
kde-frameworks/kfilemetadata: 5.105.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.105.0.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index c9fc4d6d2c60..5d21314d429b 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.104.0.tar.xz 469760 BLAKE2B 4cd1d17cac69b5069b212d390d09dca92a6d9745c163b26f44f6fd96c1a85de0b1e5cf34806c82be814361c70971295efe530dd3ad81163a099ae24c4c5fcee5 SHA512 4724826d16e867cbd5fef0b766d86ca791926aff3f93187660691e3d2bf5634980220b6e1d75143805834aff8f137cbbb493bddb5583bc087ab740267f560960 +DIST kfilemetadata-5.105.0.tar.xz 469608 BLAKE2B a2baa33d31a562b87fc3977507a8a8c5ce3fdca62d008dae8f999ecfc1ed10efa911b113363ddfbcb70e23a7499a110fefef2acbe0fe4dd008bfcb637573a928 SHA512 9ff836a857b6a670a0cdac6080b4598715d2f9270ea3a90c587c93943cc72c8984a2d933daeb909971a93c74b0409af1ab46ab8c2070e3475f54bc7c110c8fab diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.105.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.105.0.ebuild new file mode 100644 index 000000000000..8cef200205be --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.105.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 +} |