gnome3.cheese: fix build

This commit is contained in:
Jan Tojnar 2021-03-23 06:49:49 +01:00
parent 3a669c7106
commit 14a1fc1e4b
No known key found for this signature in database
GPG key ID: 7FAB2A15F7A607A4

View file

@ -1,6 +1,7 @@
{ lib, stdenv
, gettext
, fetchurl
, fetchpatch
, wrapGAppsHook
, gnome-video-effects
, libcanberra-gtk3
@ -18,7 +19,6 @@
, docbook_xsl
, appstream-glib
, libxslt
, yelp-tools
, gnome-common
, gtk-doc
, adwaita-icon-theme
@ -43,6 +43,14 @@ stdenv.mkDerivation rec {
sha256 = "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8";
};
patches = [
# Fix build with latest Vala or GLib
(fetchpatch {
url = "https://gitlab.gnome.org/GNOME/cheese/commit/7cf6268e54620bbbe5e6e61800c50fb0cb4bea57.patch";
sha256 = "WJgGNrpZLTahe7Sxr8HdTl+4Mf4VcmJb6DdiInlDcT4=";
})
];
postPatch = ''
chmod +x meson_post_install.py
patchShebangs meson_post_install.py
@ -68,7 +76,6 @@ stdenv.mkDerivation rec {
python3
vala
wrapGAppsHook
yelp-tools
];
buildInputs = [