Mercurial > vanilla
diff graphics/libtiff/libtiff.sh @ 1094:3dece1f7570b
vanilla: add many ghost dependencies
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 09 Sep 2019 21:10:00 +0200 |
parents | ddab65a5b3f5 |
children | 6710613b88b9 |
line wrap: on
line diff
--- a/graphics/libtiff/libtiff.sh Mon Sep 09 21:05:00 2019 +0200 +++ b/graphics/libtiff/libtiff.sh Mon Sep 09 21:10:00 2019 +0200 @@ -18,10 +18,10 @@ PKGNAME=libtiff PKGVERSION=4.0.10 PKGREVISION=1 -PKGLICENSE="one of README.licenses.md or CUSTOM" -PKGSUMMARY="short summary" +PKGLICENSE="CUSTOM" +PKGSUMMARY="TIFF libraries and utilities" PKGDOWNLOAD="https://download.osgeo.org/$PKGNAME/tiff-$PKGVERSION.tar.gz" -PKGOPTIONS="JPEG LZMA ZLIB ZSTD" +PKGOPTIONS="JPEG LZMA WEBP ZLIB ZSTD" : ${CHOST:=$(uname -m)-linux-musl} : ${CBUILD:=$(uname -m)-linux-musl} @@ -33,6 +33,7 @@ : ${LIBS:=} : ${JPEG:=yes} : ${LZMA:=yes} +: ${WEBP:=yes} : ${ZLIB:=yes} : ${ZSTD:=yes} @@ -50,6 +51,13 @@ with_lzma="--disable-lzma" fi +if [ "$WEBP" = "yes" ]; then + PKGDEPENDS="libwebp $PKGDEPENDS" + with_webp="--enable-webp" +else + with_webp="--disable-webp" +fi + if [ "$ZLIB" = "yes" ]; then PKGDEPENDS="zlib $PKGDEPENDS" with_zlib="--enable-zlib" @@ -84,6 +92,7 @@ --enable-shared \ $with_jpeg \ $with_lzma \ + $with_webp \ $with_zlib \ $with_zstd make