3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/vaapi-vdpau/default.nix
Lluís Batlle i Rossell 675679f450 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.
2013-01-29 18:37:06 +01:00

23 lines
640 B
Nix

{ stdenv, fetchurl, libvdpau, mesa, libva, pkgconfig }:
stdenv.mkDerivation rec {
name = "libva-vdpau-driver-0.7.4";
src = fetchurl {
url = "http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/${name}.tar.bz2";
sha256 = "1fcvgshzyc50yb8qqm6v6wn23ghimay23ci0p8sm8gxcy211jp0m";
};
buildInputs = [ libvdpau mesa libva pkgconfig ];
preConfigure = ''
sed -i -e "s,LIBVA_DRIVERS_PATH=.*,LIBVA_DRIVERS_PATH=$out/lib/dri," configure
'';
meta = {
homepage = http://cgit.freedesktop.org/vaapi/vdpau-driver/;
license = "GPLv2+";
description = "VDPAU driver for the VAAPI library";
};
}