Commit 8001788d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

stack/erp5: add jpegoptim and optipng.

parent 4d516ba0
# Jpegoptim - utility to optimize jpeg files.
# https://www.kokkonen.net/tjko/projects.html
[buildout]
extends =
../libjpeg/buildout.cfg
[jpegoptim]
recipe = slapos.recipe.cmmi
url = https://www.kokkonen.net/tjko/src/jpegoptim-1.4.6.tar.gz
md5sum = 844c572d69fd5af75f0616b86e63962d
configure-options =
--with-libjpeg=${libjpeg:location}
environment =
LDFLAGS=-Wl,-rpath=${libjpeg:location}/lib
# OptiPNG is a PNG optimizer that recompresses image files to a smaller size, without losing any information.
# http://optipng.sourceforge.net/
[buildout]
extends =
../libpng/buildout.cfg
../zlib/buildout.cfg
[optipng]
recipe = slapos.recipe.cmmi
url = http://prdownloads.sourceforge.net/optipng/optipng-0.7.7.tar.gz
md5sum = 211101965baf42fd24a2aa990b7e842e
configure-options =
--with-system-libpng
--with-system-zlib
environment =
CPPFLAGS=-I${libpng:location}/include -I${zlib:location}/include
LDFLAGS=-L${libpng:location}/lib -Wl,-rpath=${libpng:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
......@@ -14,6 +14,7 @@ extends =
../../component/findutils/buildout.cfg
../../component/librsvg/buildout.cfg
../../component/imagemagick/buildout.cfg
../../component/jpegoptim/buildout.cfg
../../component/kumo/buildout.cfg
../../component/libdmtx/buildout.cfg
../../component/matplotlib/buildout.cfg
......@@ -21,6 +22,7 @@ extends =
../../component/statsmodels/buildout.cfg
../../component/h5py/buildout.cfg
../../component/ocropy/buildout.cfg
../../component/optipng/buildout.cfg
../../component/pandas/buildout.cfg
../../component/percona-toolkit/buildout.cfg
../../component/patch/buildout.cfg
......@@ -240,11 +242,13 @@ link-binary =
${grep:location}/bin/grep
${imagemagick:location}/bin/convert
${imagemagick:location}/bin/identify
${jpegoptim:location}/bin/jpegoptim
${jsl:location}/bin/jsl
${librsvg:location}/bin/rsvg-convert
${mariadb:location}/bin/mysql
${mariadb:location}/bin/mysqldump
${openssl:location}/bin/openssl
${optipng:location}/bin/optipng
${poppler:location}/bin/pdfinfo
${poppler:location}/bin/pdftohtml
${poppler:location}/bin/pdftotext
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment