summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2014-01-19 07:33:38 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2014-01-19 07:33:38 +0000
commitf1eedc06c1cdbfaa4a1589d12af1b5d22b695a21 (patch)
treeac956a9f64aefb1682e5de080ffc77a053efe410 /media-gfx/pngquant
parentRevert mask for usleep due to unresolved bugs. (diff)
downloadhistorical-f1eedc06c1cdbfaa4a1589d12af1b5d22b695a21.tar.gz
historical-f1eedc06c1cdbfaa4a1589d12af1b5d22b695a21.tar.bz2
historical-f1eedc06c1cdbfaa4a1589d12af1b5d22b695a21.zip
Version bump wrt #498004 by Alex Xu
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0x4868F14D
Diffstat (limited to 'media-gfx/pngquant')
-rw-r--r--media-gfx/pngquant/ChangeLog10
-rw-r--r--media-gfx/pngquant/Manifest20
-rw-r--r--media-gfx/pngquant/pngquant-2.0.2.ebuild48
3 files changed, 66 insertions, 12 deletions
diff --git a/media-gfx/pngquant/ChangeLog b/media-gfx/pngquant/ChangeLog
index f40814df6aec..401b96e82121 100644
--- a/media-gfx/pngquant/ChangeLog
+++ b/media-gfx/pngquant/ChangeLog
@@ -1,6 +1,11 @@
# 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.4 2013/04/08 14:47:03 ssuominen Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngquant/ChangeLog,v 1.5 2014/01/19 07:33:29 ssuominen Exp $
+
+*pngquant-2.0.2 (19 Jan 2014)
+
+ 19 Jan 2014; Samuli Suominen <ssuominen@gentoo.org> +pngquant-2.0.2.ebuild:
+ Version bump wrt #498004 by Alex Xu
08 Apr 2013; Samuli Suominen <ssuominen@gentoo.org> pngquant-1.8.3.ebuild,
+files/pngquant-1.8.3-libpng16.patch:
@@ -19,4 +24,3 @@
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
index 561ba9a9cc57..af1932a56b03 100644
--- a/media-gfx/pngquant/Manifest
+++ b/media-gfx/pngquant/Manifest
@@ -4,18 +4,20 @@ Hash: SHA256
AUX pngquant-1.8.3-libpng16.patch 1791 SHA256 5f0b892bc96765ac9d3f4e400d3038e49ca1a38ff93788f87a110cad313f5b04 SHA512 c012f71c4ce749e4622ca40e7b7538bcb9f420724b51d5d1dabe3837dd87e719ee049819a77637dd1a551769d7b0f3902f423a8b95e18e583a7be65ffc2e5729 WHIRLPOOL 8d1f3c15087374c1ce807e31ab64f227b22fcc95820c489aef33e502f3faebfd3cef4fcc416d35124cba36fad3f48c3be26277285fbfea29e41c96b847a8ab43
DIST pngquant-1.8.2-src.tar.bz2 31901 SHA256 a51924ad141c010516e46122e84c6d1882d26b7e984900aaa107d74274e1a396 SHA512 394688ea754be781f96372a793c4186d35014dc1fc3b974e2335542d0aaaebe811bd4db5c34f7d7ec492aa38ff8b46c43a6ce77dc78483c4d43afb8aef8ba708 WHIRLPOOL 1904afa05206b11458fe54889cfacee0267f85379186e1cd344a4dc8411598e79e1950a90e1f997b212e0a5b8ed3c13acfce36a2300e0afa295c0eac361d44fa
DIST pngquant-1.8.3-src.tar.bz2 32287 SHA256 e3d18b12ddf4ee159a696408b147d667674e52121f11660fc15ce3967dd053b9 SHA512 6a123722d1b035fd9cff51004ab222e5d6cc09890cdc440683609b187d492a24f924fec7b15201c8c4bff84bb3891d7f17a99fd24714b71d4ab3c8ac5c3cfc38 WHIRLPOOL a799e840e645c6bd5ec4ce118d5af8b263f3d1ca0ed898ed447bee8ffa98d61eb97eab392cd7db0440600568809891b9cac1c033cfecac65d0c36bca446f469f
+DIST pngquant-2.0.2-src.tar.bz2 45160 SHA256 e1988b18cab1efb889224ac1d640510f09464b5b6fd43beb5edcb161b67db96f SHA512 9e7f652c8e32d408e3f2ccd7854961d8b49e3517f847018cddb9ed415f4bc820c00d27a15760222af33e631a2023c57c420ca306a56f717d2de526da4b5670b8 WHIRLPOOL f0af27fbd3d172677b5cae0bf20d13b71a66fb7738c3b9576b19b785a29b6cd77c21935b3aeb51230696cfb05f4495eca2977d885d616e344f0bf2be079e3621
EBUILD pngquant-1.8.2.ebuild 902 SHA256 47969eae4c7b4913ac76bdc2fbbe25d34a4c3d526685de9ad8b607934456ce25 SHA512 0cbb9abf3866699ec21c477493e01808a4fa1b0ec357be8388f5df61c3e43fa2213e98326fb2c267dcedfe4918f1b080f3e8f9def90e170e8b07a1118392a317 WHIRLPOOL 9ab21a59d10d5e311332ef2b37527bb685d38ae5141bbf8854751844a957c4c8316cf18391b0c65ea1286267eb5635f61372369a5cceaa64eb3efd1db8252a9b
EBUILD pngquant-1.8.3.ebuild 1196 SHA256 4e4e4a094550c6ffe03ab8937b0f4b7f05de34b6d5b6b62f519d5dd9bf64fbc8 SHA512 e6797658a54777cc168cc4900aed3ca0c88e17b8f8388f1a956db7c4364ef889f3e20bcdfaa52fd2c0a4e61ec06ab1fd175c41385b933495d097384d00013404 WHIRLPOOL c6d6cd2139320df7bd5f67b856ab1eade2c357b6c739c9b72d9ba3ceb5b43190594356c46495fbe6be45c0ecb743b838a9d600e448ba62dc60009c464ac9c390
-MISC ChangeLog 909 SHA256 16967d1fb2786e1d585df6faf22ac10e9cd773b82b7b9fa54a3f54be957e6198 SHA512 9bc4e243c66ee83df34fe91eb6e2a29da33ea6ed2bd5a7618a0b0d236e22176ad8983045f1662fae438df81e5a3be01209e31f19ea5e45c4bb250dd45bdfe24a WHIRLPOOL 980087cfd7ddd34f8be681a1e554d49643839a136179683d2d71116f20b2ce8c1ae6c75f05ec676299beea7f5628016b52d1b914168cac1a330d539c459fae1b
+EBUILD pngquant-2.0.2.ebuild 1126 SHA256 b3c5f1a4f206dca1d9717d98a8af230fbec02f1d438ceb316d88315dbe4d4474 SHA512 2ff6fd66f65a12e00b20544616c5aa758a4712d1808b603cf7c0aa5f53bb0c2149b0332c22bfcfda3198b8eb34bbb95b8528c2a5958bd2ac2056b91e594f1666 WHIRLPOOL 887898b64503f83a1ec913a3f68138c62c264d05ff1f3fbfc54b5050447a6a91f6f9da10134cd73eae1c6570f6d10bc31ce3196839fdfffadc3e80b7df7a02ca
+MISC ChangeLog 1056 SHA256 73e4b459cf8570e649db15f1ac8ca29382b3b74f65a69f2515f67825cc5a4108 SHA512 a070ed81d0185b43c8198acf845969e12e5d797353c743c82a7978833b926d3ff6b28b7a253d830371961c647dd1b3aadbf5be2bc74af67d875178953714d7a9 WHIRLPOOL c33dae30df2b6b18cfae9617f067cafc90dd141564348eb4a6b86ed917832d765e43a0ccaf3500b7fada724b8fc0d15d910568b8d692a133a59c2a45e1a52b7f
MISC metadata.xml 161 SHA256 e8daadc5e27e3ef1148993b5b48d96e93bc36d798a1f416693f7f8c84be427e1 SHA512 425caf0160f1410ce7bf1d4639020be7f6335152c339edbce80676bff4166f1cab3ae9e13161c47b98dc00741dab3bfa45e9572a3314844476e480f5c2b58d7d WHIRLPOOL ad7cdd3352dbc12cb4181fb5d63b5aee5ce3a151b975c12a96c4a5c91f751736d27282ad22633c7e768230266bce5d17947735d33ef5c5c2341c3f9435b9ebb0
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJRYtjhAAoJEEdUh39IaPFNUvoH/3PuwAI94Nwfwpl+TPWZTZgc
-n5Y/BVfD+3ZdPuxAfGP3Xye6L65Zcicpv3rugif1nQ+SxKsX37pv97Qx46vI7Dtr
-uxADs8saTLKyi+K7+SVYWd7HGmnaJSUwARZuWUrRp+epzWWM4dgmVJmKOP8jx8aF
-9Ahr85rjvj/7HAmcCVDg71fAxxqNGk+HNy0Gwn/dKKxUShGrV35AEnz28mygds6h
-hy3xmym1RPp8Lh+z+Jm/yYr5biNvZqVjnlJj7iS6mcYtqQ7y7mJdyFiD/QfpLaeM
-MspjvB3W20zq2vPL05UOcecoEhlY2JBUAuxlOFeDGgoemhhyKaskyt4//xHBRPE=
-=JZT9
+iQEcBAEBCAAGBQJS238RAAoJEEdUh39IaPFNBt0H/3aN7Wh0XyJceb9oObEQp/ke
+L4T8z6xw9NulCFIM5wBLgaBIOtzzrqQ3QWJPFpFgeVQFW/7u0i3UVIKn9Jm6hds7
+nnM32Hij7TVzLeoIs7kQJEoAZnbt5ezxx/LH8gYO2/uhnFjkxEGOqI1CKbNWV6Qs
+3mTqRZp37m4rE9q/c+eqEw22ab8if4N3+lL7vxhxTsVB0fIEhgtMiVhIyTXHqQDY
+WONOnJKLXQs4lAkTvssIgu0mHge6FeafGa4xhOJnJxz2UbCbzr5dpJBxoPCpvazS
+lM+ZjqIQvKscaxtshra5Iv02v33B3yn12tEzkAaBhinfmu2Isli1Xx7KexhQrLk=
+=CBfp
-----END PGP SIGNATURE-----
diff --git a/media-gfx/pngquant/pngquant-2.0.2.ebuild b/media-gfx/pngquant/pngquant-2.0.2.ebuild
new file mode 100644
index 000000000000..9beae10107a2
--- /dev/null
+++ b/media-gfx/pngquant/pngquant-2.0.2.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngquant/pngquant-2.0.2.ebuild,v 1.1 2014/01/19 07:33:29 ssuominen Exp $
+
+EAPI=5
+inherit eutils flag-o-matic 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="HPND rwpng"
+SLOT=0
+KEYWORDS="~amd64 ~x86"
+IUSE="debug openmp sse2"
+
+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() {
+ use debug || append-cflags -DNDEBUG
+ use sse2 && append-cflags -DUSE_SSE=1
+
+ local openmp
+ if use openmp && tc-has-openmp; then
+ append-cflags -fopenmp
+ openmp="-lgomp"
+ fi
+
+ tc-export CC
+ emake CFLAGSOPT="" OPENMPFLAGS="${openmp}"
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+ dodoc CHANGELOG README.md
+}