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:
parent
c1bec6fb5b
commit
6b433019fa
@ -50,6 +50,7 @@ rec {
|
|||||||
"--enable-system-hunspell"
|
"--enable-system-hunspell"
|
||||||
"--enable-system-pixman"
|
"--enable-system-pixman"
|
||||||
"--enable-system-sqlite"
|
"--enable-system-sqlite"
|
||||||
|
"--with-system-libvpx"
|
||||||
"--disable-crashreporter"
|
"--disable-crashreporter"
|
||||||
"--disable-tests"
|
"--disable-tests"
|
||||||
"--disable-necko-wifi" # maybe we want to enable this at some point
|
"--disable-necko-wifi" # maybe we want to enable this at some point
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
{stdenv, fetchurl, bash, yasm, which, perl}:
|
{stdenv, fetchurl, bash, yasm, which, perl}:
|
||||||
|
|
||||||
|
let version = "1.2.0";
|
||||||
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libvpx-1.1.0";
|
name = "libvpx-" + version;
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl { # sadly, there's no official tarball for this release
|
||||||
url = http://webm.googlecode.com/files/libvpx-v1.1.0.tar.bz2;
|
url = "ftp://ftp.archlinux.org/other/libvpx/libvpx-${version}.tar.xz";
|
||||||
sha256 = "1ibjxcdsazqfbbjhb8w56vy3n9qwny2m9q4kzx4rmk9v9g7p9q4w";
|
sha256 = "02k9ylswgr2hvjqmg422fa9ggym0g94gzwb14nnckly698rvjc50";
|
||||||
};
|
};
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
@ -14,15 +16,17 @@ stdenv.mkDerivation rec {
|
|||||||
sed -e '/enable linux/d' -i configure
|
sed -e '/enable linux/d' -i configure
|
||||||
'';
|
'';
|
||||||
|
|
||||||
configureScript = "../configure";
|
buildInputs = [ yasm which perl ];
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
configureScript = "../configure";
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-install-srcs"
|
"--disable-install-srcs"
|
||||||
|
"--disable-install-docs"
|
||||||
"--disable-examples"
|
"--disable-examples"
|
||||||
"--enable-vp8"
|
"--enable-vp8"
|
||||||
"--enable-runtime-cpu-detect"
|
"--enable-runtime-cpu-detect"
|
||||||
@ -34,8 +38,6 @@ stdenv.mkDerivation rec {
|
|||||||
make quiet=false DIST_DIR=$out install
|
make quiet=false DIST_DIR=$out install
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [ yasm which perl ];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "VP8 video encoder";
|
description = "VP8 video encoder";
|
||||||
homepage = http://code.google.com/p/webm;
|
homepage = http://code.google.com/p/webm;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user