Skip to content

Commit

Permalink
ffmpeg: add lc3 option
Browse files Browse the repository at this point in the history
  • Loading branch information
jopejoe1 committed Oct 15, 2024
1 parent a4313cd commit 64b60b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkgs/development/libraries/ffmpeg/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -263,6 +264,7 @@
, libilbc
, libjack2
, libjxl
, liblc3
, libmodplug
, libmysofa
, libopenmpt
Expand Down Expand Up @@ -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")
] ++ [
Expand Down Expand Up @@ -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 ]
Expand Down

0 comments on commit 64b60b4

Please sign in to comment.