2013-01-29 10:56:12 +00:00
|
|
|
{ stdenv, fetchurl, libvdpau, mesa, libva, pkgconfig }:
|
2013-01-28 23:26:20 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-01-29 10:56:12 +00:00
|
|
|
name = "libva-vdpau-driver-0.7.4";
|
2013-01-28 23:26:20 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-29 10:56:12 +00:00
|
|
|
url = "http://www.freedesktop.org/software/vaapi/releases/libva-vdpau-driver/${name}.tar.bz2";
|
|
|
|
sha256 = "1fcvgshzyc50yb8qqm6v6wn23ghimay23ci0p8sm8gxcy211jp0m";
|
2013-01-28 23:26:20 +00:00
|
|
|
};
|
|
|
|
|
2013-01-29 10:56:12 +00:00
|
|
|
buildInputs = [ libvdpau mesa libva pkgconfig ];
|
2013-01-28 23:26:20 +00:00
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
}
|