1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

vaapi-vdpau: apply a patch to delete dropped types from VA API

Close #1766.
This commit is contained in:
David Guibert 2014-02-17 20:15:01 +01:00 committed by Vladimír Čunát
parent 70798243a2
commit c3126080fd

View file

@ -8,13 +8,18 @@ stdenv.mkDerivation rec {
sha256 = "1fcvgshzyc50yb8qqm6v6wn23ghimay23ci0p8sm8gxcy211jp0m";
};
patches = [ ./glext85.patch
(fetchurl { url = "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-libs/libva-vdpau-driver/files/libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch?revision=1.1";
name = "libva-vdpau-driver-0.7.4-VAEncH264VUIBufferType.patch";
sha256 = "166svcav6axkrlb3i4rbf6dkwjnqdf69xw339az1f5yabj72pqqs";
}) ];
buildInputs = [ libvdpau mesa libva pkgconfig ];
preConfigure = ''
sed -i -e "s,LIBVA_DRIVERS_PATH=.*,LIBVA_DRIVERS_PATH=$out/lib/dri," configure
'';
patches = [ ./glext85.patch ];
meta = {
homepage = http://cgit.freedesktop.org/vaapi/vdpau-driver/;