diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-23 20:53:01 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-09-23 22:07:14 +0200 |
commit | 946ada2019a30b9d2a49ddf6828f64df570adcbb (patch) | |
tree | 9767f95f13fcbe41e782f06ec7a60a20de4c8e08 /media-gfx | |
parent | profiles: Mask kde-misc/kmarkdownwebview for removal (diff) | |
download | gentoo-946ada2019a30b9d2a49ddf6828f64df570adcbb.tar.gz gentoo-946ada2019a30b9d2a49ddf6828f64df570adcbb.tar.bz2 gentoo-946ada2019a30b9d2a49ddf6828f64df570adcbb.zip |
media-gfx/photoqt: add 2.9.1, EAPI-8 bump, update dependencies
Thanks-to: Frank Krömmelbein <kroemmelbein@gmx.de>
Closes: https://bugs.gentoo.org/709474
Closes: https://bugs.gentoo.org/770091
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/photoqt/Manifest | 1 | ||||
-rw-r--r-- | media-gfx/photoqt/metadata.xml | 9 | ||||
-rw-r--r-- | media-gfx/photoqt/photoqt-2.9.1.ebuild | 69 |
3 files changed, 73 insertions, 6 deletions
diff --git a/media-gfx/photoqt/Manifest b/media-gfx/photoqt/Manifest index 04e072b09d0c..1cf8748b9630 100644 --- a/media-gfx/photoqt/Manifest +++ b/media-gfx/photoqt/Manifest @@ -1 +1,2 @@ DIST photoqt-1.7.1.tar.gz 1324774 BLAKE2B b739508511cdc34b6de5736260692c48186a49d0cf62d8283238ee274d2fdf73716589277fa602f86c8c15fff87b49d1700202d260480e002dfa18380b47d328 SHA512 50cee1a77a5e69d05f19a8f1ac8ab18d1ef420962b05f3a76e12ce0f3202db7037c894bbd7631674504f0e51c2be690aff4248ed343d0da2dc8a1ccce2d8e078 +DIST photoqt-2.9.1.tar.gz 3708647 BLAKE2B dd8c958709ebd830558f150f59c90c317d3f5edb363f92e9fadcd1506de4c97a41f6766670e202081397081c231604028298771eb52911255dae53bfa92a1a8d SHA512 c2ac3bce2ffa0962b243808cdd2495d45af3bd5703389de5e9626a518a8edf25646a317ff420dc0fdd8dc60a53104b1b5ec7e473087454d5c2f0b967066dc192 diff --git a/media-gfx/photoqt/metadata.xml b/media-gfx/photoqt/metadata.xml index 48778e41513a..4e3804f8122d 100644 --- a/media-gfx/photoqt/metadata.xml +++ b/media-gfx/photoqt/metadata.xml @@ -6,11 +6,8 @@ <name>Gentoo Qt Project</name> </maintainer> <use> - <flag name="devil"> - Support additional image formats using <pkg>media-libs/devil</pkg> - </flag> - <flag name="freeimage"> - Support additional image formats using <pkg>media-libs/freeimage</pkg> - </flag> + <flag name="devil">Support additional image formats using <pkg>media-libs/devil</pkg></flag> + <flag name="freeimage">Support additional image formats using <pkg>media-libs/freeimage</pkg></flag> + <flag name="mpv">Support for video files using <pkg>media-video/mpv</pkg></flag> </use> </pkgmetadata> diff --git a/media-gfx/photoqt/photoqt-2.9.1.ebuild b/media-gfx/photoqt/photoqt-2.9.1.ebuild new file mode 100644 index 000000000000..26dc0b657581 --- /dev/null +++ b/media-gfx/photoqt/photoqt-2.9.1.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_KDEINSTALLDIRS=false +inherit ecm optfeature + +DESCRIPTION="Simple but powerful Qt-based image viewer" +HOMEPAGE="https://photoqt.org/" +SRC_URI="https://photoqt.org/pkgs/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="devil exif freeimage graphicsmagick imagemagick mpv pdf raw" + +DEPEND=" + app-arch/libarchive:= + app-arch/unrar + dev-libs/pugixml + dev-qt/qtdbus:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5[jpeg] + dev-qt/qtimageformats:5 + dev-qt/qtmultimedia:5[qml] + dev-qt/qtnetwork:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsql:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + devil? ( media-libs/devil ) + exif? ( media-gfx/exiv2:= ) + freeimage? ( media-libs/freeimage ) + imagemagick? ( + !graphicsmagick? ( media-gfx/imagemagick:=[cxx] ) + graphicsmagick? ( media-gfx/graphicsmagick:=[cxx] ) + ) + mpv? ( media-video/mpv[libmpv] ) + pdf? ( app-text/poppler[qt5] ) + raw? ( media-libs/libraw:= ) +" +RDEPEND="${DEPEND} + dev-qt/qtgraphicaleffects:5 + dev-qt/qtquickcontrols:5 + dev-qt/qtquickcontrols2:5 +" +BDEPEND="dev-qt/linguist-tools:5" + +src_configure() { + local mycmakeargs=( + -DCHROMECAST=OFF # TODO needs python + -DDEVIL=$(usex devil) + -DEXIV2=$(usex exif) + -DFREEIMAGE=$(usex freeimage) + -DGRAPHICSMAGICK=$(usex graphicsmagick $(usex imagemagick)) + -DIMAGEMAGICK=$(usex imagemagick $(usex !graphicsmagick)) + -DVIDEO_MPV=$(usex mpv) + -DPOPPLER=$(usex pdf) + -DRAW=$(usex raw) + ) + ecm_src_configure +} + +pkg_postinst() { + optfeature "additional image formats like AVIF, EPS, HEIF/HEIC, PSD, etc." kde-frameworks/kimageformats + ecm_pkg_postinst +} |