gnu: jami-gnome: Fix build with webkitgtk 2.34.1.

* gnu/packages/jami.scm (jami-gnome)[phases]{fix-webkit-detection}: New phase.
This commit is contained in:
Maxim Cournoyer 2021-10-30 23:35:58 -04:00
parent 539b18da3d
commit 18dd5e45e4
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -546,6 +546,11 @@ (define-public jami-gnome
(add-after 'unpack 'change-directory
(lambda _
(chdir "client-gnome")))
(add-after 'change-directory 'fix-webkit-detection
(lambda _
(substitute* "CMakeLists.txt"
(("WEBKIT webkit2gtk-4.0")
"WEBKIT webkit2gtk-4.1"))))
(add-after 'install 'glib-or-gtk-compile-schemas
(assoc-ref gtk:%standard-phases 'glib-or-gtk-compile-schemas))
(add-after 'glib-or-gtk-compile-schemas 'glib-or-gtk-wrap