-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Op 16-08-11 09:12, Anders Darander schreef: > This stops (most) x11 packages leaking into a non-x11 distro by mistake.
Thanks, applied > > Signed-off-by: Phil Blundell <[email protected]> > > The patch was imported from the oe-core git server > (git://git.openembedded.org/openembedded-core) as of commit id > 2f94ff4fdb66755ba2448794baea19315ff96273. > > Signed-off-by: Anders Darander <[email protected]> --- > meta-oe/recipes-graphics/xorg-lib/libx11.inc | 5 +++++ 1 files changed, 5 > insertions(+), 0 deletions(-) > > diff --git a/meta-oe/recipes-graphics/xorg-lib/libx11.inc > b/meta-oe/recipes-graphics/xorg-lib/libx11.inc index 2aa9700..9f7e990 100644 > --- a/meta-oe/recipes-graphics/xorg-lib/libx11.inc +++ > b/meta-oe/recipes-graphics/xorg-lib/libx11.inc @@ -45,3 +45,8 @@ > do_compile_prepend() { cd ../../ ) || exit > 1 } + +python () { + if not oe.utils.contains ('DISTRO_FEATURES', > 'x11', True, False, d): + raise bb.parse.SkipPackage("X11 not > enabled for this DISTRO") +} -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFOSiRqMkyGM64RGpERAnL8AJ0TOx00BOuGrgc8tOTyG7DRC6iKQQCgkemv jur8/elTsckY0AojZuWEvWc= =lrZE -----END PGP SIGNATURE----- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
