Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 458314 - media-gfx/pngquant - utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs
Summary: media-gfx/pngquant - utility for converting 24/32-bit PNG images to paletted ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://pngquant.org/
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2013-02-19 16:22 UTC by Steffen Weber
Modified: 2013-02-20 18:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pngquant 1.8.2 ebuild (pngquant-1.8.2.ebuild,403 bytes, text/plain)
2013-02-19 16:22 UTC, Steffen Weber
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Weber 2013-02-19 16:22:55 UTC
Created attachment 339370 [details]
pngquant 1.8.2 ebuild

"pngquant is a command-line utility for converting 24/32-bit PNG images to paletted (8-bit) PNGs." - http://pngquant.org/

This is my first ebuild. If something is missing/wrong please let me know.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-02-20 18:38:53 UTC
emake install worked too after adjusting it. there was problems with CFLAGS and LDFLAGS, fixed in src_prepare now. CFLAGSOPT also caused problems, forced optimizations. missing CC so gcc was used directly, had to inherit toolchain-funcs.eclass to get 'tc-export CC' command which is essentially same as `export CC="${CHOST}-gcc`. EAPI should be latest, version 5. added subslotting to the lib deps. license wasn't BSD but first half of it was same as pngnq uses, second half something different, required committing own license file.
and then some more :)

look at the ebuild in portage and you'll see what was missing

thanks for submitting -> in portage -> closing