Skip to content

Commit

Permalink
Re-enable energy monitor build and fix linuxkms linkage by adding mis…
Browse files Browse the repository at this point in the history
…sing xkbcommon

The ring build issue was caused by `-neon` being added to the rust
target .json, erroneously for aarch64-poky-linux.
  • Loading branch information
tronical committed Feb 4, 2024
1 parent b03783c commit 17832e1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions recipes-example/slint-demos/slint-demos_git.bb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
inherit cargo
inherit rust
inherit pkgconfig

SRC_URI = "git://github.com/slint-ui/slint.git;protocol=https;branch=master;rev=master"
Expand All @@ -15,7 +16,7 @@ inherit slint_common

REQUIRED_DISTRO_FEATURES:append:class-target = "opengl"

DEPENDS:append:class-target = " fontconfig virtual/libgl"
DEPENDS:append:class-target = " fontconfig libxkbcommon virtual/libgl"
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 = " \
Expand All @@ -40,5 +41,5 @@ do_configure:append() {
do_compile() {
CURL_CA_BUNDLE=${STAGING_DIR_NATIVE}/etc/ssl/certs/ca-certificates.crt
export CURL_CA_BUNDLE
oe_cargo_build --features slint/backend-linuxkms,slint/renderer-skia -p slide_puzzle -p printerdemo -p gallery -p opengl_texture -p opengl_underlay
oe_cargo_build --features slint/backend-linuxkms,slint/renderer-skia -p energy-monitor -p slide_puzzle -p printerdemo -p gallery -p opengl_texture -p opengl_underlay
}

0 comments on commit 17832e1

Please sign in to comment.