1
mirror of https://code.videolan.org/videolan/vlc synced 2024-09-28 23:09:59 +02:00

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.
This commit is contained in:
Alexandre Janniaux 2020-04-27 14:29:50 +02:00
parent 4d87172d28
commit 8570ea869a

View File

@ -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