mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-02 19:14:14 +00:00
gdal: add libavif optional dependency
This commit is contained in:
parent
cd5b40ab2b
commit
1677c4a3d5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user