git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #22163 from MP2E/ffmpeg_full_update

ffmpeg-full: 3.1.3 -> 3.2.2

commit70270ca6b5af4d2af22bdfade9b9ae74c7df788e authorGraham Christensen <graham@grahamc.com> dateThu 26 Jan 2017, 21:33 (10 years ago) parent9df33ad35d48f3
1 file changed+4−12
pkgs/development/libraries/ffmpeg-full/default.nix+4−12
pkgs/development/libraries/ffmpeg-full/default.nix+4−12
@@ -4,7 +4,7 @@
44 */
55, gplLicensing ? true # GPL: fdkaac,openssl,frei0r,cdio,samba,utvideo,vidstab,x265,x265,xavs,avid,zvbi,x11grab
66, version3Licensing ? true # (L)GPL3: opencore-amrnb,opencore-amrwb,samba,vo-aacenc,vo-amrwbenc
7−, nonfreeLicensing ? false # NONFREE: openssl,fdkaac,faac,aacplus,blackmagic-design-desktop-video
7+, nonfreeLicensing ? false # NONFREE: openssl,fdkaac,blackmagic-design-desktop-video
88/*
99 * Build options
1010 */
@@ -12,7 +12,6 @@
1212, runtimeCpuDetectBuild ? true # Detect CPU capabilities at runtime (disable to compile natively)
1313, grayBuild ? true # Full grayscale support
1414, swscaleAlphaBuild ? true # Alpha channel support in swscale
15−, incompatibleLibavAbiBuild ? false # Incompatible Libav fork ABI
1615, hardcodedTablesBuild ? true # Hardcode decode tables instead of runtime generation
1716, safeBitstreamReaderBuild ? true # Buffer boundary checking in bitreaders
1817, memalignHackBuild ? false # Emulate memalign
@@ -49,14 +48,12 @@
4948/*
5049 * External libraries options
5150 */
52−#, aacplusExtlib ? false, aacplus ? null # AAC+ encoder
5351, alsaLib ? null # Alsa in/output support
5452#, avisynth ? null # Support for reading AviSynth scripts
5553, bzip2 ? null
5654, celt ? null # CELT decoder
5755#, crystalhd ? null # Broadcom CrystalHD hardware acceleration
5856#, decklinkExtlib ? false, blackmagic-design-desktop-video ? null # Blackmagic Design DeckLink I/O support
59−, faacExtlib ? false, faac ? null # AAC encoder
6057, fdkaacExtlib ? false, fdk_aac ? null # Fraunhofer FDK AAC de/encoder
6158#, flite ? null # Flite (voice synthesis) support
6259, fontconfig ? null # Needed for drawtext filter
@@ -220,11 +217,9 @@ assert swscaleLibrary -> avutilLibrary;
220217/*
221218 * External libraries
222219 */
223−#assert aacplusExtlib -> nonfreeLicensing;
224220#assert decklinkExtlib -> blackmagic-design-desktop-video != null
225221# && !isCygwin && multithreadBuild # POSIX threads required
226222# && nonfreeLicensing;
227−assert faacExtlib -> faac != null && nonfreeLicensing;
228223assert fdkaacExtlib -> fdk_aac != null && nonfreeLicensing;
229224assert gnutls != null -> !opensslExtlib;
230225assert libxcbshmExtlib -> libxcb != null;
@@ -237,11 +232,11 @@ assert nvenc -> nvidia-video-sdk != null && nonfreeLicensing;
237232
238233stdenv.mkDerivation rec {
239234 name = "ffmpeg-full-${version}";
240− version = "3.1.3";
235+ version = "3.2.2";
241236
242237 src = fetchurl {
243238 url = "https://www.ffmpeg.org/releases/ffmpeg-${version}.tar.xz";
244− sha256 = "08l8290gipm632dhrqndnphdpkc5ncqc1j3hxdx46r1a3q3mqmzq";
239+ sha256 = "1z7d5y5crhsl5fm74236rdwbkd4jj5frx1l4iizjfym1w4gvs09z";
245240 };
246241
247242 patchPhase = ''patchShebangs .
@@ -267,7 +262,6 @@ stdenv.mkDerivation rec {
267262 (enableFeature runtimeCpuDetectBuild "runtime-cpudetect")
268263 (enableFeature grayBuild "gray")
269264 (enableFeature swscaleAlphaBuild "swscale-alpha")
270− (enableFeature incompatibleLibavAbiBuild "incompatible-libav-abi")
271265 (enableFeature hardcodedTablesBuild "hardcoded-tables")
272266 (enableFeature safeBitstreamReaderBuild "safe-bitstream-reader")
273267 (enableFeature memalignHackBuild "memalign-hack")
@@ -314,13 +308,11 @@ stdenv.mkDerivation rec {
314308 /*
315309 * External libraries
316310 */
317− #(enableFeature aacplus "libaacplus")
318311 #(enableFeature avisynth "avisynth")
319312 (enableFeature (bzip2 != null) "bzlib")
320313 (enableFeature (celt != null) "libcelt")
321314 #(enableFeature crystalhd "crystalhd")
322315 #(enableFeature decklinkExtlib "decklink")
323− (enableFeature faacExtlib "libfaac")
324316 (enableFeature (fdkaacExtlib && gplLicensing) "libfdk-aac")
325317 #(enableFeature (flite != null) "libflite")
326318 "--disable-libflite" # Force disable until a solution is found
@@ -412,7 +404,7 @@ stdenv.mkDerivation rec {
412404 samba SDL soxr speex vid-stab wavpack x264 x265 xavs xvidcore zeromq4 zlib
413405 ] ++ optional openglExtlib mesa
414406 ++ optionals x11grabExtlib [ libXext libXfixes ]
415− ++ optionals nonfreeLicensing [ faac fdk_aac openssl ]
407+ ++ optionals nonfreeLicensing [ fdk_aac openssl ]
416408 ++ optional ((isLinux || isFreeBSD) && libva != null) libva
417409 ++ optionals isLinux [ alsaLib libraw1394 libv4l ]
418410 ++ optionals nvenc [ nvidia-video-sdk ]