diff options
Diffstat (limited to 'kde-frameworks/kfilemetadata')
-rw-r--r-- | kde-frameworks/kfilemetadata/Manifest | 1 | ||||
-rw-r--r-- | kde-frameworks/kfilemetadata/kfilemetadata-5.81.0.ebuild | 66 |
2 files changed, 67 insertions, 0 deletions
diff --git a/kde-frameworks/kfilemetadata/Manifest b/kde-frameworks/kfilemetadata/Manifest index 652bbf3844d3..b14c6f228e35 100644 --- a/kde-frameworks/kfilemetadata/Manifest +++ b/kde-frameworks/kfilemetadata/Manifest @@ -1,2 +1,3 @@ DIST kfilemetadata-5.77.0.tar.xz 424032 BLAKE2B 02f59b3e9e45d0aa80b1287e0f43c824cc673b316ae7ad302bcd9d710057ab22b2124f084b7f2af1cdc2c8a432574ae18ac6e307a79617308f7d8a1388926e86 SHA512 20cd237fcb630dbda5994e28f678593b512c686e3dff937a84c228c29c26de9a8ae5f23c9a370eeafe5c137f49f832a2467d8fc7466317e38d13b5a85ec4aeb3 DIST kfilemetadata-5.80.0.tar.xz 425304 BLAKE2B ac759d5643243639aacd2be0aa3ef4f35c3e1d6f4ae993a4868e3369445a8a3a597e6266f8a75ae83c489261bae26a2dc8eec622595fd197052cebf3e2896b49 SHA512 968bdc8e367d257c8352f7154721bea3c2102aac7f2e238384f44fcb4922aa40035352067a273f0473f8b119b813a771f04e7f494f6f955d2d988c202dcc9ae9 +DIST kfilemetadata-5.81.0.tar.xz 425408 BLAKE2B b2ed1d2c3414e37e553520f42fdd967796a331806c95b37c0ba21c51dc9efc4f74beaac8f2679a441336e7f37007f283e2d83d9a1b6c0579c17baaaecc29007d SHA512 c9eb40aa2c2ff70d5c9a6fc6463633f4c9f16675b787d1cd19c5b4d81acf195bcd8570f50acacf12318317989f88c15847222b1370c5b933794e20e54fff1b55 diff --git a/kde-frameworks/kfilemetadata/kfilemetadata-5.81.0.ebuild b/kde-frameworks/kfilemetadata/kfilemetadata-5.81.0.ebuild new file mode 100644 index 000000000000..562ec5f453ed --- /dev/null +++ b/kde-frameworks/kfilemetadata/kfilemetadata-5.81.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9} ) +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 ~x86" +IUSE="epub exif ffmpeg kernel_linux 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= ) + 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 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 +} |