File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -99,6 +99,7 @@ LIBPNG_VERSION=1.6.49
9999JPEGTURBO_VERSION=3.1.1
100100OPENJPEG_VERSION=2.5.3
101101XZ_VERSION=5.8.1
102+ ZSTD_VERSION=1.5.7
102103TIFF_VERSION=4.7.0
103104LCMS2_VERSION=2.17
104105ZLIB_VERSION=1.3.1
@@ -234,6 +235,14 @@ function build_libavif {
234235 touch libavif-stamp
235236}
236237
238+ function build_zstd {
239+ if [ -e zstd-stamp ]; then return ; fi
240+ local out_dir=$( fetch_unpack https://github.com/facebook/zstd/releases/download/v$ZSTD_VERSION /zstd-$ZSTD_VERSION .tar.gz)
241+ (cd $out_dir \
242+ && make install)
243+ touch zstd-stamp
244+ }
245+
237246function build {
238247 build_xz
239248 if [ -z " $IS_ALPINE " ] && [ -z " $SANITIZER " ] && [ -z " $IS_MACOS " ]; then
@@ -265,6 +274,7 @@ function build {
265274 --with-jpeg-include-dir=$BUILD_PREFIX /include --with-jpeg-lib-dir=$BUILD_PREFIX /lib \
266275 --disable-webp --disable-libdeflate --disable-zstd
267276 else
277+ build_zstd
268278 build_tiff
269279 fi
270280
You can’t perform that action at this time.
0 commit comments