gdal: add libavif optional dependency

This commit is contained in:
Austin Horstman 2024-11-09 09:08:21 -06:00
parent cd5b40ab2b
commit 1677c4a3d5
No known key found for this signature in database

View File

@ -9,6 +9,7 @@
useArrow ? (!useMinimalFeatures),
useHDF ? (!useMinimalFeatures),
useJava ? (!useMinimalFeatures),
useLibAvif ? (!useMinimalFeatures),
useLibHEIF ? (!useMinimalFeatures),
useLibJXL ? (!useMinimalFeatures),
useMysql ? (!useMinimalFeatures),
@ -42,6 +43,7 @@
json_c,
lerc,
libaom,
libavif,
libde265,
libdeflate,
libgeotiff,
@ -137,6 +139,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs =
let
tileDbDeps = lib.optionals useTiledb [ tiledb ];
libAvifDeps = lib.optionals useLibAvif [ libavif ];
libHeifDeps = lib.optionals useLibHEIF [
libheif
dav1d
@ -205,6 +208,7 @@ stdenv.mkDerivation (finalAttrs: {
python3.pkgs.numpy
]
++ tileDbDeps
++ libAvifDeps
++ libHeifDeps
++ libJxlDeps
++ mysqlDeps