From 4e342e14b76b6a22155c88c5698d06f1a36a148a Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Mon, 2 Oct 2023 19:05:22 +0200 Subject: [PATCH] Remove slint depends into the slint class --- classes/slint.bbclass | 1 + recipes-example/slint-hello-world/slint-hello-world_git.bb | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/classes/slint.bbclass b/classes/slint.bbclass index 5f1c9d3..7755d23 100644 --- a/classes/slint.bbclass +++ b/classes/slint.bbclass @@ -1,3 +1,4 @@ DEPENDS:append:class-target = " slint-cpp-native" +DEPENDS:append = " slint-cpp" EXTRA_OECMAKE:append:class-target = " -DSLINT_COMPILER:FILEPATH=${RECIPE_SYSROOT_NATIVE}${prefix_native}/bin/slint-compiler " diff --git a/recipes-example/slint-hello-world/slint-hello-world_git.bb b/recipes-example/slint-hello-world/slint-hello-world_git.bb index f2face5..b08a3da 100644 --- a/recipes-example/slint-hello-world/slint-hello-world_git.bb +++ b/recipes-example/slint-hello-world/slint-hello-world_git.bb @@ -8,12 +8,10 @@ HOMEPAGE = "https://github.com/slint-ui/slint" LICENSE = "GPLv3 | Slint-Commercial" LIC_FILES_CHKSUM = "file://LICENSE;md5=9e911597e678943cde54111f7518e299" -DEPENDS = "slint-cpp" - S = "${WORKDIR}/git" PV = "slint-hello-world-${SRCPV}" do_install() { install -d ${D}${bindir} install -m 755 ${B}/my_application ${D}${bindir}/slint-hello-world -} \ No newline at end of file +}