summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2013-02-20 18:36:24 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2013-02-20 18:36:24 +0000
commitb1f2d2cbb4dc18e7f827b8251dbdf6fff86f55c5 (patch)
tree3fa3fe9e255a2c892bc02b8511ef7847d3c67249 /media-gfx/pngquant
parent[bump] dev-perl/AnyEvent-I3-0.150.0 (diff)
downloadgentoo-2-b1f2d2cbb4dc18e7f827b8251dbdf6fff86f55c5.tar.gz
gentoo-2-b1f2d2cbb4dc18e7f827b8251dbdf6fff86f55c5.tar.bz2
gentoo-2-b1f2d2cbb4dc18e7f827b8251dbdf6fff86f55c5.zip
Initial commit wrt #458314 by Steffen Weber
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'media-gfx/pngquant')
-rw-r--r--media-gfx/pngquant/ChangeLog9
-rw-r--r--media-gfx/pngquant/Manifest4
-rw-r--r--media-gfx/pngquant/metadata.xml5
-rw-r--r--media-gfx/pngquant/pngquant-1.8.2.ebuild38
4 files changed, 56 insertions, 0 deletions
diff --git a/media-gfx/pngquant/ChangeLog b/media-gfx/pngquant/ChangeLog
new file mode 100644
index 000000000000..e89be8b53d6f
--- /dev/null
+++ b/media-gfx/pngquant/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for media-gfx/pngquant
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngquant/ChangeLog,v 1.1 2013/02/20 18:36:24 ssuominen Exp $
+
+*pngquant-1.8.2 (20 Feb 2013)
+
+ 20 Feb 2013; Samuli Suominen <ssuominen@gentoo.org> +pngquant-1.8.2.ebuild:
+ Initial commit wrt #458314 by Steffen Weber
+
diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest
new file mode 100644
index 000000000000..dbbc4a39247d
--- /dev/null
+++ b/media-gfx/pngquant/Manifest
@@ -0,0 +1,4 @@
+DIST pngquant-1.8.2-src.tar.bz2 31901 SHA256 a51924ad141c010516e46122e84c6d1882d26b7e984900aaa107d74274e1a396 SHA512 394688ea754be781f96372a793c4186d35014dc1fc3b974e2335542d0aaaebe811bd4db5c34f7d7ec492aa38ff8b46c43a6ce77dc78483c4d43afb8aef8ba708 WHIRLPOOL 1904afa05206b11458fe54889cfacee0267f85379186e1cd344a4dc8411598e79e1950a90e1f997b212e0a5b8ed3c13acfce36a2300e0afa295c0eac361d44fa
+EBUILD pngquant-1.8.2.ebuild 793 SHA256 ac7be652bc2175f5956ad19ab05999bd03f66c1f3fc235327f9e3595792773c2 SHA512 c25a4f62d803bb9a6e7d857c28c6168fb9b1d497e9cb00a6541a2e8102953ad63a97226a89ad70f4ed9bbf9226f7019e4916f59032030415809547902640aa9e WHIRLPOOL f44957e9b923630d6eb5d5b4c508a8ca1c1ee9ad6095554999ca73143a2464d3d936e99f0aa67af2508ed373b705db80db3b7576e780fe0a2f68e30df9085bb7
+MISC ChangeLog 275 SHA256 513e8df168b8948ca9cb88174fbca16e0ec7f00b5302ef95a55c441011fd01c6 SHA512 1d8d71901e272d975d26df3e7a1fda1d9fd0ee08d15d84dc32d3bf0a57532e16203384d25cb0f856d44d1d38ed599afdbb320b4c8673f8347818358403781b24 WHIRLPOOL 80e6bbb1df33034a24114ccc39a1759b56ce4cbaccca6bf3e5a28de1df3485572a59c38c09c0bb7667de60bc63bf8da2502792eef8e5e3a56496bb9f3cd94ce7
+MISC metadata.xml 161 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1 SHA512 425caf0160f1410ce7bf1d4639020be7f6335152c339edbce80676bff4166f1cab3ae9e13161c47b98dc00741dab3bfa45e9572a3314844476e480f5c2b58d7d WHIRLPOOL ad7cdd3352dbc12cb4181fb5d63b5aee5ce3a151b975c12a96c4a5c91f751736d27282ad22633c7e768230266bce5d17947735d33ef5c5c2341c3f9435b9ebb0
diff --git a/media-gfx/pngquant/metadata.xml b/media-gfx/pngquant/metadata.xml
new file mode 100644
index 000000000000..e770d1bc9a96
--- /dev/null
+++ b/media-gfx/pngquant/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>graphics</herd>
+</pkgmetadata>
diff --git a/media-gfx/pngquant/pngquant-1.8.2.ebuild b/media-gfx/pngquant/pngquant-1.8.2.ebuild
new file mode 100644
index 000000000000..2db4db147667
--- /dev/null
+++ b/media-gfx/pngquant/pngquant-1.8.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngquant/pngquant-1.8.2.ebuild,v 1.1 2013/02/20 18:36:24 ssuominen Exp $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs"
+HOMEPAGE="http://pngquant.org/"
+SRC_URI="http://pngquant.org/${P}-src.tar.bz2"
+
+LICENSE=pngquant
+SLOT=0
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libpng:0=
+ sys-libs/zlib:="
+DEPEND=${RDEPEND}
+
+src_prepare() {
+ # Failure in upstream logic. Otherwise we lose the -I and -L flags
+ # from Makefile.
+ sed -i \
+ -e 's:CFLAGS ?=:CFLAGS +=:' \
+ -e 's:LDFLAGS ?=:LDFLAGS +=:' \
+ Makefile || die
+}
+
+src_compile() {
+ tc-export CC
+ emake CFLAGSOPT=''
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX=/usr install
+ dodoc CHANGELOG README.md
+}