From ea7f3f690b55cdfa8b2d350b03c1dfc0c8357a51 Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Thu, 14 Sep 2023 22:48:30 +0100
Subject: gentoo auto-resync : 14:09:2023 - 22:48:30

---
 media-gfx/Manifest.gz           | Bin 37515 -> 37511 bytes
 media-gfx/pqiv/Manifest         |   3 +-
 media-gfx/pqiv/pqiv-2.12.ebuild |  63 +++++++++++++++++++++++++++++++++
 media-gfx/pqiv/pqiv-9999.ebuild |  76 ----------------------------------------
 4 files changed, 65 insertions(+), 77 deletions(-)
 create mode 100644 media-gfx/pqiv/pqiv-2.12.ebuild
 delete mode 100644 media-gfx/pqiv/pqiv-9999.ebuild

(limited to 'media-gfx')

diff --git a/media-gfx/Manifest.gz b/media-gfx/Manifest.gz
index b647b1b21d45..00bca0fb2be2 100644
Binary files a/media-gfx/Manifest.gz and b/media-gfx/Manifest.gz differ
diff --git a/media-gfx/pqiv/Manifest b/media-gfx/pqiv/Manifest
index 12cffb692ccb..cfe0d84aa249 100644
--- a/media-gfx/pqiv/Manifest
+++ b/media-gfx/pqiv/Manifest
@@ -1,4 +1,5 @@
 DIST pqiv-2.11.tar.gz 139825 BLAKE2B 981d472ccd3284b2e9ad3da8e84233c95555a927af797f8421ac820225d3d39cab2275f01269a986bab54994e0fce2095b7c33b1201e7a6117e1c8399617341b SHA512 6017a9d7ed332915a9f6fa788bb02c3b9d4d83c2ae2f9a8ab7d7738caa14ba3e9d253906f2e73fdfd368bb5e7bc51380ee9906fd9921e5f7f113811fd3da66f7
+DIST pqiv-2.12.tar.gz 141927 BLAKE2B b33f14c78422dc53f9d97eb6277da0ad51ae5d9ecd60497a879ab6057206c7cd695d6242e76f33856467c7821beac3e6d13ea3dda7aa4d4142e7682384ee8d63 SHA512 f921d7949c9d229536188e9652cc687dcc55127875f329d0a64e6e2a55ea1a6827c0df6925685ae923ba1a000fbf2d2dc1dd825e67a12815a49b2cb703ea2e2f
 EBUILD pqiv-2.11.ebuild 1734 BLAKE2B ab61484aa11136ee87d8a7c40c8a8e6e837cb01df7d93d8c0aa8838c963b6b42aa98310d4035c81f07cf509cccc2630442889b43db005bd64d178c9e806fd896 SHA512 55a0bd20fe629519ad71e1f580840ad33919b35e23441c1a8d08ba0bd164ccdfff242e9f75f191647863c97120fd10b7d572babc4bf3b17d7911bce8300a9848
-EBUILD pqiv-9999.ebuild 1717 BLAKE2B 20c50ebcad0b6ba732cf26935e738c93a32a1b82eaeb4681bf0ccd8d0d0df2387f43c1078464b0c89eee90dc79b1edad3610b0568e052ea96a92983c16e58b35 SHA512 9f65f28d3e2c3b9a0b38729c778c67f8e2dec1da49b8926824dfc5b516c697bb61f062c8e50015d12e4b0de38a8eedd3ed84ebf3d0424ccad18026551c35a264
+EBUILD pqiv-2.12.ebuild 1565 BLAKE2B 563a4b978aec33c652e5f2f0b3065dcbdba58cc7e92a7aafc6a1b93e7160bbdf14fc54b158efa295c90c2bee07951a9d3f118af67655a2c8f2ea1d7cadd9dbf2 SHA512 765cf2f62350023644d322101c5f29ff24762008e8fc9419d1a2849d00fafc586b8d74b48e37ecf4c2f68e05e3a4854294e436c2ad9f5ba79761a099a71790b3
 MISC metadata.xml 488 BLAKE2B f2e983c8214ea274f0920a2f3449b1ed3cad7246a1ba60ea976063ee5f11d6a827d9be993cdaedcaeb1f86cfeaf6301e7826f60dafc4eebd5b10c5890cec9966 SHA512 45e5496e534774e3b892576823d37f49a6cb0486287b8a8149964cf513b524205b0abd4b04f644702c741f3c5ca495de26ddc150c212ca1ace67bb720e573859
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}"
+}
diff --git a/media-gfx/pqiv/pqiv-9999.ebuild b/media-gfx/pqiv/pqiv-9999.ebuild
deleted file mode 100644
index 65bba986493e..000000000000
--- a/media-gfx/pqiv/pqiv-9999.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit linux-info toolchain-funcs xdg-utils
-
-if [[ ${PV} == 9999 ]]; then
-	EGIT_REPO_URI="https://github.com/phillipberndt/pqiv.git"
-	inherit git-r3
-else
-	SRC_URI="https://github.com/phillipberndt/pqiv/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="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/"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="archive ffmpeg imagemagick pdf postscript webp"
-
-RDEPEND="
-	>=dev-libs/glib-2.32:2
-	>=x11-libs/cairo-1.6
-	x11-libs/gtk+:3
-	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}
-	virtual/pkgconfig"
-
-doecho() {
-	echo "$@"
-	"$@" || die
-}
-
-pkg_setup() {
-	if use kernel_linux; then
-		CONFIG_CHECK="~INOTIFY_USER"
-		linux-info_pkg_setup
-	fi
-}
-
-src_configure() {
-	local backends="gdkpixbuf"
-	use archive && backends+=",archive,archive_cbx"
-	use ffmpeg && backends+=",libav"
-	use imagemagick && backends+=",wand"
-	use pdf && backends+=",poppler"
-	use postscript && backends+=",spectre"
-	use webp && backends+=",webp"
-
-	doecho ./configure \
-		--backends-build=shared \
-		--backends=${backends} \
-		--prefix="${EPREFIX}/usr" \
-		--libdir="${EPREFIX}/usr/$(get_libdir)" \
-		--destdir="${ED}"
-}
-
-src_compile() {
-	tc-export CC
-	emake VERBOSE=1 CFLAGS="${CFLAGS}"
-}
-
-pkg_postinst() {
-	xdg_desktop_database_update
-}
-
-pkg_postrm() {
-	xdg_desktop_database_update
-}
-- 
cgit v1.2.3