public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pqiv/
Date: Thu, 14 Sep 2023 17:57:12 +0000 (UTC)	[thread overview]
Message-ID: <1694714181.3beac7e2ecca4cc16d0cf4f4af527faa22eb8b5a.arthurzam@gentoo> (raw)

commit:     3beac7e2ecca4cc16d0cf4f4af527faa22eb8b5a
Author:     Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com>
AuthorDate: Fri Sep  8 20:31:03 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Sep 14 17:56:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3beac7e2

media-gfx/pqiv: add 2.12

Update to EAPI 8, cleanup src_configure() phase, add missing
dependencies.

Closes: https://bugs.gentoo.org/800242
Closes: https://bugs.gentoo.org/836072
Closes: https://bugs.gentoo.org/856511
Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-gfx/pqiv/Manifest         |  1 +
 media-gfx/pqiv/pqiv-2.12.ebuild | 63 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest
index 541250778a45..f33f0d89e3ec 100644
--- a/media-gfx/pqiv/Manifest
+++ b/media-gfx/pqiv/Manifest
@@ -1 +1,2 @@
 DIST pqiv-2.11.tar.gz 139825 BLAKE2B 981d472ccd3284b2e9ad3da8e84233c95555a927af797f8421ac820225d3d39cab2275f01269a986bab54994e0fce2095b7c33b1201e7a6117e1c8399617341b SHA512 6017a9d7ed332915a9f6fa788bb02c3b9d4d83c2ae2f9a8ab7d7738caa14ba3e9d253906f2e73fdfd368bb5e7bc51380ee9906fd9921e5f7f113811fd3da66f7
+DIST pqiv-2.12.tar.gz 141927 BLAKE2B b33f14c78422dc53f9d97eb6277da0ad51ae5d9ecd60497a879ab6057206c7cd695d6242e76f33856467c7821beac3e6d13ea3dda7aa4d4142e7682384ee8d63 SHA512 f921d7949c9d229536188e9652cc687dcc55127875f329d0a64e6e2a55ea1a6827c0df6925685ae923ba1a000fbf2d2dc1dd825e67a12815a49b2cb703ea2e2f

diff --git a/media-gfx/pqiv/pqiv-2.12.ebuild b/media-gfx/pqiv/pqiv-2.12.ebuild
new file mode 100644
index 000000000000..f3ab04fd650e
--- /dev/null
+++ b/media-gfx/pqiv/pqiv-2.12.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit edo linux-info toolchain-funcs xdg
+
+DESCRIPTION="A powerful GTK 3 based command-line image viewer with a minimal UI"
+HOMEPAGE="https://github.com/phillipberndt/pqiv http://www.pberndt.com/Programme/Linux/pqiv/"
+SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+IUSE="archive ffmpeg imagemagick pdf postscript webp"
+
+RDEPEND="
+	>=dev-libs/glib-2.32:2
+	>=x11-libs/cairo-1.6
+	>=x11-libs/gdk-pixbuf-2.2:2
+	x11-libs/gtk+:3
+	>=x11-libs/pango-1.10
+	archive? ( app-arch/libarchive:0= )
+	ffmpeg? ( media-video/ffmpeg:0= )
+	imagemagick? ( media-gfx/imagemagick:0= )
+	pdf? ( app-text/poppler:0= )
+	postscript? ( app-text/libspectre:0= )
+	webp? ( media-libs/libwebp:0= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+pkg_setup() {
+	if use kernel_linux; then
+		CONFIG_CHECK="~INOTIFY_USER"
+		linux-info_pkg_setup
+	fi
+}
+
+src_configure() {
+	local backends=(
+		"gdkpixbuf"
+		$(usex archive "archive" "")
+		$(usex archive "archive_cbx" "")
+		$(usex ffmpeg "libav" "")
+		$(usex imagemagick "wand" "")
+		$(usex pdf "poppler" "")
+		$(usex postscript "spectre" "")
+		$(usex webp "webp" "")
+	)
+	local myconf=(
+		--backends-build=shared
+		--backends=$(printf "%s," "${backends[@]}")
+		--prefix="${EPREFIX}/usr"
+		--libdir="${EPREFIX}/usr/$(get_libdir)"
+	)
+	edo ./configure "${myconf[@]}"
+}
+
+src_compile() {
+	tc-export CC
+	emake VERBOSE=1 CFLAGS="${CFLAGS}"
+}


             reply	other threads:[~2023-09-14 17:57 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-14 17:57 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-04-11 11:05 [gentoo-commits] repo/gentoo:master commit in: media-gfx/pqiv/ Arthur Zamarin
2023-12-01 14:39 Arthur Zamarin
2023-12-01 12:11 Arthur Zamarin
2023-12-01 12:11 Arthur Zamarin
2023-12-01 11:30 Ulrich Müller
2023-11-24 14:34 Michał Górny
2023-09-14 17:57 Arthur Zamarin
2022-10-29 19:43 Sam James
2021-12-08 10:14 Yixun Lan
2021-10-19  0:12 Sam James
2020-04-26  7:44 Mikle Kolyada
2019-04-03  4:46 Tim Harder
2019-02-22 11:05 Mikle Kolyada
2019-02-15 15:46 Thomas Deutschmann
2018-12-13  3:34 Tim Harder
2018-12-13  3:34 Tim Harder
2018-12-13  3:34 Tim Harder
2018-06-25 19:26 Tim Harder
2018-03-23  6:39 Tim Harder
2018-03-23  6:39 Tim Harder
2017-12-27  6:58 Tim Harder
2017-11-20  7:17 Tim Harder
2017-10-02  4:36 Tim Harder
2017-10-02  4:36 Tim Harder
2017-08-17 19:12 Tim Harder
2017-08-17 19:12 Tim Harder
2017-08-17 19:12 Tim Harder
2017-04-26  0:19 Tim Harder
2017-04-12  8:01 Tim Harder
2017-04-05  4:53 Tim Harder
2017-03-01 13:54 Tim Harder
2017-02-23  0:48 Tim Harder
2017-02-23  0:42 Tim Harder
2017-02-23  0:42 Tim Harder
2017-02-23  0:42 Tim Harder
2017-02-16 13:05 Tim Harder
2016-11-19 17:14 Markus Meier
2016-11-16 21:01 Markus Meier
2016-11-09 18:50 Markus Meier

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=1694714181.3beac7e2ecca4cc16d0cf4f4af527faa22eb8b5a.arthurzam@gentoo \
    --to=arthurzam@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