diff options
Diffstat (limited to 'media-gfx/pngquant')
-rw-r--r-- | media-gfx/pngquant/Manifest | 2 | ||||
-rw-r--r-- | media-gfx/pngquant/pngquant-2.11.4.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/media-gfx/pngquant/Manifest b/media-gfx/pngquant/Manifest index dd66e26687f3..cefe2e460772 100644 --- a/media-gfx/pngquant/Manifest +++ b/media-gfx/pngquant/Manifest @@ -1,5 +1,7 @@ +DIST pngquant-2.11.4-src.tar.gz 142149 BLAKE2B eccf0c7a279d62981cfdf44ab0e378b2331377cd892019161b453edc7ffe73616a2aa83a07cf5f8d7292a0f96bf25612c23129348463cac73647021eae44f160 SHA512 171949977e1fd71c05bd75552f2e62535f6c15f31c3192cbe31df7451091634a6fbbfd08b47dd040f353af3b5f41fcc13db4421a212ca07cc6836f029635ddd0 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.11.4.ebuild 1001 BLAKE2B b448d71c1b9b5f97cfbb96a2f400933c697cf7821f34a1e78731b6fbf23856fcaa079d9a43d9346a2899b55217f6f7ce65a0f52315f89464ea321ec2c7f75224 SHA512 e3c453cb022071993544a910d95025e88222732fd5b533b4ef7b4b4c8fbe42d052528c9329af704d9ba53e7d8e522b2f87895013a337999afd3fe5656ea805cd EBUILD pngquant-2.5.2.ebuild 946 BLAKE2B 1331a1223d2b795427398ffb3c002ab4ec8e3ace914aa9dd45bedcd927c09e325894346f5f164827180a2651cb4953148c64f71c9bcd5ed516989ae0aeddc398 SHA512 0a9e059e99d0c96b4d4506c75edfce6f70ba73b0395bbb4953fbd67b2d790ecc949b111563396b8295168d91a5f196a404d3892e6a16f3fa1b1916db97a4b314 EBUILD pngquant-2.7.2.ebuild 949 BLAKE2B f1cab7bef58f710abc1ff6a6a190ab47e79f689add003de67877e495855516330268df9a6f467abccdb779a2a3eaf369c3a91c29b10540c1b845171acede851e SHA512 f895a15658ad06e9f18bcd388877bc0519f4131d6cf6aca3924300073dc684bac4d5d07c403040870d14a18ad88e7832506fceba0da38ca2063829d5e398fed8 MISC metadata.xml 542 BLAKE2B 689fca130bae0cd3fbe8401a272fc6cf243f278536aea44b81d1695b720950cb14883291875abb60a6cec3ba7acbf58af36ceb7003816ff8c339d1b4f994fe55 SHA512 77bc685becffe4e065318a0f5310402fc72d5b52a5a29d2c812b3797ff40761599b7d1df9d4e6ae73308de5c41763004798c30053a9005cafc8282760c4b7225 diff --git a/media-gfx/pngquant/pngquant-2.11.4.ebuild b/media-gfx/pngquant/pngquant-2.11.4.ebuild new file mode 100644 index 000000000000..fb15ab76cb4f --- /dev/null +++ b/media-gfx/pngquant/pngquant-2.11.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2017 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= + media-gfx/libimagequant:= + 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" \ + --with-libimagequant \ + $(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 +} |