Skip to content

Commit

Permalink
gdal: add 'jpegxl' variant for JPEG XL support
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Jan 9, 2024
1 parent 3b8c14c commit 512a7e0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gis/gdal/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,8 @@ configure.args-append \
-DGDAL_USE_HEIF=OFF \
-DGDAL_USE_ICONV=ON \
-DGDAL_USE_IDB=OFF \
-DGDAL_USE_JXL=OFF \
-DGDAL_USE_JXL_THREADS=OFF \
-DGDAL_USE_LIBAEC=ON \
-DGDAL_USE_LIBKML=OFF \
-DGDAL_USE_LIBLZMA=OFF \
Expand Down Expand Up @@ -414,6 +416,12 @@ variant heif description {Enable HEIF support} {
configure.args-append -DGDAL_ENABLE_DRIVER_HEIF=ON
}

variant jpegxl description {Enable JPEG XL support} {
depends_lib-append port:libjxl
configure.args-replace -DGDAL_USE_JXL=OFF -DGDAL_USE_JXL=ON \
-DGDAL_USE_JXL_THREADS=OFF -DGDAL_USE_JXL_THREADS=ON
}

variant kea description {Enable KEA support} {
depends_lib-append port:kealib
configure.args-append -DGDAL_ENABLE_DRIVER_KEA=ON
Expand Down

0 comments on commit 512a7e0

Please sign in to comment.