summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2016-08-19 22:23:11 -0400
committerTim Harder <radhermit@gentoo.org>2016-08-19 22:27:58 -0400
commit516d483da275945f8f488829db96080f9f0a60db (patch)
tree01c5a9cfde6a9dbb35df39af42f0627e53dfd55a /media-gfx/apngopt/apngopt-1.4.ebuild
parentapp-arch/zopfli: remove old (diff)
downloadgentoo-516d483da275945f8f488829db96080f9f0a60db.tar.gz
gentoo-516d483da275945f8f488829db96080f9f0a60db.tar.bz2
gentoo-516d483da275945f8f488829db96080f9f0a60db.zip
media-gfx/apngopt: version bump to 1.4
Diffstat (limited to 'media-gfx/apngopt/apngopt-1.4.ebuild')
-rw-r--r--media-gfx/apngopt/apngopt-1.4.ebuild41
1 files changed, 41 insertions, 0 deletions
diff --git a/media-gfx/apngopt/apngopt-1.4.ebuild b/media-gfx/apngopt/apngopt-1.4.ebuild
new file mode 100644
index 00000000000..73de1497c8f
--- /dev/null
+++ b/media-gfx/apngopt/apngopt-1.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="optimize APNG images"
+HOMEPAGE="https://sourceforge.net/projects/apng/"
+SRC_URI="mirror://sourceforge/apng/${P}-src.zip"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ >=app-arch/zopfli-1.0.1-r2:=
+ media-libs/libpng:0="
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ app-arch/unzip"
+
+S=${WORKDIR}
+
+PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
+
+src_prepare() {
+ default
+ rm -rf libpng zlib zopfli || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" ${PN}
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc readme.txt
+}