gst_all_1.gst-plugins-good: add temporary patch for qt5

This commit is contained in:
Lily Foster 2023-08-06 07:51:56 -04:00
parent c33abfefe2
commit 6907e205c7
No known key found for this signature in database
GPG key ID: 49340081E484C893

View file

@ -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 ];