diff options
author | Lluís Batlle i Rossell <viric@viric.name> | 2013-01-29 00:26:20 +0100 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@viric.name> | 2013-01-29 01:10:00 +0100 |
commit | 111b2034671b091ba324deb4aa246672e3c52dba (patch) | |
tree | e2f74112e2eb4c824815a9f146b70d781f370618 /pkgs/development/libraries/vaapi-vdpau | |
parent | 615b1d42a782b32895a7d535d3ef6cf5ebf1e6da (diff) |
Updates related to VAAPI/VDPAU
Making ffmpeg link to libva. Add the vdpau driver for vaapi.
Diffstat (limited to 'pkgs/development/libraries/vaapi-vdpau')
-rw-r--r-- | pkgs/development/libraries/vaapi-vdpau/default.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/development/libraries/vaapi-vdpau/default.nix b/pkgs/development/libraries/vaapi-vdpau/default.nix new file mode 100644 index 0000000000000..58ebc10327551 --- /dev/null +++ b/pkgs/development/libraries/vaapi-vdpau/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, autoconf, automake, libtool, libvdpau, mesa, libva, pkgconfig }: + +stdenv.mkDerivation rec { + name = "vdpau-driver-0.7.4"; + + src = fetchurl { + url = "http://cgit.freedesktop.org/vdpau-driver/snapshot/${name}.tar.bz2"; + sha256 = "1kvhpqwzw01bfamvxhnl4yhmb7pwkkfaii3w7bidd4vj1gsrx5l4"; + }; + + buildInputs = [ autoconf automake libtool libvdpau mesa libva pkgconfig ]; + + preConfigure = '' + sh autogen.sh + 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"; + }; +} |