mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-15 18:16:28 +00:00
evince: add opengl to REQUIRED_DISTRO_FEATURES
Add opengl to REQUIRED_DISTRO_FEATURES if x11 is enabled in DISTRO_FEATURES as it needs gnome-desktop when x11 enabled. Fixes: ERROR: Nothing PROVIDES 'gnome-desktop' (but /build/layers/meta-openembedded/meta-gnome/recipes-gnome/evince/evince_42.3.bb DEPENDS on or otherwise requires it) gnome-desktop 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', 'evince', 'gnome-desktop'] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
06fbe76348
commit
82fc8c534e
@ -19,7 +19,9 @@ DEPENDS = " \
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gtk-doc
|
||||
inherit gnomebase itstool gnome-help pkgconfig gsettings gobject-introspection gettext mime-xdg gtk-doc features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
|
||||
|
||||
def gnome_verdir(v):
|
||||
return oe.utils.trim_version(v, 1)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user