summary refs log tree commit diff
diff options
context:
space:
mode:
authorLily Foster <lily@lily.flowers>2023-08-06 07:51:56 -0400
committerLily Foster <lily@lily.flowers>2023-08-06 07:52:30 -0400
commit6907e205c7be2c203bc55322ea443c9de8063aad (patch)
treec3383279d85db143debc9baaeed80f9eecfa9ac8
parentc33abfefe2d6baa9dc70e61553a526dc07cd3d23 (diff)
downloadnixpkgs-6907e205c7be2c203bc55322ea443c9de8063aad.tar
nixpkgs-6907e205c7be2c203bc55322ea443c9de8063aad.tar.gz
nixpkgs-6907e205c7be2c203bc55322ea443c9de8063aad.tar.bz2
nixpkgs-6907e205c7be2c203bc55322ea443c9de8063aad.tar.lz
nixpkgs-6907e205c7be2c203bc55322ea443c9de8063aad.tar.xz
nixpkgs-6907e205c7be2c203bc55322ea443c9de8063aad.tar.zst
nixpkgs-6907e205c7be2c203bc55322ea443c9de8063aad.zip
gst_all_1.gst-plugins-good: add temporary patch for qt5
-rw-r--r--pkgs/development/libraries/gstreamer/good/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/libraries/gstreamer/good/default.nix b/pkgs/development/libraries/gstreamer/good/default.nix
index 2420b051573..f967e2e0ce1 100644
--- a/pkgs/development/libraries/gstreamer/good/default.nix
+++ b/pkgs/development/libraries/gstreamer/good/default.nix
@@ -1,5 +1,6 @@
 { lib, stdenv
 , fetchurl
+, fetchpatch
 , meson
 , nasm
 , ninja
@@ -60,6 +61,17 @@ stdenv.mkDerivation rec {
     hash = "sha256-tnsxMTpUxpKbgpadQdPP3y9Y21c/tfSR5rul2ErqB3g=";
   };
 
+  # TODO: Patch is conditional to spare rebuilds during the current staging-next cycle and should be removed during the next bump
+  patches = lib.optionals qt5Support [
+    # Needed until https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5083 is merged and released
+    (fetchpatch {
+      name = "gst-plugins-good-fix-qt5-without-viv-fb.patch";
+      url = "https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/03d8ef0b7c6e70eb936de0514831c1aafc763dcf.diff";
+      hash = "sha256-17XU/W/TMPg5669O1EBXByAN/VwFu/0idTg5ze3M/D4=";
+      stripLen = 2;
+    })
+  ];
+
   strictDeps = true;
 
   depsBuildBuild = [ pkg-config ];