summary refs log tree commit diff
path: root/pkgs/development/libraries/libvpx
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-06-24 22:55:25 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2010-06-24 22:55:25 +0000
commit924177da846f422db0b8943898ebcf40a1f6af10 (patch)
treecac3d95b2b3895c8d1d358d784f0f89321f09cdb /pkgs/development/libraries/libvpx
parentd7ceeb0574aa9ae25d4ea7daf038b06457e2cff4 (diff)
New VLC, ffmpeg, x264 and libvpx all-in-one-rebuild. VP8 support.
svn path=/nixpkgs/trunk/; revision=22410
Diffstat (limited to 'pkgs/development/libraries/libvpx')
-rw-r--r--pkgs/development/libraries/libvpx/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/libraries/libvpx/default.nix b/pkgs/development/libraries/libvpx/default.nix
index 43c29524d58ca..7cd2e4d639b25 100644
--- a/pkgs/development/libraries/libvpx/default.nix
+++ b/pkgs/development/libraries/libvpx/default.nix
@@ -1,11 +1,11 @@
-{stdenv, fetchurl, bash}:
+{stdenv, fetchurl, bash, yasm}:
 
 stdenv.mkDerivation rec {
-  name = "libvpx-0.9.0";
+  name = "libvpx-0.9.1";
   
   src = fetchurl {
-    url = http://webm.googlecode.com/files/libvpx-0.9.0.tar.bz2;
-    sha256 = "1p5rl7r8zpw43n8i38wv73na8crkkakw16yx0v7n3ywwhp36l2d0";
+    url = http://webm.googlecode.com/files/libvpx-0.9.1.tar.bz2;
+    sha256 = "0ngc8y12np2q6yhrrn6cbmlbzwbk10fnldj8d5dxxzvrw1iy9s64";
   };
 
   patchPhase = ''
@@ -16,13 +16,15 @@ stdenv.mkDerivation rec {
   configurePhase = ''
     mkdir -p build
     cd build
-    ../configure --disable-install-srcs --disable-examples --enable-vp8 --enable-runtime-cpu-detect
+    ../configure --disable-install-srcs --disable-examples --enable-vp8 --enable-runtime-cpu-detect --enable-shared --enable-pic
   '';
 
   installPhase = ''
     make quiet=false DIST_DIR=$out install
   '';
 
+  buildInputs = [ yasm ];
+
   meta = {
     description = "VP8 video encoder";
     homepage = http://code.google.com/p/webm;