public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/photoqt/
Date: Fri, 23 Sep 2022 20:07:37 +0000 (UTC)	[thread overview]
Message-ID: <1663963634.946ada2019a30b9d2a49ddf6828f64df570adcbb.asturm@gentoo> (raw)

commit:     946ada2019a30b9d2a49ddf6828f64df570adcbb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 23 18:53:01 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Sep 23 20:07:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946ada20

media-gfx/photoqt: add 2.9.1, EAPI-8 bump, update dependencies

Thanks-to: Frank Krömmelbein <kroemmelbein <AT> gmx.de>
Closes: https://bugs.gentoo.org/709474
Closes: https://bugs.gentoo.org/770091
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 media-gfx/photoqt/Manifest             |  1 +
 media-gfx/photoqt/metadata.xml         |  9 ++---
 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
+}


             reply	other threads:[~2022-09-23 20:07 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-23 20:07 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-08  8:22 [gentoo-commits] repo/gentoo:master commit in: media-gfx/photoqt/ Ionen Wolkens
2025-01-07 22:34 Andreas Sturmlechner
2025-01-07 22:34 Andreas Sturmlechner
2023-11-14 22:55 Andreas Sturmlechner
2023-06-16 22:59 Sam James
2023-06-16 21:02 Sam James
2023-05-15 23:16 Sam James
2023-05-15 21:42 Andreas Sturmlechner
2023-01-25 19:22 Arthur Zamarin
2023-01-20  3:54 Sam James
2022-10-25 17:55 Sam James
2022-10-25 17:55 Sam James
2022-09-24  7:16 Andreas Sturmlechner
2019-12-09 12:26 Andreas Sturmlechner
2019-03-17 13:22 Andreas Sturmlechner
2019-02-15 20:10 Andreas Sturmlechner
2019-02-15 17:09 Mikle Kolyada
2019-02-15  0:18 Thomas Deutschmann
2019-01-16 15:12 Mikle Kolyada
2018-12-31 16:43 Thomas Deutschmann
2018-12-30 13:22 Andreas Sturmlechner
2018-12-29 22:02 Andreas Sturmlechner
2018-06-30  2:37 Michael Palimaka
2018-01-12 10:45 Michael Palimaka
2017-07-02  3:04 Michael Palimaka
2017-04-27 12:17 Michael Palimaka
2017-04-26  7:40 Agostino Sarubbo
2017-01-22 16:14 Michael Palimaka
2016-08-11 17:05 Michael Palimaka
2016-08-11 17:05 Michael Palimaka
2016-08-11 17:05 Michael Palimaka
2016-07-08 18:38 Michael Palimaka
2016-07-08 18:38 Michael Palimaka
2016-05-26 12:22 Michael Palimaka
2016-05-26 12:22 Michael Palimaka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1663963634.946ada2019a30b9d2a49ddf6828f64df570adcbb.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox