summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Guibert <david.guibert@gmail.com>2014-02-17 20:15:01 +0100
committerVladimír Čunát <vcunat@gmail.com>2014-02-18 17:17:24 +0100
commitc3126080fd6393718b67f1e2d63d1cee094807de (patch)
tree8c5b1fd97b1780ecb85df0e59aa4b00cc36f0a18
parent70798243a221c4cf1e9a30135d5ea7f326a7c8b2 (diff)
vaapi-vdpau: apply a patch to delete dropped types from VA API
Close #1766.
-rw-r--r--pkgs/development/libraries/vaapi-vdpau/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/libraries/vaapi-vdpau/default.nix b/pkgs/development/libraries/vaapi-vdpau/default.nix
index fb24ba98b450..9a81b840b35d 100644
--- a/pkgs/development/libraries/vaapi-vdpau/default.nix
+++ b/pkgs/development/libraries/vaapi-vdpau/default.nix
@@ -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/;