Merge pull request #63906 from worldofpeace/fractal-fixbuild

fractal: fix build with gstreamer 1.16.0
This commit is contained in:
worldofpeace
2019-06-28 18:43:48 -04:00
committed by GitHub

View File

@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitLab, meson, ninja, gettext, cargo, rustc, python3, rustPlatform, pkgconfig, gtksourceview
, hicolor-icon-theme, glib, libhandy, gtk3, libsecret, dbus, openssl, sqlite, gst_all_1, wrapGAppsHook }:
, hicolor-icon-theme, glib, libhandy, gtk3, libsecret, dbus, openssl, sqlite, gst_all_1, wrapGAppsHook, fetchpatch }:
rustPlatform.buildRustPackage rec {
version = "4.0.0";
@@ -21,6 +21,14 @@ rustPlatform.buildRustPackage rec {
gtksourceview hicolor-icon-theme libsecret
];
patches = [
# Fixes build with >= gstreamer 1.15.1
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/fractal/commit/e78f36c25c095ea09c9c421187593706ad7c4065.patch";
sha256 = "1qv7ayhkhgrrldag2lzs9ql17nbc1d72j375ljhhf6cms89r19ir";
})
];
postPatch = ''
patchShebangs scripts/meson_post_install.py
'';