git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #8038 from codyopel/ffmpeg-networking

ffmpeg: include networking support

commitde6f236bbbbf1a25952a3a8528307ef3ff854393 authorWilliam A. Kennington III <william@wkennington.com> dateFri 29 May 2015, 00:54 (12 years ago) parentd9cc387ec8babb
1 file changed+7−5
pkgs/development/libraries/ffmpeg/generic.nix+7−5
pkgs/development/libraries/ffmpeg/generic.nix+7−5
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, pkgconfig, perl, texinfo, yasm
2−, alsaLib, bzip2, fontconfig, freetype, libiconv, lame, libass, libogg, libtheora
3−, libva, libvdpau, libvorbis, libvpx, lzma, pulseaudio, SDL, soxr, x264
4−, xvidcore, zlib
2+, alsaLib, bzip2, fontconfig, freetype, gnutls, libiconv, lame, libass, libogg
3+, libtheora, libva, libvdpau, libvorbis, libvpx, lzma, pulseaudio, SDL, soxr
4+, x264, xvidcore, zlib
55, openglSupport ? false, mesa ? null
66# Build options
77, runtimeCpuDetectBuild ? true # Detect CPU capabilities at runtime
@@ -85,6 +85,7 @@ stdenv.mkDerivation rec {
8585 else
8686 "--disable-pthreads --disable-w32threads")
8787 (ifMinVer "0.9" "--disable-os2threads") # We don't support OS/2
88+ "--enable-network"
8889 (ifMinVer "2.4" "--enable-pixelutils")
8990 # Executables
9091 "--enable-ffmpeg"
@@ -105,6 +106,7 @@ stdenv.mkDerivation rec {
105106 (ifMinVer "0.6" "--disable-doc")
106107 # External Libraries
107108 "--enable-bzlib"
109+ "--enable-gnutls"
108110 (ifMinVer "1.0" "--enable-fontconfig")
109111 (ifMinVer "0.7" "--enable-libfreetype")
110112 "--enable-libmp3lame"
@@ -134,8 +136,8 @@ stdenv.mkDerivation rec {
134136 nativeBuildInputs = [ perl pkgconfig texinfo yasm ];
135137
136138 buildInputs = [
137− bzip2 fontconfig freetype libiconv lame libass libogg libtheora libvdpau
138− libvorbis lzma SDL soxr x264 xvidcore zlib
139+ bzip2 fontconfig freetype gnutls libiconv lame libass libogg libtheora
140+ libvdpau libvorbis lzma SDL soxr x264 xvidcore zlib
139141 ] ++ optional openglSupport mesa
140142 ++ optionals (!isDarwin) [ libvpx pulseaudio ] # Need to be fixed on Darwin
141143 ++ optional (isLinux || isFreeBSD) libva