File foliate-WebKit-version.patch of Package foliate

diff --git a/src/main.js b/src/main.js
index 8725301..a608f75 100644
--- a/src/main.js
+++ b/src/main.js
@@ -17,7 +17,8 @@ pkg.initGettext()
 pkg.initFormat()
 pkg.require({
     'Gio': '2.0',
-    'Gtk': '3.0'
+    'Gtk': '3.0',
+    'WebKit2': '4.0'
 })
 
 const { Gio, Gtk, Gdk, GLib, WebKit2 } = imports.gi
openSUSE Build Service is sponsored by