summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2022-12-10 13:18:39 +0800
committerKhem Raj <raj.khem@gmail.com>2022-12-09 23:36:20 -0800
commit34226ac6329450013b3d13f756148d86bf6e8453 (patch)
treed5cd64372c278c43fc10293e13476b3200cb1000
parentf3d14d41ad60d2d52a0ea795ae10fe0882146ed1 (diff)
downloadmeta-openembedded-34226ac6329450013b3d13f756148d86bf6e8453.tar.gz
grail: add opengl to REQUIRED_DISTRO_FEATURES
Fixes: ERROR: Nothing PROVIDES 'frame' (but /build/layers/meta-openembedded/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb DEPENDS on or otherwise requires it) frame was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'geis', 'grail', 'frame'] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb b/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb
index 6646c8bfc1..067052c036 100644
--- a/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb
+++ b/meta-oe/recipes-support/canonical-multitouch/grail_3.1.1.bb
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \
8 file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \ 8 file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
9" 9"
10 10
11inherit autotools pkgconfig 11inherit autotools pkgconfig features_check
12 12
13DEPENDS = "frame" 13DEPENDS = "frame"
14CXXFLAGS:append:toolchain-clang = " -Wno-pessimizing-move" 14CXXFLAGS:append:toolchain-clang = " -Wno-pessimizing-move"
@@ -19,6 +19,8 @@ UPSTREAM_CHECK_URI = "https://launchpad.net/grail/trunk"
19SRC_URI[md5sum] = "0df1b3ec6167920f310e2effe6e2ad44" 19SRC_URI[md5sum] = "0df1b3ec6167920f310e2effe6e2ad44"
20SRC_URI[sha256sum] = "5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3" 20SRC_URI[sha256sum] = "5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3"
21 21
22REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
23
22PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" 24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
23PACKAGECONFIG[x11] = "--with-x11, --without-x11, libxi" 25PACKAGECONFIG[x11] = "--with-x11, --without-x11, libxi"
24 26