3
0
Fork 0
forked from mirrors/nixpkgs

Fixes on VAAPI src packages.

The github 'snapshots' weren't stable on hashes, I think (at least as I saw
today trying to build vaapiVdpau in another computer).

Using released tarballs, pointer by vcunat.
This commit is contained in:
Lluís Batlle i Rossell 2013-01-29 11:56:12 +01:00
parent 3f49d8dd50
commit 675679f450
3 changed files with 15 additions and 19 deletions

View file

@ -1,21 +1,17 @@
{ stdenv, fetchurl, autoconf, automake, libtool, libX11, pkgconfig, libXext, mesa
, libdrm, libXfixes, intelgen4asm, which }:
{ stdenv, fetchurl, libX11, pkgconfig, libXext, mesa, libdrm, libXfixes }:
stdenv.mkDerivation rec {
name = "libva-1.1.0";
src = fetchurl {
url = "http://cgit.freedesktop.org/libva/snapshot/${name}.tar.bz2";
sha256 = "0lqkharln67p60jlyz9y662gjgqk2iy2nrj84j1jr1nzgw7j01a5";
url = "http://www.freedesktop.org/software/vaapi/releases/libva/${name}.tar.bz2";
sha256 = "1a7g7i96ww8hmim2pq2a3xc89073lzacxn1xh9526bzhlqjdqsnv";
};
buildInputs = [ autoconf automake libtool libX11 libXext pkgconfig mesa libdrm
libXfixes intelgen4asm which ];
buildInputs = [ libX11 libXext pkgconfig mesa libdrm libXfixes ];
configureFlags = [ "--enable-glx" ];
preConfigure = "sh autogen.sh";
meta = {
homepage = http://www.freedesktop.org/wiki/Software/vaapi;
license = "MIT";

View file

@ -1,14 +1,15 @@
{ stdenv, fetchurl, autoconf, automake, libtool, mesa, libva, libdrm, libX11, pkgconfig }:
{ stdenv, fetchurl, autoconf, automake, libtool, mesa, libva, libdrm, libX11, pkgconfig
, intelgen4asm }:
stdenv.mkDerivation rec {
name = "intel-driver-1.0.19";
name = "libva-intel-driver-1.0.19";
src = fetchurl {
url = "http://cgit.freedesktop.org/intel-driver/snapshot/${name}.tar.bz2";
sha256 = "1ns6y1hdqvqd92mc0d6axyh17rgyzp73xnbf97mnnzi9fc47x6p1";
url = "http://www.freedesktop.org/software/vaapi/releases/libva-intel-driver/${name}.tar.bz2";
sha256 = "14m7krah3ajkwj190q431lqqa84hdljcdmrcrqkbgaffyjlqvdid";
};
buildInputs = [ autoconf automake libtool mesa libva pkgconfig libdrm libX11 ];
buildInputs = [ autoconf automake libtool mesa libva pkgconfig libdrm libX11 intelgen4asm ];
preConfigure = ''
sh autogen.sh

View file

@ -1,17 +1,16 @@
{ stdenv, fetchurl, autoconf, automake, libtool, libvdpau, mesa, libva, pkgconfig }:
{ stdenv, fetchurl, libvdpau, mesa, libva, pkgconfig }:
stdenv.mkDerivation rec {
name = "vdpau-driver-0.7.4";
name = "libva-vdpau-driver-0.7.4";
src = fetchurl {
url = "http://cgit.freedesktop.org/vdpau-driver/snapshot/${name}.tar.bz2";
sha256 = "1kvhpqwzw01bfamvxhnl4yhmb7pwkkfaii3w7bidd4vj1gsrx5l4";
url = "http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/${name}.tar.bz2";
sha256 = "1fcvgshzyc50yb8qqm6v6wn23ghimay23ci0p8sm8gxcy211jp0m";
};
buildInputs = [ autoconf automake libtool libvdpau mesa libva pkgconfig ];
buildInputs = [ libvdpau mesa libva pkgconfig ];
preConfigure = ''
sh autogen.sh
sed -i -e "s,LIBVA_DRIVERS_PATH=.*,LIBVA_DRIVERS_PATH=$out/lib/dri," configure
'';