summary refs log tree commit diff
path: root/pkgs/development/libraries/gstreamer
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-09-12 14:11:24 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2019-09-12 14:11:24 -0400
commitca9c4d29e91e2b45b8a47c8dc27de06464f22767 (patch)
tree167f348adfa058653299b49ea6b7bd4bc55900ea /pkgs/development/libraries/gstreamer
parentf7571a06af9f14a908dfa433153d59dc1909e675 (diff)
downloadnixpkgs-ca9c4d29e91e2b45b8a47c8dc27de06464f22767.tar
nixpkgs-ca9c4d29e91e2b45b8a47c8dc27de06464f22767.tar.gz
nixpkgs-ca9c4d29e91e2b45b8a47c8dc27de06464f22767.tar.bz2
nixpkgs-ca9c4d29e91e2b45b8a47c8dc27de06464f22767.tar.lz
nixpkgs-ca9c4d29e91e2b45b8a47c8dc27de06464f22767.tar.xz
nixpkgs-ca9c4d29e91e2b45b8a47c8dc27de06464f22767.tar.zst
nixpkgs-ca9c4d29e91e2b45b8a47c8dc27de06464f22767.zip
gst_all_1.gst-vaapi: patch to Remove Mesa from drivers white list
See https://mail.gnome.org/archives/distributor-list/2019-September/msg00000.html
Users can re-add it with GST_VAAPI_ALL_DRIVERS.
Diffstat (limited to 'pkgs/development/libraries/gstreamer')
-rw-r--r--pkgs/development/libraries/gstreamer/vaapi/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/libraries/gstreamer/vaapi/default.nix b/pkgs/development/libraries/gstreamer/vaapi/default.nix
index 7e64636d96d..bc53597656e 100644
--- a/pkgs/development/libraries/gstreamer/vaapi/default.nix
+++ b/pkgs/development/libraries/gstreamer/vaapi/default.nix
@@ -1,6 +1,6 @@
 { stdenv, fetchurl, meson, ninja, pkgconfig, gst-plugins-base, bzip2, libva, wayland
 , libdrm, udev, xorg, libGLU_combined, gstreamer, gst-plugins-bad, nasm
-, libvpx, python
+, libvpx, python, fetchpatch
 }:
 
 stdenv.mkDerivation rec {
@@ -12,6 +12,15 @@ stdenv.mkDerivation rec {
     sha256 = "07qpynamiz0lniqajcaijh3n7ixs4lfk9a5mfk50sng0dricwzsf";
   };
 
+  patches = [
+    # See: https://mail.gnome.org/archives/distributor-list/2019-September/msg00000.html
+    # Note that the patch has now been actually accepted upstream.
+    (fetchpatch {
+      url = "https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/commit/a90daabb84f983d2fa05ff3159f7ad59aa648b55.patch";
+      sha256 = "0p2qygq6b5h6nxjdfnlzbsyih43hjq5c94ag8sbyyb8pmnids9rb";
+    })
+  ];
+
   outputs = [ "out" "dev" ];
 
   nativeBuildInputs = [ meson ninja pkgconfig bzip2 ];