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 18:37:06 +01:00
parent 3f49d8dd50
commit 675679f450
3 changed files with 15 additions and 19 deletions
@@ -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
'';