mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
ffmpeg: update to 1.2 (and patching mplayer2)
Simple patch required by mplayer2 to build with ffmpeg 1.2.
This commit is contained in:
parent
bbbedf56c6
commit
d0d4e66652
3 changed files with 9 additions and 7 deletions
|
@ -74,6 +74,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
prePatch = ''
|
||||
sed -i /^_install_strip/d configure
|
||||
|
||||
sed -i '/stdlib/a#include <ctype.h>/' sub/sub*.c
|
||||
'';
|
||||
|
||||
buildInputs = with stdenv.lib;
|
||||
|
|
|
@ -29,11 +29,11 @@ assert x11grabSupport -> libXext != null && libXfixes != null;
|
|||
assert playSupport -> SDL != null;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "ffmpeg-1.1.3";
|
||||
name = "ffmpeg-1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.ffmpeg.org/releases/${name}.tar.bz2";
|
||||
sha256 = "03s1zsprz5p6gjgwwqcf7b6cvzwwid6l8k7bamx9i0f1iwkgdm0j";
|
||||
sha256 = "1bssxbn4p813xlgb8whg4b60j90yzfy92x70b4q8j35fgp0gnfcs";
|
||||
};
|
||||
|
||||
# `--enable-gpl' (as well as the `postproc' and `swscale') mean that
|
|
@ -556,7 +556,7 @@ let
|
|||
|
||||
cfdg = builderDefsPackage ../tools/graphics/cfdg {
|
||||
inherit libpng bison flex;
|
||||
ffmpeg = ffmpeg_1_1;
|
||||
ffmpeg = ffmpeg_1;
|
||||
};
|
||||
|
||||
checkinstall = callPackage ../tools/package-management/checkinstall { };
|
||||
|
@ -3653,7 +3653,7 @@ let
|
|||
vpxSupport = !stdenv.isMips;
|
||||
};
|
||||
|
||||
ffmpeg_1_1 = callPackage ../development/libraries/ffmpeg/1.1.nix {
|
||||
ffmpeg_1 = callPackage ../development/libraries/ffmpeg/1.x.nix {
|
||||
vpxSupport = !stdenv.isMips;
|
||||
};
|
||||
|
||||
|
@ -4618,7 +4618,7 @@ let
|
|||
mkvtoolnix = callPackage ../applications/video/mkvtoolnix { };
|
||||
|
||||
mlt = callPackage ../development/libraries/mlt {
|
||||
ffmpeg = ffmpeg_1_1;
|
||||
ffmpeg = ffmpeg_1;
|
||||
};
|
||||
|
||||
libmpeg2 = callPackage ../development/libraries/libmpeg2 { };
|
||||
|
@ -7504,7 +7504,7 @@ let
|
|||
};
|
||||
|
||||
mplayer2 = callPackage ../applications/video/mplayer2 {
|
||||
ffmpeg = ffmpeg_1_1;
|
||||
ffmpeg = ffmpeg_1;
|
||||
};
|
||||
|
||||
MPlayerPlugin = browser:
|
||||
|
@ -7974,7 +7974,7 @@ let
|
|||
};
|
||||
|
||||
vlc = callPackage ../applications/video/vlc {
|
||||
ffmpeg = ffmpeg_1_1;
|
||||
ffmpeg = ffmpeg_1;
|
||||
};
|
||||
|
||||
vnstat = callPackage ../applications/networking/vnstat { };
|
||||
|
|
Loading…
Reference in a new issue