tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ffmpeg: add snappy option
jopejoe1
2 years ago
d728271f
0de8c9af
+4
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
ffmpeg
generic.nix
+4
pkgs/development/libraries/ffmpeg/generic.nix
···
100
100
, withSamba ? withFullDeps && !stdenv.isDarwin && withGPLv3 # Samba protocol
101
101
, withSdl2 ? withSmallDeps
102
102
, withShaderc ? withFullDeps && !stdenv.isDarwin && lib.versionAtLeast version "5.0"
103
103
+
, withSnappy ? withFullDeps # Snappy compression, needed for hap encoding
103
104
, withSoxr ? withHeadlessDeps # Resampling via soxr
104
105
, withSpeex ? withHeadlessDeps # Speex de/encoder
105
106
, withSrt ? withHeadlessDeps # Secure Reliable Transport (SRT) protocol
···
296
297
, samba
297
298
, SDL2
298
299
, shaderc
300
300
+
, snappy
299
301
, soxr
300
302
, speex
301
303
, srt
···
659
661
] ++ optionals (versionAtLeast version "5.0") [
660
662
(enableFeature withShaderc "libshaderc")
661
663
] ++ [
664
664
+
(enableFeature withSnappy "libsnappy")
662
665
(enableFeature withSoxr "libsoxr")
663
666
(enableFeature withSpeex "libspeex")
664
667
(enableFeature withSrt "libsrt")
···
798
801
++ optionals withSamba [ samba ]
799
802
++ optionals withSdl2 [ SDL2 ]
800
803
++ optionals withShaderc [ shaderc ]
804
804
+
++ optionals withSnappy [ snappy ]
801
805
++ optionals withSoxr [ soxr ]
802
806
++ optionals withSpeex [ speex ]
803
807
++ optionals withSrt [ srt ]