nixpkgs/pkgs/development/libraries/x264/default.nix
Marc Weber 9fc09fd4bb fix x264 for x64 systems (-fPIC)
svn path=/nixpkgs/trunk/; revision=13063
2008-10-14 13:35:25 +00:00

20 lines
586 B
Nix

args:
args.stdenv.mkDerivation rec {
version = "snapshot-20080521-2245";
name = "x264-${version}";
src = args.fetchurl {
url = "ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-${version}.tar.bz2";
sha256 = "07khxih1lmhvrzlaksqmaghbi8w2yyjrjcw867gi2y4z1h0ndhks";
};
configureFlags= if args.stdenv.system == "x86_64-linux" then ["--enable-pic"] else [];
buildInputs =(with args; []);
meta = {
description = "library for encoding H264/AVC video streams";
homepage = http://www.videolan.org/developers/x264.html;
license = "GPL";
};
}