Skip to content

Commit

Permalink
ffmpeg: add withCdio option
Browse files Browse the repository at this point in the history
  • Loading branch information
jopejoe1 committed Sep 23, 2024
1 parent 71ade9d commit 2e8eda2
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 @@ -46,6 +46,7 @@
, withBs2b ? withFullDeps # bs2b DSP library
, withBzlib ? withHeadlessDeps
, withCaca ? withFullDeps # Textual display (ASCII art)
, withCdio ? withFullDeps && withGPL # Audio CD grabbing
, withCelt ? withHeadlessDeps # CELT decoder
, withChromaprint ? withFullDeps # Audio fingerprinting
, withCodec2 ? withFullDeps # codec2 en/decoding
Expand Down Expand Up @@ -251,6 +252,8 @@
, libbluray
, libbs2b
, libcaca
, libcdio
, libcdio-paranoia
, libdc1394
, libdrm
, libdvdnav
Expand Down Expand Up @@ -566,6 +569,7 @@ stdenv.mkDerivation (finalAttrs: {
(enableFeature withBs2b "libbs2b")
(enableFeature withBzlib "bzlib")
(enableFeature withCaca "libcaca")
(enableFeature withCdio "libcdio")
(enableFeature withCelt "libcelt")
(enableFeature withChromaprint "chromaprint")
(enableFeature withCodec2 "libcodec2")
Expand Down Expand Up @@ -733,6 +737,7 @@ stdenv.mkDerivation (finalAttrs: {
++ optionals withBs2b [ libbs2b ]
++ optionals withBzlib [ bzip2 ]
++ optionals withCaca [ libcaca ]
++ optionals withCdio [ libcdio libcdio-paranoia ]
++ optionals withCelt [ celt ]
++ optionals withChromaprint [ chromaprint ]
++ optionals withCodec2 [ codec2 ]
Expand Down

0 comments on commit 2e8eda2

Please sign in to comment.