summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2015-02-15 02:58:11 +0000
committerTim Harder <radhermit@gentoo.org>2015-02-15 02:58:11 +0000
commit48946e7503120178febfd093704483cfb202e625 (patch)
tree095585003a3e289f523325839325d770f52639c0 /media-gfx
parentVersion bump. (diff)
downloadgentoo-2-48946e7503120178febfd093704483cfb202e625.tar.gz
gentoo-2-48946e7503120178febfd093704483cfb202e625.tar.bz2
gentoo-2-48946e7503120178febfd093704483cfb202e625.zip
Version bump.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/pngcrush/ChangeLog7
-rw-r--r--media-gfx/pngcrush/pngcrush-1.7.83.ebuild41
2 files changed, 47 insertions, 1 deletions
diff --git a/media-gfx/pngcrush/ChangeLog b/media-gfx/pngcrush/ChangeLog
index 26d956eb1074..463ba445a55a 100644
--- a/media-gfx/pngcrush/ChangeLog
+++ b/media-gfx/pngcrush/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-gfx/pngcrush
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.133 2015/01/15 05:32:57 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/ChangeLog,v 1.134 2015/02/15 02:58:11 radhermit Exp $
+
+*pngcrush-1.7.83 (15 Feb 2015)
+
+ 15 Feb 2015; Tim Harder <radhermit@gentoo.org> +pngcrush-1.7.83.ebuild:
+ Version bump.
15 Jan 2015; Tim Harder <radhermit@gentoo.org> -pngcrush-1.7.57.ebuild,
-pngcrush-1.7.73.ebuild, -pngcrush-1.7.75.ebuild, -pngcrush-1.7.76.ebuild,
diff --git a/media-gfx/pngcrush/pngcrush-1.7.83.ebuild b/media-gfx/pngcrush/pngcrush-1.7.83.ebuild
new file mode 100644
index 000000000000..09ef388b746e
--- /dev/null
+++ b/media-gfx/pngcrush/pngcrush-1.7.83.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.7.83.ebuild,v 1.1 2015/02/15 02:58:11 radhermit Exp $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="Portable Network Graphics (PNG) optimizing utility"
+HOMEPAGE="http://pmt.sourceforge.net/pngcrush/"
+SRC_URI="system-libs? ( mirror://sourceforge/pmt/${P}-nolib.tar.xz )
+ !system-libs? ( mirror://sourceforge/pmt/${P}.tar.xz )"
+
+LICENSE="pngcrush"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="+system-libs"
+
+RDEPEND="
+ system-libs? (
+ >=media-libs/libpng-1.5:0=
+ sys-libs/zlib:=
+ )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils"
+
+pkg_setup() {
+ use system-libs && S+="-nolib"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -Wall" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ dohtml ChangeLog.html
+}