nixpkgs/pkgs/development/libraries/xvidcore/default.nix
Lluís Batlle i Rossell 1215f3a7a4 Adding yasm, and making x264 and xvid codecs be compiled with their assembly code
svn path=/nixpkgs/trunk/; revision=21470
2010-04-30 21:58:47 +00:00

24 lines
451 B
Nix

{stdenv, fetchurl, nasm}:
stdenv.mkDerivation rec {
name = "xvidcore-1.2.2";
src = fetchurl {
url = http://downloads.xvid.org/downloads/xvidcore-1.2.2.tar.bz2;
sha256 = "04bd1clv90i5pdwh6mz3mskyzmxyx5l2nx7lyyb8nhw9whnn0ap4";
};
preConfigure = ''
cd build/generic
'';
buildInputs = [ nasm ];
meta = {
description = "MPEG-4 video codec for PC";
homepage = http://www.xvid.org/;
license = "GPLv2+";
};
}