summaryrefslogtreecommitdiff
path: root/gnu/packages/jami.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-10-30 23:35:58 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-11-11 12:18:28 -0500
commit18dd5e45e4b9d7c66f386119e6578bf8b0555f63 (patch)
tree015d4bd7173e41dfe20d6675ec359b5dd89d0c47 /gnu/packages/jami.scm
parent539b18da3d533256f57b7114635883d3867aa8f9 (diff)
gnu: jami-gnome: Fix build with webkitgtk 2.34.1.
* gnu/packages/jami.scm (jami-gnome)[phases]{fix-webkit-detection}: New phase.
Diffstat (limited to 'gnu/packages/jami.scm')
-rw-r--r--gnu/packages/jami.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index 5cb92840dc..7c38b17b5e 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -546,6 +546,11 @@ decentralized calling using P2P-DHT.")
(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