nixpkgs/pkgs/development/libraries/libtheora/default.nix
Lluís Batlle i Rossell 7cc0eee61d Updating some xiph.org libraries, and making some cross-compile.
svn path=/nixpkgs/trunk/; revision=26943
2011-04-23 21:58:30 +00:00

17 lines
443 B
Nix

{stdenv, fetchurl, libogg, libvorbis, tremor}:
stdenv.mkDerivation {
name = "libtheora-1.1.1";
src = fetchurl {
url = http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz;
sha256 = "0swiaj8987n995rc7hw0asvpwhhzpjiws8kr3s6r44bqqib2k5a0";
};
propagatedBuildInputs = [libogg libvorbis];
crossAttrs = {
propagatedBuildInputs = [libogg.hostDrv tremor.hostDrv];
configureFlags = "--disable-examples";
};
}