media-gfx/apngopt - 1.4 (gentoo)

Search

Install

Install this version:

emerge -a =media-gfx/apngopt-1.4

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

autounmask =media-gfx/apngopt-1.4

Or alternatively:

emerge --autounmask-write -a =media-gfx/apngopt-1.4

Package Information

Description:
Optimize APNG images
Homepage:
https://sourceforge.net/projects/apng/
License:
LGPL-2.1 ZLIB

Ebuild Details

Version EAPI Keywords Slot
1.4 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Optimize APNG images"
HOMEPAGE="https://sourceforge.net/projects/apng/"
SRC_URI="https://downloads.sourceforge.net/apng/${P}-src.zip"
S="${WORKDIR}"

LICENSE="LGPL-2.1 ZLIB"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	app-arch/zopfli:=
	media-libs/libpng:=
	virtual/zlib:="
DEPEND="${RDEPEND}"
BDEPEND="app-arch/unzip"

PATCHES=( "${FILESDIR}"/${PF}-makefile.patch )

src_prepare() {
	default
	rm -rf libpng zlib zopfli || die
}

src_configure() {
	tc-export CXX
}

src_install() {
	dobin apngopt
	dodoc readme.txt
}

Inherited Eclasses

Dependencies

DEPEND

	app-arch/zopfli:=
	media-libs/libpng:=
	virtual/zlib:=

RDEPEND

	app-arch/zopfli:=
	media-libs/libpng:=
	virtual/zlib:=

BDEPEND

app-arch/unzip

Manifest for 1.4

Type File Size Source URLs
DIST apngopt-1.4-src.zip 577703 bytes https://downloads.sourceforge.net/apng/apngopt-1.4-src.zip