On Wed, Apr 15, 2015 at 11:37 AM, Burton, Ross <ross.bur...@intel.com> wrote: > > On 15 April 2015 at 10:30, Robert Yang <liezhi.y...@windriver.com> wrote: >> >> +DEPENDS = "util-macros virtual/egl virtual/libx11" > > > This means we can't build GTK+ without X11 (eg core-image-weston with x11 > removed from DISTRO_FEATURES), as gtk+3 will depend on libepoxy which will > depend on libx11 which will refuse to build as x11 isn't in DISTRO_FEATURES. > > libepoxy does conditional checks so the libx11 dependency can be condtional > on DISTRO_FEATURES. That's no idea but better than nothing. > > Ross After all these discussions I remmeber better what I went through building libepoxy in meta-qt5-extra. So my first suggestion is back - with the patches in meta-qt5-extra I have managed to build libepoxy in x-less environments and without depending on util-macros.
Patch [1]: util-macros no more required in DEPENDS Patch [2]: allow build for x-less environments I don't have time to prepare patches, but maybe somebody wants to take a look. Ahh before I forget: libepoxy should inherit pythonnative - all source file creation is done by pythonscripts. Andreas [1] https://github.com/schnitzeltony/meta-qt5-extra/blob/master/recipes-support/libepoxy/files/0001-configure.ac-don-t-rely-on-Xorg.macros.patch [2] https://github.com/schnitzeltony/meta-qt5-extra/blob/master/recipes-support/libepoxy/files/0002-take-configuration-into-consideration-when-selecting.patch -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core