On Mon, Jul 13, 2015 at 05:38:59PM +0100, Paul Eggleton wrote: > On Monday 13 July 2015 16:18:55 Pampolini Matteo wrote: > > It was also my idea to override QT_PHONON variable inside my .bbappend file, > > but the fact is that this does not prevent BitBake from downloading and > > compiling glib/gstreamer. > > > > In my first hack, when I modified the original qt.inc file, I had to make > > both changes, DEPENDS variable for BitBake and QT_PHONON for Qt itself. > > > > As I wrote in my answer to Leonardo the issue is: how can I override the > > value of DEPENDS variable in my own layer, if possible? > > You can set DEPENDS in the qt4-x11-free bbappend just as with any other > variable. In this instance you could use the _remove operator e.g. > > DEPENDS_remove = "gstreamer gst-plugins-base" Will this work if gstreamer gst-plugins-base aren't next to each other in DEPENDS? I think good convention is to use: DEPENDS_remove = "gstreamer" DEPENDS_remove = "gst-plugins-base" for it to work even after original DEPENDS in the recipe is re-ordered or changed. Regards, > (This will only work here having additionally set QT_PHONON = "-no-phonon" to > disable the underlying depenendency, of course.) > > Cheers, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com