Skip to content

Commit

Permalink
Fix Skia bit of slint-demos build
Browse files Browse the repository at this point in the history
Need ca-certificates for the curl download of the Skia sources
  • Loading branch information
tronical committed Feb 2, 2024
1 parent c2b7560 commit 1b4c3e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion recipes-example/slint-demos/slint-demos_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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)} \
Expand All @@ -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
}

0 comments on commit 1b4c3e1

Please sign in to comment.