dev-games/ps2-libpng - 1.6.53 (tatsh-overlay)

Search

Install

Install this version:

emerge -a =dev-games/ps2-libpng-1.6.53

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-games/ps2-libpng-1.6.53

Or alternatively:

emerge --autounmask-write -a =dev-games/ps2-libpng-1.6.53

Package Information

Description:
PNG library for the PlayStation 2
Homepage:
https://www.libpng.org/ https://github.com/ps2dev/ps2sdk-ports
License:
libpng2

Ebuild Details

Version EAPI Keywords Slot
1.6.53 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit ps2-port

DESCRIPTION="PNG library for the PlayStation 2"
HOMEPAGE="https://www.libpng.org/ https://github.com/ps2dev/ps2sdk-ports"
SRC_URI="https://github.com/pnggroup/libpng/archive/refs/tags/v${PV}.tar.gz -> libpng-${PV}.tar.gz"
S="${WORKDIR}/libpng-${PV}"

LICENSE="libpng2"
SLOT="0"
KEYWORDS="~amd64"

DEPEND="dev-games/ps2-zlib"
RDEPEND="${DEPEND}"

src_configure() {
	local mycmakeargs=(
		-DPNG_SHARED=OFF
		-DPNG_STATIC=ON
		-DPNG_TESTS=OFF
		-DPNG_TOOLS=OFF
	)
	ps2-port_src_configure
}

src_install() {
	ps2-port_src_install
	# pkg-config users look for the versioned name.
	dosym libpng.a "${PS2_PORTS}/lib/libpng16.a"
}

Inherited Eclasses

Dependencies

DEPEND

dev-games/ps2-zlib

RDEPEND

dev-games/ps2-zlib

Manifest for 1.6.53

Type File Size Source URLs
DIST libpng-1.6.53.tar.gz 1583986 bytes https://github.com/pnggroup/libpng/archive/refs/tags/v1.6.53.tar.gz