summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-03-26 00:19:08 +0000
committerSebastian Pipping <sping@gentoo.org>2012-03-26 00:19:08 +0000
commit5911c4d2f843ae7850480423e8fa32dfd6aeb798 (patch)
tree8bba2b78d63b0c15d7c4eb04103ca1caf0850205 /media-gfx/optipng
parentForcing a bump to the soname unnecessarily breaks backwards compat (diff)
downloadgentoo-2-5911c4d2f843ae7850480423e8fa32dfd6aeb798.tar.gz
gentoo-2-5911c4d2f843ae7850480423e8fa32dfd6aeb798.tar.bz2
gentoo-2-5911c4d2f843ae7850480423e8fa32dfd6aeb798.zip
media-gfx/optipng: 0.7.1
(Portage version: 2.1.10.51/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/optipng')
-rw-r--r--media-gfx/optipng/ChangeLog7
-rw-r--r--media-gfx/optipng/optipng-0.7.1.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/media-gfx/optipng/ChangeLog b/media-gfx/optipng/ChangeLog
index a8418f1e7b80..957f4338baff 100644
--- a/media-gfx/optipng/ChangeLog
+++ b/media-gfx/optipng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/optipng
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.75 2012/03/08 12:48:08 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.76 2012/03/26 00:19:08 sping Exp $
+
+*optipng-0.7.1 (25 Mar 2012)
+
+ 25 Mar 2012; Sebastian Pipping <sping@gentoo.org> +optipng-0.7.1.ebuild:
+ Bump to 0.7.1 (bug #409595)
08 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> -optipng-0.6.5.ebuild,
-files/optipng-0.6.5-libpng-1.4.8.patch:
diff --git a/media-gfx/optipng/optipng-0.7.1.ebuild b/media-gfx/optipng/optipng-0.7.1.ebuild
new file mode 100644
index 000000000000..9e004cb56cdb
--- /dev/null
+++ b/media-gfx/optipng/optipng-0.7.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.7.1.ebuild,v 1.1 2012/03/26 00:19:08 sping Exp $
+
+EAPI=2
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Compress PNG files without affecting image quality"
+HOMEPAGE="http://optipng.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ media-libs/libpng:0"
+DEPEND="${RDEPEND}
+ sys-apps/findutils"
+
+src_prepare() {
+ rm -R src/{libpng,zlib} || die
+ find . -type d -name build -exec rm -R {} + || die
+}
+
+src_configure() {
+ ./configure \
+ -with-system-libpng \
+ -with-system-zlib \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake \
+ -C src/optipng \
+ CC="$(tc-getCC)" \
+ GENTOO_CFLAGS="${CFLAGS}" \
+ GENTOO_LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dodoc README.txt doc/*.txt || die
+ dohtml doc/*.html || die
+ doman src/optipng/man/optipng.1 || die
+
+ dobin src/optipng/optipng || die "dobin failed"
+}