diff options
author | Que Quotion | 2016-03-21 00:05:58 +0900 |
---|---|---|
committer | Que Quotion | 2016-03-21 00:05:58 +0900 |
commit | 8bb63243303fb313baf09a95c3e49ae923b0781a (patch) | |
tree | bb452c9a742a7efce00a8d266d9b220d899553d2 /00.optipng.patch | |
download | aur-8bb63243303fb313baf09a95c3e49ae923b0781a.tar.gz |
makepkg-optimize
A fork of makepkg for the inclusion of extraneous optimization
routines. Intended for users who want or need extreme amounts
of compiler optimization, executable compression, etc.
Diffstat (limited to '00.optipng.patch')
-rw-r--r-- | 00.optipng.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/00.optipng.patch b/00.optipng.patch new file mode 100644 index 000000000000..0c02a0ce1140 --- /dev/null +++ b/00.optipng.patch @@ -0,0 +1,17 @@ +--- makepkg-optimize ++++ makepkg-optimize +@@ -1556,6 +1556,14 @@ + fi + fi + ++ # optipng - PNG image optimization ++ if check_option "optipng" "y"; then ++ if ! type -p optipng >/dev/null; then ++ error "$(gettext "Cannot find the %s binary required for optimizing PNG images.")" "optipng" ++ ret=1 ++ fi ++ fi ++ + # distcc - compilation with distcc + if check_buildoption "distcc" "y"; then + if ! type -p distcc >/dev/null; then |