Hi, I am trying to build gnome-online-accounts 3.46.0, but I installed latest stable webkitgtk 2.38.4 and I enabled goabackend and meson fails with looking for a javascriptcoregtk-4.1.pc file, but wbkitgtk 2.38.4 supplies javascriptcore-5.0.pc
Is it safe to patch gnome online accounts to look for javascriptcoregtk-5.0 instead of javascriptcoregtk-4.1 ?
Nope, -5.0 is GTK 4 while -4.1 is GTK 3. You really need -4.1. To get -4.1, build WebKitGTK with -DUSE_GTK4=OFF and -DUSE_SOUP2=OFF. (Both these flags are currently the default values.)
P.S. The -5.0 API version is unstable and temporary and gone in WebKitGTK 2.40, replaced by -6.0, which will become stable soon.