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 { lib, stdenv
, gettext , gettext
, fetchurl , fetchurl
, fetchpatch
, wrapGAppsHook , wrapGAppsHook
, gnome-video-effects , gnome-video-effects
, libcanberra-gtk3 , libcanberra-gtk3
@ -18,7 +19,6 @@
, docbook_xsl , docbook_xsl
, appstream-glib , appstream-glib
, libxslt , libxslt
, yelp-tools
, gnome-common , gnome-common
, gtk-doc , gtk-doc
, adwaita-icon-theme , adwaita-icon-theme
@ -43,6 +43,14 @@ stdenv.mkDerivation rec {
sha256 = "0vyim2avlgq3a48rgdfz5g21kqk11mfb53b2l883340v88mp7ll8"; 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 = '' postPatch = ''
chmod +x meson_post_install.py chmod +x meson_post_install.py
patchShebangs meson_post_install.py patchShebangs meson_post_install.py
@ -68,7 +76,6 @@ stdenv.mkDerivation rec {
python3 python3
vala vala
wrapGAppsHook wrapGAppsHook
yelp-tools
]; ];
buildInputs = [ buildInputs = [