mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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>
This commit is contained in:
@@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = " \
|
||||
file://COPYING.GPL3;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
"
|
||||
|
||||
inherit autotools pkgconfig
|
||||
inherit autotools pkgconfig features_check
|
||||
|
||||
DEPENDS = "frame"
|
||||
CXXFLAGS:append:toolchain-clang = " -Wno-pessimizing-move"
|
||||
@@ -19,6 +19,8 @@ UPSTREAM_CHECK_URI = "https://launchpad.net/grail/trunk"
|
||||
SRC_URI[md5sum] = "0df1b3ec6167920f310e2effe6e2ad44"
|
||||
SRC_URI[sha256sum] = "5eed1f650f042481daa3a2de5e7d43261fe343b2a1b1e240f3b7fc26572c9df3"
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
|
||||
PACKAGECONFIG[x11] = "--with-x11, --without-x11, libxi"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user