Skip to content

Commit

Permalink
Re-enable skia in the slint demos build
Browse files Browse the repository at this point in the history
... and instead disable the energy monitor until the ring build issue is
solved or worked around.
  • Loading branch information
tronical committed Feb 3, 2024
1 parent 2a0b292 commit b03783c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions recipes-example/slint-demos/slint-demos_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,13 @@ S = "${WORKDIR}/git"

BBCLASSEXTEND = "native"

do_configure:append() {
# Work around current half not cross-compiling well
(cd ${S} && cargo update -p half --precise 2.2.1)
}

do_compile() {
CURL_CA_BUNDLE=${STAGING_DIR_NATIVE}/etc/ssl/certs/ca-certificates.crt
export CURL_CA_BUNDLE
# Work around current half not cross-compiling well
(cd ${S} && cargo update -p half --precise 2.2.1)
oe_cargo_build --features slint/backend-linuxkms -p energy-monitor -p slide_puzzle -p printerdemo -p gallery -p opengl_texture -p opengl_underlay
oe_cargo_build --features slint/backend-linuxkms,slint/renderer-skia -p slide_puzzle -p printerdemo -p gallery -p opengl_texture -p opengl_underlay
}

0 comments on commit b03783c

Please sign in to comment.