Hi,
webkit2gtk-4.0 and thus also javascriptcoregtk-4.0 are provided by webkitgtk-2.38. Yocto/oe has a higher version of webkitgtk which provides webkit2gtk-4.1/javascriptcoregtk-4.1 (if built with gtk3 support) That's probably why the rust crate doesn't find the one it wants.
On Sun, Aug 4 2024 at 11:50:35 PM -07:00:00, bartiszosti@gmail.com wrote:
Hello,
I'm trying to build a application based on the Tauri.
I created a simple application and currently a recipe I shared below.
tauri-vanilla.bb
LICENSE = "CLOSED"
SRC_URI = "git://github.com/bartiszosti/tauri-vanilla.git;branch=master;protocol=https"
SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"
DEPENDS = "nodejs webkitgtk3"
do_compile[network] = "1"
CARGO_DISABLE_BITBAKE_VENDORING = "1"
CARGO_SRC_DIR = "src-tauri"
inherit cargo pkgconfig
I'm able to achive 86% of the compilation with that recipe, deleting the "--frozen" flag from the CARGO_BUILD_FLAGS in cargo.bbclass and setting the PACKAGEGROUP_SOUP to "soup2" in the webkitgtk3.bb but then I get error thet the javascriptcoregtk-4.0 is missing. Do you know how can I add this library to dependancies?
Best regards,
Bartosz Szostak