[vlc-devel] [PATCH 1/3] contrib: add generic meson support

Hugo Beauzée-Luyssen hugo at beauzee.fr
Wed Sep 26 09:34:58 CEST 2018


On Tue, Sep 25, 2018, at 6:31 PM, Tristan Matthews wrote:
> Hi,
> 

Hey,

> On Tue, Sep 25, 2018 at 12:11 PM Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> wrote:
> 
> > From: Steve Lhomme <robux4 at ycbcr.xyz>
> >
> > to differentiate optimized and debug builds
> > ---
> >  contrib/src/main.mak | 8 ++++++++
> >  1 file changed, 8 insertions(+)
> >
> > diff --git a/contrib/src/main.mak b/contrib/src/main.mak
> > index ddd8b16aaa..0f8b51088f 100644
> > --- a/contrib/src/main.mak
> > +++ b/contrib/src/main.mak
> > @@ -355,6 +355,14 @@ ifeq ($(V),1)
> >  CMAKE += -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
> >  endif
> >
> > +MESON = meson --default-library static --prefix "$(PREFIX)" --backend
> > ninja
> >
> 
> Will there be a minimum version check of meson somewhere? Also, that it's

I suppose we should, indeed.

> in your path? dav1d requires 0.47 or greater (although it will error out
> with that information).

Yes, and true about dav1d... I guess we might require the latest version for a while, as there are still things being fixed in meson.

> 
> 
> >
> > +ifndef WITH_OPTIMIZATION
> > +MESON += --buildtype debug
> > +else
> > +MESON += --buildtype release
> > +endif
> > +
> > +
> >
> >  ifdef GPL
> >  REQUIRE_GPL =
> > --
> > 2.18.0
> >
> > _______________________________________________
> > vlc-devel mailing list
> > To unsubscribe or modify your subscription options:
> > https://mailman.videolan.org/listinfo/vlc-devel
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


-- 
  Hugo Beauzée-Luyssen
  hugo at beauzee.fr


More information about the vlc-devel mailing list