diff options
author | Christian Hesse <mail@eworm.de> | 2015-01-26 11:25:23 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2015-02-01 12:19:04 +0100 |
commit | 9917930ae1f02fdf85c1ca2a35ee039f1a17368f (patch) | |
tree | 3612bf435fa5c40d13ee84b6365235a07e591d15 /etc | |
parent | bd2e95b00be2ce36767811d2da6d291c85f9a3f1 (diff) | |
download | pacman-9917930ae1f02fdf85c1ca2a35ee039f1a17368f.tar.gz pacman-9917930ae1f02fdf85c1ca2a35ee039f1a17368f.tar.xz |
add option to optimize PNG images with optipng
This can decrease package size by optimizing PNG image size. Images are
just stored with better compression and/or filter options. The actual
image content is not altered.
Additionally this can automatically fix broken PNG images which caused
some trouble lately.
Signed-off-by: Christian Hesse <mail@eworm.de>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/makepkg.conf.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/makepkg.conf.in b/etc/makepkg.conf.in index 19f673d1..71ec624b 100644 --- a/etc/makepkg.conf.in +++ b/etc/makepkg.conf.in @@ -71,7 +71,7 @@ BUILDENV=(!distcc color !ccache check !sign) # These are default values for the options=() settings ######################################################################### # -# Default: OPTIONS=(strip docs libtool staticlibs emptydirs zipman purge !upx !debug) +# Default: OPTIONS=(strip docs libtool staticlibs emptydirs zipman purge !upx !optipng !debug) # A negated option will do the opposite of the comments below. # #-- strip: Strip symbols from binaries/libraries @@ -82,9 +82,10 @@ BUILDENV=(!distcc color !ccache check !sign) #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip #-- purge: Remove files specified by PURGE_TARGETS #-- upx: Compress binary executable files using UPX +#-- optipng: Optimize PNG images with optipng #-- debug: Add debugging flags as specified in DEBUG_* variables # -OPTIONS=(strip docs libtool staticlibs emptydirs zipman purge !upx !debug) +OPTIONS=(strip docs libtool staticlibs emptydirs zipman purge !upx !optipng !debug) #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512 INTEGRITY_CHECK=(md5) |