libvpx: update

Also set the shared-vpx for firefox, just to be sure.
Firefox, Chromium, and other seem to work fine.
This commit is contained in:
Vladimír Čunát 2013-06-11 18:03:48 +02:00
parent c1bec6fb5b
commit 6b433019fa
2 changed files with 11 additions and 8 deletions

View File

@ -50,6 +50,7 @@ rec {
"--enable-system-hunspell"
"--enable-system-pixman"
"--enable-system-sqlite"
"--with-system-libvpx"
"--disable-crashreporter"
"--disable-tests"
"--disable-necko-wifi" # maybe we want to enable this at some point

View File

@ -1,11 +1,13 @@
{stdenv, fetchurl, bash, yasm, which, perl}:
let version = "1.2.0";
in
stdenv.mkDerivation rec {
name = "libvpx-1.1.0";
src = fetchurl {
url = http://webm.googlecode.com/files/libvpx-v1.1.0.tar.bz2;
sha256 = "1ibjxcdsazqfbbjhb8w56vy3n9qwny2m9q4kzx4rmk9v9g7p9q4w";
name = "libvpx-" + version;
src = fetchurl { # sadly, there's no official tarball for this release
url = "ftp://ftp.archlinux.org/other/libvpx/libvpx-${version}.tar.xz";
sha256 = "02k9ylswgr2hvjqmg422fa9ggym0g94gzwb14nnckly698rvjc50";
};
patchPhase = ''
@ -14,15 +16,17 @@ stdenv.mkDerivation rec {
sed -e '/enable linux/d' -i configure
'';
configureScript = "../configure";
buildInputs = [ yasm which perl ];
preConfigure = ''
mkdir -p build
cd build
'';
configureScript = "../configure";
configureFlags = [
"--disable-install-srcs"
"--disable-install-docs"
"--disable-examples"
"--enable-vp8"
"--enable-runtime-cpu-detect"
@ -34,8 +38,6 @@ stdenv.mkDerivation rec {
make quiet=false DIST_DIR=$out install
'';
buildInputs = [ yasm which perl ];
meta = {
description = "VP8 video encoder";
homepage = http://code.google.com/p/webm;