mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-05 19:53:43 +00:00
Merge pull request #333646 from jopejoe1/ffmpeg-snappy
ffmpeg: add snappy option
This commit is contained in:
commit
f4f78c86ea
@ -101,6 +101,7 @@
|
||||
, withSamba ? withFullDeps && !stdenv.isDarwin && withGPLv3 # Samba protocol
|
||||
, withSdl2 ? withSmallDeps
|
||||
, withShaderc ? withFullDeps && !stdenv.isDarwin && lib.versionAtLeast version "5.0"
|
||||
, withSnappy ? withFullDeps # Snappy compression, needed for hap encoding
|
||||
, withSoxr ? withHeadlessDeps # Resampling via soxr
|
||||
, withSpeex ? withHeadlessDeps # Speex de/encoder
|
||||
, withSrt ? withHeadlessDeps # Secure Reliable Transport (SRT) protocol
|
||||
@ -299,6 +300,7 @@
|
||||
, samba
|
||||
, SDL2
|
||||
, shaderc
|
||||
, snappy
|
||||
, soxr
|
||||
, speex
|
||||
, srt
|
||||
@ -628,6 +630,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
] ++ optionals (versionAtLeast version "5.0") [
|
||||
(enableFeature withShaderc "libshaderc")
|
||||
] ++ [
|
||||
(enableFeature withSnappy "libsnappy")
|
||||
(enableFeature withSoxr "libsoxr")
|
||||
(enableFeature withSpeex "libspeex")
|
||||
(enableFeature withSrt "libsrt")
|
||||
@ -768,6 +771,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ optionals withSamba [ samba ]
|
||||
++ optionals withSdl2 [ SDL2 ]
|
||||
++ optionals withShaderc [ shaderc ]
|
||||
++ optionals withSnappy [ snappy ]
|
||||
++ optionals withSoxr [ soxr ]
|
||||
++ optionals withSpeex [ speex ]
|
||||
++ optionals withSrt [ srt ]
|
||||
|
Loading…
Reference in New Issue
Block a user