mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 17:53:14 +00:00
ffmpeg: add lc3 option
This commit is contained in:
parent
46c012331f
commit
22faf0ac9e
@ -75,6 +75,7 @@
|
||||
, withJack ? withFullDeps && !stdenv.hostPlatform.isDarwin # Jack audio
|
||||
, withJxl ? withFullDeps && lib.versionAtLeast version "5" # JPEG XL de/encoding
|
||||
, withLadspa ? withFullDeps # LADSPA audio filtering
|
||||
, withLc3 ? withFullDeps && lib.versionAtLeast version "7.1" # LC3 de/encoding
|
||||
, withLcms2 ? withFullDeps # ICC profile support via lcms2
|
||||
, withLzma ? withHeadlessDeps # xz-utils
|
||||
, withMetal ? false # Unfree and requires manual downloading of files
|
||||
@ -263,6 +264,7 @@
|
||||
, libilbc
|
||||
, libjack2
|
||||
, libjxl
|
||||
, liblc3
|
||||
, libmodplug
|
||||
, libmysofa
|
||||
, libopenmpt
|
||||
@ -603,6 +605,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(enableFeature withJxl "libjxl")
|
||||
] ++ [
|
||||
(enableFeature withLadspa "ladspa")
|
||||
] ++ optionals (versionAtLeast version "7.1") [
|
||||
(enableFeature withLc3 "liblc3")
|
||||
] ++ optionals (versionAtLeast version "5.1") [
|
||||
(enableFeature withLcms2 "lcms2")
|
||||
] ++ [
|
||||
@ -766,6 +770,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ optionals withJack [ libjack2 ]
|
||||
++ optionals withJxl [ libjxl ]
|
||||
++ optionals withLadspa [ ladspaH ]
|
||||
++ optionals withLc3 [ liblc3 ]
|
||||
++ optionals withLcms2 [ lcms2 ]
|
||||
++ optionals withLzma [ xz ]
|
||||
++ optionals withMfx [ intel-media-sdk ]
|
||||
|
Loading…
Reference in New Issue
Block a user