[vlc-commits] contribs: srt: use HAVE_GNUV3 to enable

Alexandre Janniaux git at videolan.org
Wed Apr 29 20:19:28 CEST 2020


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Mon Apr 27 14:29:50 2020 +0200| [8570ea869abb5ff95467336b843f164aa74ee527] | committer: Alexandre Janniaux

contribs: srt: use HAVE_GNUV3 to enable

Platforms like iOS cannot include (L)GPLv3 code and the dependencies
of this contrib (Nettle, transitively through GnuTLS) make it
requiring v3 code.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8570ea869abb5ff95467336b843f164aa74ee527
---

 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 c9dbb59db8..88c34e4ccd 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



More information about the vlc-commits mailing list