diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-28 11:53:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-29 15:15:47 +0100 |
commit | ef967c70182eeccb59c7511d838a7ecb0b2315c1 (patch) | |
tree | fd801c62907115b9e8377f835ff4eb688e0c6bb2 /meta/recipes-devtools/python | |
parent | b7ab82485e4514e07ab8a76e554da27ddc92e6c0 (diff) | |
download | openembedded-core-ef967c70182eeccb59c7511d838a7ecb0b2315c1.tar.gz openembedded-core-ef967c70182eeccb59c7511d838a7ecb0b2315c1.tar.bz2 openembedded-core-ef967c70182eeccb59c7511d838a7ecb0b2315c1.zip |
classes/meta: Add DISTRO_FEATURES check for gtk+/gtk3+
If you currently do a DISTRO_FEATURES_remove = "x11" with OE-Core, you
see failures due to dependency problems. The work in resolving this was
partially completed a while back. This adds in the markup mainly for
gtk/gtk3+ recipes and means "bitbake world" will work successfully.
Rather than code the gtk/gtk+ specific distro features into each recipe,
a shared variable is used.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python')
-rw-r--r-- | meta/recipes-devtools/python/python-pygtk_2.24.0.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb index e4c33a803f..79b3110e30 100644 --- a/meta/recipes-devtools/python/python-pygtk_2.24.0.bb +++ b/meta/recipes-devtools/python/python-pygtk_2.24.0.bb @@ -26,7 +26,9 @@ S = "${WORKDIR}/${SRCNAME}-${PV}" EXTRA_OECONF = "--disable-docs --with-python-includes=${STAGING_INCDIR}/../" -inherit autotools pkgconfig distutils-base +inherit autotools pkgconfig distutils-base distro_features_check + +ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" do_configure_prepend() { install -m 0644 ${WORKDIR}/acinclude.m4 ${S}/ |