gtksourceview{4,5}: fix cross

5 depends on opencv for which cross doesn't work so i coudlnt test it
This commit is contained in:
Artturin 2022-11-10 00:06:33 +02:00
parent 83f0198962
commit 62f9cc2bdc
2 changed files with 14 additions and 0 deletions

View File

@ -70,6 +70,13 @@ stdenv.mkDerivation rec {
dbus
];
postPatch = ''
# https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/295
# build: drop unnecessary vapigen check
substituteInPlace meson.build \
--replace "if generate_vapi" "if false"
'';
# Broken by PCRE 2 bump in GLib.
# https://gitlab.gnome.org/GNOME/gtksourceview/-/issues/283
doCheck = false;

View File

@ -74,6 +74,13 @@ stdenv.mkDerivation rec {
"-Dgtk_doc=true"
];
postPatch = ''
# https://gitlab.gnome.org/GNOME/gtksourceview/-/merge_requests/295
# build: drop unnecessary vapigen check
substituteInPlace meson.build \
--replace "if generate_vapi" "if false"
'';
doCheck = stdenv.isLinux;
checkPhase = ''