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