python3.pkgs.gst-python: Fix build with PyGObject 3.52
Still need a second patch for https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4322
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchurl,
|
||||
fetchpatch,
|
||||
meson,
|
||||
ninja,
|
||||
|
||||
@@ -30,6 +31,16 @@ buildPythonPackage rec {
|
||||
hash = "sha256-5QRqBdd6uxVnGtAc0ZCNF9YuWgb114Qb5DQq3io/uNs=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Fix segfault with PyGObject>=3.52.0
|
||||
# https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8653
|
||||
(fetchpatch {
|
||||
url = "https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/69bba61e548c7a63bc18137e63e41489a7de9d36.patch";
|
||||
stripLen = 2;
|
||||
hash = "sha256-BfWPc8dsB09KiEm9bNT8e+jH76jiDefQlEhhLJoq7tI=";
|
||||
})
|
||||
];
|
||||
|
||||
# Python 2.x is not supported.
|
||||
disabled = !isPy3k;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user