summary refs log tree commit diff
path: root/pkgs/development/libraries/libtheora/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/libtheora/default.nix')
-rw-r--r--pkgs/development/libraries/libtheora/default.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libtheora/default.nix b/pkgs/development/libraries/libtheora/default.nix
index 7b63cbb9f788..432e6edc61cc 100644
--- a/pkgs/development/libraries/libtheora/default.nix
+++ b/pkgs/development/libraries/libtheora/default.nix
@@ -1,10 +1,16 @@
-{stdenv, fetchurl, libogg, libvorbis}:
+{stdenv, fetchurl, libogg, libvorbis, tremor}:
 
 stdenv.mkDerivation {
-  name = "libtheora-1.0";
+  name = "libtheora-1.1.1";
   src = fetchurl {
-    url = http://downloads.xiph.org/releases/theora/libtheora-1.0.tar.gz;
-    sha256 = "0j5hv0pfsiwa2qq5d647py4g7ixnax1v47xc3aj5sa9v2iknib6m";
+    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";
+  };
 }