diff options
author | Ionen Wolkens <sudinave@gmail.com> | 2021-01-14 00:17:58 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2021-01-14 00:23:48 +0100 |
commit | dd992044575c4d9cb53b9a6dcc5feed8f0842bed (patch) | |
tree | 39e17f7b6f8fc2eadda45ed08dceb7c1a6268a0b /kde-frameworks | |
parent | profiles: arm: Restrict kde-frameworks/kimageformats[avif] to arm6j/armv7a (diff) | |
download | gentoo-dd992044575c4d9cb53b9a6dcc5feed8f0842bed.tar.gz gentoo-dd992044575c4d9cb53b9a6dcc5feed8f0842bed.tar.bz2 gentoo-dd992044575c4d9cb53b9a6dcc5feed8f0842bed.zip |
kde-frameworks/kimageformats: add AVIF support to fix automagic
Reported-by: Daniel Novomeský <dnovomesky@gmail.com>
Closes: https://bugs.gentoo.org/764941
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ionen Wolkens <sudinave@gmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks')
-rw-r--r-- | kde-frameworks/kimageformats/kimageformats-5.78.0-r1.ebuild | 39 | ||||
-rw-r--r-- | kde-frameworks/kimageformats/metadata.xml | 1 |
2 files changed, 40 insertions, 0 deletions
diff --git a/kde-frameworks/kimageformats/kimageformats-5.78.0-r1.ebuild b/kde-frameworks/kimageformats/kimageformats-5.78.0-r1.ebuild new file mode 100644 index 000000000000..3d62edafb6e4 --- /dev/null +++ b/kde-frameworks/kimageformats/kimageformats-5.78.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +ECM_QTHELP="false" +PVCUT=$(ver_cut 1-2) +QTMIN=5.15.1 +VIRTUALX_REQUIRED="test" +inherit ecm kde.org + +DESCRIPTION="Framework providing additional format plugins for Qt's image I/O system" +LICENSE="LGPL-2+" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +IUSE="avif eps openexr" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + =kde-frameworks/karchive-${PVCUT}*:5 + avif? ( >=media-libs/libavif-0.8.2 ) + eps? ( >=dev-qt/qtprintsupport-${QTMIN}:5 ) + openexr? ( + media-libs/ilmbase:= + media-libs/openexr:= + ) +" +RDEPEND="${DEPEND}" + +DOCS=( src/imageformats/AUTHORS ) + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package avif libavif) + $(cmake_use_find_package eps Qt5PrintSupport) + $(cmake_use_find_package openexr OpenEXR) + ) + + ecm_src_configure +} diff --git a/kde-frameworks/kimageformats/metadata.xml b/kde-frameworks/kimageformats/metadata.xml index 810e5e62b997..c44e1a5290b5 100644 --- a/kde-frameworks/kimageformats/metadata.xml +++ b/kde-frameworks/kimageformats/metadata.xml @@ -6,6 +6,7 @@ <name>Gentoo KDE Project</name> </maintainer> <use> + <flag name="avif">Support the AVIF image file format</flag> <flag name="eps">Support the EPS graphics file format</flag> </use> </pkgmetadata> |