Unverified Commit 0ad0760c authored by jopejoe1's avatar jopejoe1 Committed by GitHub
Browse files

ffmpeg: add withCdio option (#344016)

parents 92663c97 2e8eda24
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
@@ -252,6 +253,8 @@
, libbluray
, libbs2b
, libcaca
, libcdio
, libcdio-paranoia
, libdc1394
, libdrm
, libdvdnav
@@ -565,6 +568,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")
@@ -735,6 +739,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 ]