# ChangeLog for media-gfx/optipng
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.7 2004/06/02 22:54:30 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.8 2004/06/03 08:25:00 taviso Exp $
+
+ 03 Jun 2004; Tavis Ormandy <taviso@gentoo.org> optipng-0.4.5.ebuild,
+ files/optipng-0.4.5-more-makefile-options.diff:
+ use ifeq syntax instead of setting env vars.
*optipng-0.4.5 (02 Jun 2004)
MD5 b3baa13bb3accb81ba7461967a9d2e75 optipng-0.4.3-r1.ebuild 1783
MD5 6394bac8d59dd1981322344337db62ef optipng-0.4.3.ebuild 1782
-MD5 115f1b3428bee195ae595033d80aaebc optipng-0.4.5.ebuild 2149
-MD5 6c70b6f56a43e42dc185046b21425f1f ChangeLog 1130
+MD5 e232f65702f4313f2ee92a87530a912d optipng-0.4.5.ebuild 2156
+MD5 bcbe33d6c458eb301d5198da310ce44e ChangeLog 1299
MD5 d1fd781dd463a1e5d87df46fad732ec6 metadata.xml 400
MD5 776935461c2653df2b47f23f7b7c60d7 files/digest-optipng-0.4.3-r1 65
MD5 776935461c2653df2b47f23f7b7c60d7 files/digest-optipng-0.4.3 65
MD5 cbb26191f6029021230a63ee5ac9a062 files/digest-optipng-0.4.5 65
MD5 eab5451d70e601bb80438372adbcc3cd files/optipng-more-makefile-options.diff 1423
MD5 ae0b66a3fd8e8cff827c907900a5d63c files/optipng-0.4.3-r1-more-makefile-options.diff 1552
-MD5 6caa91a8b407efd3ebfe1d2460a3cd96 files/optipng-0.4.5-more-makefile-options.diff 2094
+MD5 95e87b9aa8430dbe8d14268fb922a818 files/optipng-0.4.5-more-makefile-options.diff 2271
--- optipng-0.4.5.orig/src/scripts/Makefile.gcc 2004-05-31 10:38:00.000000000 +0100
-+++ optipng-0.4.5/src/scripts/Makefile.gcc 2004-06-02 23:49:49.134972424 +0100
++++ optipng-0.4.5/src/scripts/Makefile.gcc 2004-06-03 09:21:38.958025528 +0100
@@ -3,22 +3,40 @@
all: optipng
libpng.a: ../lib-cos/libpng/libpng.a
cp ../lib-cos/libpng/libpng.a libpng.a
-@@ -28,10 +46,10 @@
+@@ -27,11 +45,14 @@
+ cp ../lib-cos/zlib/libz.a libz.a
../lib-cos/libpng/libpng.a: ../lib-cos/zlib/libz.a
- cd ../lib-cos/libpng; \
+- cd ../lib-cos/libpng; \
- ${MAKE} -f scripts/makefile.gcc; \
-+ ${MAKE} -f scripts/${pngmake}; \
- cd ../../src
+- cd ../../src
++ifeq (${usemmx},1)
++ cd ../lib-cos/libpng; ${MAKE} -f scripts/makefile.gcmmx; cd ../../src
++else
++ cd ../lib-cos/libpng; ${MAKE} -f scripts/makefile.gcc; cd ../../src
++endif
++
../lib-cos/zlib/libz.a:
cd ../lib-cos/zlib; \
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.4.5.ebuild,v 1.1 2004/06/02 22:54:30 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.4.5.ebuild,v 1.2 2004/06/03 08:25:00 taviso Exp $
inherit eutils flag-o-matic
-DESCRIPTION="PNG optimizing utility"
+DESCRIPTION="Find the optimal compression settings for your png files"
SRC_URI="http://www.cs.toronto.edu/~cosmin/pngtech/optipng/${P}.tar.gz"
HOMEPAGE="http://www.cs.toronto.edu/~cosmin/pngtech/optipng/"
# do amd64/ia64 support mmx?
use x86 || ewarn "mmx flag set, but not on x86?"
- pngmake=makefile.gcmmx
+ usemmx=1
else
- pngmake=makefile.gcc
+ usemmx=0
fi
# only defined in bundled zlib?
append-flags -DZ_RLE=3
fi
- export pngmake LDFLAGS
+ export usemmx LDFLAGS
# some logic to decide which version to build...
if ! use ext-png; then