Browse Source
Secure Reliable Transport library supports nettle backend since 1.2.1, and the current released version is 1.2.2 which has a fix of wrong version string. With the option, `--with-gnutls`, in SRT, VLC can be sure that non-GPL compatible library won't be linked. Signed-off-by: Justin Kim <justin.kim@collabora.com> Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>pull/62/head
committed by
Jean-Baptiste Kempf
3 changed files with 32 additions and 1 deletions
@ -0,0 +1 @@ |
|||
cb897c97d5fd93b333c8de0805c78c940650a2daf8d821e09e3fb01c7e4b56bd7513cf28545f7ac422fba9fa8420b745f397359a4b9e81cff496c776820ea90a v1.2.2.tar.gz |
|||
@ -0,0 +1,30 @@ |
|||
# srt
|
|||
|
|||
SRT_VERSION := 1.2.2 |
|||
SRT_TARBALL := v$(SRT_VERSION).tar.gz |
|||
SRT_URL := $(GITHUB)/Haivision/srt/archive/$(SRT_TARBALL) |
|||
|
|||
ifndef HAVE_WIN32 |
|||
ifdef BUILD_NETWORK |
|||
PKGS += srt |
|||
endif |
|||
endif |
|||
ifeq ($(call need_pkg,"srt >= 1.2.2"),) |
|||
PKGS_FOUND += srt |
|||
endif |
|||
|
|||
$(TARBALLS)/$(SRT_TARBALL): |
|||
$(call download_pkg,$(SRT_URL),srt) |
|||
|
|||
.sum-srt: $(SRT_TARBALL) |
|||
|
|||
srt: $(SRT_TARBALL) .sum-srt |
|||
$(UNPACK) |
|||
mv srt-$(SRT_VERSION) $@ && touch $@ |
|||
|
|||
DEPS_srt = $(DEPS_gnutls) |
|||
|
|||
.srt: srt |
|||
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --with-gnutls |
|||
cd $< && $(MAKE) install |
|||
touch $@ |
|||
Loading…
Reference in new issue