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

Tristan Matthews tmatth at videolan.org
Tue Sep 25 18:31:42 CEST 2018


Hi,

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
in your path? dav1d requires 0.47 or greater (although it will error out
with that information).


>
> +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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20180925/9a7a816e/attachment.html>


More information about the vlc-devel mailing list