2010-04-30 21:58:47 +00:00
|
|
|
{stdenv, fetchurl, nasm}:
|
2010-04-30 21:47:09 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-07-25 14:19:10 +00:00
|
|
|
name = "xvidcore-1.3.2";
|
2010-04-30 21:47:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2011-05-12 20:43:33 +00:00
|
|
|
url = "http://downloads.xvid.org/downloads/${name}.tar.bz2";
|
2011-07-25 14:19:10 +00:00
|
|
|
sha256 = "1x0b2rq6fv99ramifhkakycd0prjc93lbzrffbjgjwg7w4s17hfn";
|
2010-04-30 21:47:09 +00:00
|
|
|
};
|
|
|
|
|
2011-07-25 14:19:10 +00:00
|
|
|
preConfigure = "cd build/generic";
|
2010-04-30 21:58:47 +00:00
|
|
|
|
|
|
|
buildInputs = [ nasm ];
|
2011-07-25 14:19:10 +00:00
|
|
|
|
|
|
|
postInstall =
|
|
|
|
''
|
|
|
|
rm $out/lib/*.a
|
|
|
|
(cd $out/lib && ln -s *.so.* libxvidcore.so)
|
|
|
|
'';
|
2010-04-30 21:47:09 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "MPEG-4 video codec for PC";
|
|
|
|
homepage = http://www.xvid.org/;
|
|
|
|
license = "GPLv2+";
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|