sping       14/05/29 16:14:56

  Modified:             ChangeLog
  Added:                optipng-0.7.5.ebuild
  Log:
  media-gfx/optipng: 0.7.5
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0x401A1600)

Revision  Changes    Path
1.92                 media-gfx/optipng/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/optipng/ChangeLog?rev=1.92&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/optipng/ChangeLog?rev=1.92&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/optipng/ChangeLog?r1=1.91&r2=1.92

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v
retrieving revision 1.91
retrieving revision 1.92
diff -u -r1.91 -r1.92
--- ChangeLog   9 Mar 2014 04:41:56 -0000       1.91
+++ ChangeLog   29 May 2014 16:14:56 -0000      1.92
@@ -1,6 +1,11 @@
 # ChangeLog for media-gfx/optipng
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.91 
2014/03/09 04:41:56 tristan Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/ChangeLog,v 1.92 
2014/05/29 16:14:56 sping Exp $
+
+*optipng-0.7.5 (29 May 2014)
+
+  29 May 2014; Sebastian Pipping <[email protected]> +optipng-0.7.5.ebuild:
+  Bump to 0.7.5
 
   09 Mar 2014; Tristan Heaven <[email protected]> optipng-0.7.4.ebuild:
   Fix building when LD is set, bug #503924



1.1                  media-gfx/optipng/optipng-0.7.5.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/optipng/optipng-0.7.5.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/optipng/optipng-0.7.5.ebuild?rev=1.1&content-type=text/plain

Index: optipng-0.7.5.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-gfx/optipng/optipng-0.7.5.ebuild,v 1.1 
2014/05/29 16:14:56 sping Exp $

EAPI=4

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 ~arm ~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

        # next release is almost a complete rewrite, so plug this compilation
        # problem in anticipation of the much (c)leaner(?) rewrite
        sed -i \
                -e 's/^#ifdef AT_FDCWD/#if defined(AT_FDCWD) \&\& !(defined 
(__SVR4) \&\& defined (__sun))/' \
                src/optipng/osys.c || die

        tc-export CC AR RANLIB
        export LD=$(tc-getCC)
}

src_configure() {
        ./configure \
                -with-system-libpng \
                -with-system-zlib \
                || die "configure failed"
}

src_compile() {
        emake -C src/optipng
}

src_install() {
        dodoc README.txt doc/*.txt
        dohtml doc/*.html
        doman src/${PN}/man/${PN}.1

        dobin src/${PN}/${PN}
}




Reply via email to