1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

ffmpeg: add ilbc options

This commit is contained in:
jopejoe1 2024-08-13 23:24:26 +02:00
parent f236d96d3b
commit d91ad22d82

View file

@ -69,6 +69,7 @@
, withGsm ? withFullDeps # GSM de/encoder
, withHarfbuzz ? withHeadlessDeps && lib.versionAtLeast version "6.1" # Needed for drawtext filter
, withIconv ? withHeadlessDeps
, withIlbc ? withFullDeps # iLBC de/encoding
, withJack ? withFullDeps && !stdenv.isDarwin # Jack audio
, withJxl ? withFullDeps && lib.versionAtLeast version "5" # JPEG XL de/encoding
, withLadspa ? withFullDeps # LADSPA audio filtering
@ -252,6 +253,7 @@
, libGL
, libGLU
, libiconv
, libilbc
, libjack2
, libjxl
, libmodplug
@ -619,6 +621,7 @@ stdenv.mkDerivation (finalAttrs: {
(enableFeature withHarfbuzz "libharfbuzz")
] ++ [
(enableFeature withIconv "iconv")
(enableFeature withIlbc "libilbc")
(enableFeature withJack "libjack")
] ++ optionals (versionAtLeast finalAttrs.version "5.0") [
(enableFeature withJxl "libjxl")
@ -774,6 +777,7 @@ stdenv.mkDerivation (finalAttrs: {
++ optionals withGsm [ gsm ]
++ optionals withHarfbuzz [ harfbuzz ]
++ optionals withIconv [ libiconv ] # On Linux this should be in libc, do we really need it?
++ optionals withIlbc [ libilbc ]
++ optionals withJack [ libjack2 ]
++ optionals withJxl [ libjxl ]
++ optionals withLadspa [ ladspaH ]