commit:     581a9f9b3c4254d2a23b3287186b2a0447fc1334
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun May 25 14:09:01 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun May 25 14:13:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=581a9f9b

media-libs/glpng: Bump to 1.47, drop old 1.46, EAPI 8

This drops multilib, static-libs, and the stable keywords. This is only used by
games, none of which are currently packaged, and I am close to last-riting this.

Closes: https://bugs.gentoo.org/955824
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 media-libs/glpng/Manifest             |  2 +-
 media-libs/glpng/glpng-1.46-r1.ebuild | 30 ------------------------------
 media-libs/glpng/glpng-1.47.ebuild    | 23 +++++++++++++++++++++++
 3 files changed, 24 insertions(+), 31 deletions(-)

diff --git a/media-libs/glpng/Manifest b/media-libs/glpng/Manifest
index dd160682cece..811431059a5d 100644
--- a/media-libs/glpng/Manifest
+++ b/media-libs/glpng/Manifest
@@ -1 +1 @@
-DIST glpng-1.46.tar.gz 41024 BLAKE2B 
a0e521ec5ebd3d6b9d62e64b001dfa0aac97be6a72f44222816f5cb2dda3949d33261f66e96ecaa1fc6feaf7ece67721d3606440d760b305fbb7cb57462b24b3
 SHA512 
82fbd6154a0ca16102b4c31f7fbd907cf8c18b20c1693c60f8dcdd1fe42ebe579f98da2b36c00fc080b2880c720e8099dac0d460a8de1b2bf1145abbf05a20ae
+DIST glpng-1.47.tar.gz 41100 BLAKE2B 
d724442776754d46f7120a52e25384634ad374fdaa5e0615fe72967c1cdda77d0df863b9cfa715d7a59a146bf805a1c07990cb18fb36db99f9041514f367d974
 SHA512 
60fd60189f86865199ae57bc75929939f9835813f97cdc883aff48ebaa26da3b2d172dc67f63f18a94bed03f9a4f6b16ccf5cb1f78978470c56c497ad112cfca

diff --git a/media-libs/glpng/glpng-1.46-r1.ebuild 
b/media-libs/glpng/glpng-1.46-r1.ebuild
deleted file mode 100644
index cc6945248957..000000000000
--- a/media-libs/glpng/glpng-1.46-r1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake-multilib
-
-DESCRIPTION="OpenGL PNG image library"
-HOMEPAGE="https://repo.or.cz/w/glpng.git";
-SRC_URI="https://repo.or.cz/w/glpng.git/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="ZLIB"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="static-libs"
-
-RDEPEND="
-       media-libs/libpng:0=[${MULTILIB_USEDEP}]
-       sys-libs/zlib:=[${MULTILIB_USEDEP}]
-       virtual/glu[${MULTILIB_USEDEP}]
-       virtual/opengl[${MULTILIB_USEDEP}]
-"
-DEPEND=${RDEPEND}
-
-S="${WORKDIR}/${PN}"
-
-src_configure() {
-       local mycmakeargs=( -DBUILD_STATIC_LIBS=$(usex static-libs) )
-       cmake-multilib_src_configure
-}

diff --git a/media-libs/glpng/glpng-1.47.ebuild 
b/media-libs/glpng/glpng-1.47.ebuild
new file mode 100644
index 000000000000..aef2699ac200
--- /dev/null
+++ b/media-libs/glpng/glpng-1.47.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="OpenGL PNG image library"
+HOMEPAGE="https://repo.or.cz/w/glpng.git";
+SRC_URI="https://repo.or.cz/w/glpng.git/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-v${PV}-2266ea1"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+       media-libs/libpng:0=
+       virtual/opengl
+"
+DEPEND="
+       ${RDEPEND}
+"

Reply via email to