commit:     b15de83cf0dd1e4e8bffdc33adf22bde60c50ae1
Author:     NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com>
AuthorDate: Sun Jul  6 08:28:38 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 15:55:08 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b15de83c

media-gfx/pngcheck: add 4.0.0

PNG Group released new version of PNG specification, it includes
HDR and APNG chunks. Accompanying process of designing that spec,
upstream pngcheck changed maintainer and was updated to verify
new chunks.
New version also added cmake as main building system, simplifying
ebuild significantly.

Closes: https://bugs.gentoo.org/959630
Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com>
Part-of: https://github.com/gentoo/gentoo/pull/42899
Closes: https://github.com/gentoo/gentoo/pull/42899
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/pngcheck/Manifest              |  1 +
 media-gfx/pngcheck/metadata.xml          |  2 +-
 media-gfx/pngcheck/pngcheck-4.0.0.ebuild | 17 +++++++++++++++++
 3 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/media-gfx/pngcheck/Manifest b/media-gfx/pngcheck/Manifest
index 340c97fc3ab3..66016d9d284b 100644
--- a/media-gfx/pngcheck/Manifest
+++ b/media-gfx/pngcheck/Manifest
@@ -1 +1,2 @@
 DIST pngcheck-3.0.3.tar.gz 63766 BLAKE2B 
962f90e6a05170a14fba45372d65f8cc94d1b4f6119c30d252a67644b69eb8a925c20b0d020b917673754f491305f73ac7e294df9b2a908a93011cec420c3629
 SHA512 
cdb2620cb508f9df748bd3e9cb657d2c503a1f62171f497f1ff1e0f220287364829f03164869567c83b5797d8bc478495ad6c35860196812ef8262fce4cbff26
+DIST pngcheck-4.0.0.tar.gz 69977 BLAKE2B 
24aa50c46bcfe960f8d43a489a5bf26a5adb862228e847cac9e89dbab934c9ba2731acf7be6901a908adddcc95f3ffebf6fabc18f9accd2471b3a05f2ca7a388
 SHA512 
88dd66ae8c69cf48389da0f0a9df553a93933211240d61612eb2be0b10db8e0b39a5d24556e45c74f22723c8ecc408fafacdde0b72a60db6c020f8bf3940a21f

diff --git a/media-gfx/pngcheck/metadata.xml b/media-gfx/pngcheck/metadata.xml
index 2bb6a3051c7f..f098cd4b5580 100644
--- a/media-gfx/pngcheck/metadata.xml
+++ b/media-gfx/pngcheck/metadata.xml
@@ -3,6 +3,6 @@
 <pkgmetadata>
        <!-- maintainer-needed -->
        <upstream>
-               <remote-id type="sourceforge">png-mng</remote-id>
+               <remote-id type="github">pnggroup/pngcheck</remote-id>
        </upstream>
 </pkgmetadata>

diff --git a/media-gfx/pngcheck/pngcheck-4.0.0.ebuild 
b/media-gfx/pngcheck/pngcheck-4.0.0.ebuild
new file mode 100644
index 000000000000..19dc5fded3b9
--- /dev/null
+++ b/media-gfx/pngcheck/pngcheck-4.0.0.ebuild
@@ -0,0 +1,17 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Verifies the integrity of PNG, JNG, and MNG files with internal 
checksums"
+HOMEPAGE="https://www.libpng.org/pub/png/apps/pngcheck.html 
https://github.com/pnggroup/pngcheck";
+SRC_URI="https://github.com/pnggroup/pngcheck/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="HPND GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}"

Reply via email to