From e5ee67baeee50b47198fc59864163ac38bacb1fe Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Tue, 30 Aug 2022 17:09:09 +0200
Subject: [PATCH] dbus-java: Include features check from classpath

classpath is an indirect dependency of this package that also has a
required distro feature on x11. Without having the same feature check
here, a world build would fail when x11 is not enabled. Reflecting the
same feature check in this recipe, makes sure that world will skip it as
well.

The patch is waiting upstream inclusion in the kirkstone branch:
https://lists.openembedded.org/g/openembedded-devel/message/98294

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../recipes-extended/dbus/dbus-java_2.7.bbappend             | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 meta-oniro-staging/recipes-extended/dbus/dbus-java_2.7.bbappend

diff --git a/meta-oniro-staging/recipes-extended/dbus/dbus-java_2.7.bbappend b/meta-oniro-staging/recipes-extended/dbus/dbus-java_2.7.bbappend
new file mode 100644
index 00000000..ddbf2d45
--- /dev/null
+++ b/meta-oniro-staging/recipes-extended/dbus/dbus-java_2.7.bbappend
@@ -0,0 +1,5 @@
+# SPDX-FileCopyrightText: Huawei Inc.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+include recipes-core/classpath/classpath-features-check.inc
-- 
GitLab