summaryrefslogtreecommitdiff
path: root/media-gfx/pngquant
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/pngquant')
-rw-r--r--media-gfx/pngquant/Manifest7
-rw-r--r--media-gfx/pngquant/metadata.xml17
-rw-r--r--media-gfx/pngquant/pngquant-2.5.2.ebuild39
-rw-r--r--media-gfx/pngquant/pngquant-2.7.2.ebuild39
4 files changed, 102 insertions, 0 deletions
diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest
new file mode 100644
index 000000000000..ab12e1d21a82
--- /dev/null
+++ b/media-gfx/pngquant/Manifest
@@ -0,0 +1,7 @@
+DIST pngquant-2.5.2-src.tar.bz2 54611 SHA256 5b064596305c6f765a753e96e08224dd71b31c20b72bdaf0f205da16b76a347d SHA512 d542765bc1f7e22fd7199cd4aeb8dc7b82fa87fe05c53ca6b7919522e081c861d419a541909284aa4e5dcfeeedb19729a50150d9139389c1949b3aeaf4933401 WHIRLPOOL 84682a44087a51a5475f1d21e3ce9e58fbb7cee81dc76c3e52cd234a28e80bd56686cc5323dcf8202e3a46fab3ca59278f45efee54dc93277040e742592bb064
+DIST pngquant-2.7.2-src.tar.gz 91721 SHA256 75801ed048c40cc4bff12773892d16d7ff00c11b9c549845c2133fd3abca17c2 SHA512 ab84651cf0b5f3af2095b5741e0d03f4ddedbed59e75c5c75faeac20efa8dd2fb482f2a8d9447b5673e9ae6970b9af8dfdbe40062bdf377206ee87eaa69ed9d8 WHIRLPOOL 88a6b77b8204e43f5f97815f34df103f31936e75f4e4822d7f8ac3d2ec80d5a584af7645277ef57d663159d088ce326c15d3eb69d016a682858e3658aabfa410
+EBUILD pngquant-2.5.2.ebuild 946 SHA256 49240acc2a3517a2245bb001b7f9589ce449f85b90f1241039f73f1cae57e4b7 SHA512 0a9e059e99d0c96b4d4506c75edfce6f70ba73b0395bbb4953fbd67b2d790ecc949b111563396b8295168d91a5f196a404d3892e6a16f3fa1b1916db97a4b314 WHIRLPOOL 50eb2b31b4c530b97761e6a56f9cb4c390ca65b4e92f97537db015739e8a6f97b2956aeb5e16f91c5ea47f13b347e89471f2e9c026ef19088c48c4278263d7a2
+EBUILD pngquant-2.7.2.ebuild 949 SHA256 a223c679a2fd469803a777a409dce152695e5874a914d869f9f82cb2e5031793 SHA512 f895a15658ad06e9f18bcd388877bc0519f4131d6cf6aca3924300073dc684bac4d5d07c403040870d14a18ad88e7832506fceba0da38ca2063829d5e398fed8 WHIRLPOOL d021c30a9a9c2a4c40e6ca072ebe2cb013f37faada270f8d9ea57f1d394e241619752bcdb6dad52b20efc67a87cee364b68d8f092e57d4b85c64424be3806a9f
+MISC ChangeLog 3568 SHA256 4243163d1859f8a21d4386117ab9ab01302a66d96d2272809c3d27e7ead30197 SHA512 8f4cee9fa905712a9db1772b5be14e55ed4a4caf69fe0a31b73ce07a804161632465557acb829fb2181d74616aca7e5f84fcc9d93f30f025d3de271ee82a30a4 WHIRLPOOL d777b078e5793532ca27dbb84c1aef904c972bfd6bd63392d1d690a152fc3c8c04c5ab64016eb11d0b070bfee52fd554480dfe5ddfe189c4e97a427dcd57ee09
+MISC ChangeLog-2015 1609 SHA256 7bc66afd2782662fc2754a57135ed01befbfe3d4a7f07c2578ae3b94eec679ff SHA512 351677cb2a131b5841b65d63cc3699ebe56d3605a6043800538e462b1d3cdcef6ccdc7d705b70124f33cbd3dfd32b1cff134883dbe46d1acf843793ba7331221 WHIRLPOOL 3121f06bb1504fd7f1709ad2134088c5eea1957404b7f4540b6baa26059363f0d1d9033aaad0a66b8f530829ec500667a43aa574e7e45735fad5405792c97a24
+MISC metadata.xml 542 SHA256 ff741a2eafdbf1be9a113a23db2091de3deb7ac774ffb11c3b29c67fe00195b0 SHA512 77bc685becffe4e065318a0f5310402fc72d5b52a5a29d2c812b3797ff40761599b7d1df9d4e6ae73308de5c41763004798c30053a9005cafc8282760c4b7225 WHIRLPOOL f241c6b05bc4a45b396adbeed8ebca8e6d97dcef63a0ae03eb8139a6ecdd2b466e2078e01d85a5113f48ec3b312a12a19839e3f5eb13de2e0513e86a66572fa0
diff --git a/media-gfx/pngquant/metadata.xml b/media-gfx/pngquant/metadata.xml
new file mode 100644
index 000000000000..0f41a1d113c4
--- /dev/null
+++ b/media-gfx/pngquant/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>alex_y_xu@yahoo.ca</email>
+ <name>Alex Xu</name>
+ <description>Proxied maintainer</description>
+ </maintainer>
+<maintainer type="project">
+ <email>graphics@gentoo.org</email>
+ <name>Gentoo Graphics Project</name>
+ </maintainer>
+<maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/media-gfx/pngquant/pngquant-2.5.2.ebuild b/media-gfx/pngquant/pngquant-2.5.2.ebuild
new file mode 100644
index 000000000000..04a3c8e8cd2b
--- /dev/null
+++ b/media-gfx/pngquant/pngquant-2.5.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="5"
+
+inherit toolchain-funcs
+
+DESCRIPTION="command-line utility and library for lossy compression of PNG images"
+HOMEPAGE="http://pngquant.org/"
+SRC_URI="http://pngquant.org/${P}-src.tar.bz2"
+
+LICENSE="HPND rwpng"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug lcms openmp cpu_flags_x86_sse2"
+
+RDEPEND="media-libs/libpng:0=
+ sys-libs/zlib:=
+ lcms? ( media-libs/lcms:2 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ tc-export AR CC
+ # Hand rolled configure script, so not all flags are supported.
+ ./configure \
+ --prefix="${EPREFIX}/usr" \
+ $(use debug && echo --enable-debug) \
+ $(use_enable cpu_flags_x86_sse2 sse) \
+ $(use openmp && tc-has-openmp && echo --with-openmp) \
+ $(use_with lcms lcms2) \
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+ dodoc CHANGELOG README.md
+}
diff --git a/media-gfx/pngquant/pngquant-2.7.2.ebuild b/media-gfx/pngquant/pngquant-2.7.2.ebuild
new file mode 100644
index 000000000000..a9d5a186736e
--- /dev/null
+++ b/media-gfx/pngquant/pngquant-2.7.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="command-line utility and library for lossy compression of PNG images"
+HOMEPAGE="http://pngquant.org/"
+SRC_URI="http://pngquant.org/${P}-src.tar.gz"
+
+LICENSE="GPL-3 HPND rwpng"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug lcms openmp cpu_flags_x86_sse2"
+
+RDEPEND="media-libs/libpng:0=
+ sys-libs/zlib:=
+ lcms? ( media-libs/lcms:2 )"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ tc-export AR CC
+ # Hand rolled configure script, so not all flags are supported.
+ ./configure \
+ --prefix="${EPREFIX}/usr" \
+ $(use debug && echo --enable-debug) \
+ $(use_enable cpu_flags_x86_sse2 sse) \
+ $(use openmp && tc-has-openmp && echo --with-openmp) \
+ $(use_with lcms lcms2) \
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin ${PN}
+ doman ${PN}.1
+ dodoc CHANGELOG README.md
+}