[oe] [PATCH] vlc: rework qt PACKAGECONFIG

Andreas Müller schnitzeltony at gmail.com
Tue Apr 23 00:07:02 UTC 2019


On Tue, Apr 23, 2019 at 1:55 AM Paul Barker <paul at betafive.co.uk> wrote:
>
> On 23/04/2019 00:46, Andreas Müller wrote:
> > * qt4 support is gone -> move to qt5
> > * enable qt5 gui in case meta-qt5 is in layers (it is more or less useless
> >    without gui)
> > * while at it remove noop libtool copy
> >
> > Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
> > ---
> > V1 -> V2: Aargh again typo in commit messeage...
> >   .../recipes-multimedia/vlc/vlc.inc            | 25 ++++++++++++-------
> >   1 file changed, 16 insertions(+), 9 deletions(-)
> >
> > diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc.inc b/meta-multimedia/recipes-multimedia/vlc/vlc.inc
> > index 19ac8206c..6ba1444b5 100644
> > --- a/meta-multimedia/recipes-multimedia/vlc/vlc.inc
> > +++ b/meta-multimedia/recipes-multimedia/vlc/vlc.inc
> > @@ -36,12 +36,18 @@ EXTRA_OECONF = "\
> >       --enable-realrtsp \
> >       --disable-libtar \
> >       --enable-avcodec \
> > -    ac_cv_path_MOC=${STAGING_BINDIR_NATIVE}/moc4 \
> > -    ac_cv_path_RCC=${STAGING_BINDIR_NATIVE}/rcc4 \
> > -    ac_cv_path_UIC=${STAGING_BINDIR_NATIVE}/uic4 \
> > +    ac_cv_path_MOC=${STAGING_BINDIR_NATIVE}${QT_DIR_NAME}/moc \
> > +    ac_cv_path_RCC=${STAGING_BINDIR_NATIVE}${QT_DIR_NAME}/rcc \
> > +    ac_cv_path_UIC=${STAGING_BINDIR_NATIVE}${QT_DIR_NAME}/uic \
> >   "
> >
> > -PACKAGECONFIG ?= " live555 dc1394 dv1394 notify fontconfig freetype dvdread png ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)}"
> > +PACKAGECONFIG ?= " \
> > +    live555 dc1394 dv1394 notify fontconfig freetype dvdread png \
> > +    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '', d)} \
> > +    ${@bb.utils.contains('BBFILE_COLLECTIONS', 'qt5-layer', 'qt5', '', d)} \
>
> I don't like this change based on BBFILE_COLLECTIONS, it's just a
> different way of having things change when you add an extra layer. We
> wouldn't want an unconditional bbappend in meta-qt5 to set this and so
> we don't want to set it here when that layer is added.
>
> Perhaps we should have qt5 as a distro feature instead?
Isn't that a different naming for the same thing not working properly
if you don't have meta-qt5 in layers?

Andreas


More information about the Openembedded-devel mailing list