From 1b4c3e1145d094ba3f9d5992527d1929730725da Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Fri, 2 Feb 2024 20:25:26 +0100 Subject: [PATCH] Fix Skia bit of slint-demos build Need ca-certificates for the curl download of the Skia sources --- recipes-example/slint-demos/slint-demos_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-example/slint-demos/slint-demos_git.bb b/recipes-example/slint-demos/slint-demos_git.bb index ce17340..f82f3e4 100644 --- a/recipes-example/slint-demos/slint-demos_git.bb +++ b/recipes-example/slint-demos/slint-demos_git.bb @@ -15,7 +15,7 @@ inherit slint_common REQUIRED_DISTRO_FEATURES:append:class-target = "opengl" DEPENDS:append:class-target = " fontconfig virtual/libgl" -DEPENDS:append:class-target = " clang-cross-${TARGET_ARCH}" +DEPENDS:append:class-target = " clang-cross-${TARGET_ARCH} ca-certificates-native" DEPENDS:append:class-target = " libdrm virtual/egl virtual/libgbm seatd udev libinput" DEPENDS:append:class-target = " \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxcb', '', d)} \ @@ -32,5 +32,7 @@ S = "${WORKDIR}/git" BBCLASSEXTEND = "native" do_compile() { + CURL_CA_BUNDLE=${STAGING_DIR_NATIVE}/etc/ssl/certs/ca-certificates.crt + export CURL_CA_BUNDLE oe_cargo_build --features slint/renderer-skia,slint/backend-linuxkms -p energy-monitor -p slide_puzzle -p printerdemo -p gallery -p opengl_texture -p opengl_underlay }