Skip to content

Commit

Permalink
Update slint demos patch
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Mar 14, 2024
1 parent a24a7a1 commit f34e74f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From 06b7ebe03492db3260be5f3e91dfec852d6a17b7 Mon Sep 17 00:00:00 2001
From 17131a242fe1b6859dfbac9e2676a16790dee496 Mon Sep 17 00:00:00 2001
From: Simon Hausmann <[email protected]>
Date: Sun, 18 Jun 2023 11:35:07 +0200
Subject: [PATCH] WIP: Use a patched gettext to avoid cross-compiling gettext
Expand All @@ -9,12 +9,12 @@ Subject: [PATCH] WIP: Use a patched gettext to avoid cross-compiling gettext
1 file changed, 3 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index 95d4ce22c..392b2f2f7 100644
index ab192d05e..2506a23b6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -101,6 +101,9 @@ fontdb = { version = "0.14.1", default-features = false }
send_wrapper = { version = "0.6.0" }
cbindgen = { version = "0.24", default-features = false }
@@ -140,6 +140,9 @@ strum = { version = "0.26.1", default-features = false, features = ["derive"] }
toml_edit = { version = "0.22.7" }
cfg_aliases = { version = "0.2.0" }

+[patch.crates-io]
+gettext-sys = { git = "https://github.com/slint-ui/gettext-rs", branch = "simon/fix-linux-detection" }
Expand Down
2 changes: 2 additions & 0 deletions recipes-example/slint-demos/slint-demos_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ LICENSE = "GPLv3 | Slint-Commercial"

inherit slint_common

PV = "git-${SRCPV}"

REQUIRED_DISTRO_FEATURES:append:class-target = "opengl"

DEPENDS:append:class-target = " fontconfig libxkbcommon virtual/libgl"
Expand Down

0 comments on commit f34e74f

Please sign in to comment.