Commit 2e8eda24 authored by jopejoe1's avatar jopejoe1
Browse files

ffmpeg: add withCdio option

parent 71ade9df
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
@@ -251,6 +252,8 @@
, libbluray
, libbs2b
, libcaca
, libcdio
, libcdio-paranoia
, libdc1394
, libdrm
, libdvdnav
@@ -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")
@@ -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 ]