[vlc-devel] [PATCH] contribs: srt: use HAVE_GNUV3 to enable

David Fuhrmann david.fuhrmann at gmail.com
Mon Apr 27 18:25:44 CEST 2020


LGTM.

> Am 27.04.2020 um 14:29 schrieb Alexandre Janniaux <ajanni at videolabs.io>:
> 
> Platforms like iOS cannot include (L)GPLv3 code and the dependencies
> of this contrib (Nettle, transitively through GnuTLS) make it
> requiring v3 code.
> ---
> contrib/src/srt/rules.mak | 4 ++++
> 1 file changed, 4 insertions(+)
> 
> diff --git a/contrib/src/srt/rules.mak b/contrib/src/srt/rules.mak
> index c9dbb59db87..88c34e4ccd8 100644
> --- a/contrib/src/srt/rules.mak
> +++ b/contrib/src/srt/rules.mak
> @@ -4,8 +4,12 @@ SRT_VERSION := 1.3.1
> SRT_URL := $(GITHUB)/Haivision/srt/archive/v$(SRT_VERSION).tar.gz
> 
> ifdef BUILD_NETWORK
> +# Nettle is GPLv3 and is required by GnuTLS, which is a
> +# dependency of srt
> +ifdef HAVE_GNUV3
> PKGS += srt
> endif
> +endif
> 
> ifeq ($(call need_pkg,"srt >= 1.3.1"),)
> PKGS_FOUND += srt
> -- 
> 2.26.2
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list