From b8f494a2548c7a2a3313f81543f1455c44bd4068 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Wed, 6 Apr 2022 12:07:58 +0200 Subject: [PATCH] gdal: link against libjxl Also requires internal libtiff. libjxl linkage was requested in https://github.com/termux/termux-packages/issues/9895. --- packages/gdal/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/gdal/build.sh b/packages/gdal/build.sh index 95e01f706..68b743e5c 100644 --- a/packages/gdal/build.sh +++ b/packages/gdal/build.sh @@ -6,7 +6,7 @@ TERMUX_PKG_MAINTAINER="@termux" TERMUX_PKG_VERSION=3.4.2 TERMUX_PKG_SRCURL=https://download.osgeo.org/gdal/${TERMUX_PKG_VERSION}/gdal-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=16baf03dfccf9e3f72bb2e15cd2d5b3f4be0437cdff8a785bceab0c7be557335 -TERMUX_PKG_DEPENDS="libc++, openjpeg, libcurl, libtiff, libpng, proj, libiconv, libsqlite, libgeos, libspatialite, libexpat, openssl, postgresql, netcdf-c" +TERMUX_PKG_DEPENDS="libc++, openjpeg, libcurl, libtiff, libpng, proj, libiconv, libsqlite, libgeos, libspatialite, libexpat, openssl, postgresql, netcdf-c, libjxl" TERMUX_PKG_BREAKS="gdal-dev" TERMUX_PKG_REPLACES="gdal-dev" TERMUX_PKG_GROUPS="science" @@ -15,6 +15,8 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-sqlite3=$TERMUX_PREFIX --with-spatialite=$TERMUX_PREFIX --with-expat=$TERMUX_PREFIX +--with-libtiff=internal +--with-jxl=$TERMUX_PREFIX " termux_step_pre_configure() {