[vlc-devel] [PATCH] contrib: Add srt
Justin Kim
justin.kim at collabora.com
Thu Oct 12 08:01:02 CEST 2017
Hello,
It requires openssl, then do I need to add "DEPS_srt = openssl" ?
On 12/10/2017 2:40 PM, Jean-Baptiste Kempf wrote:
> OK, but you confirm that it won't work without OpenSSL?
>
> On Wed, 11 Oct 2017, at 21:03, Justin Kim wrote:
>> Secure Reliable Transport library
>>
>> Signed-off-by: Justin Kim <justin.kim at collabora.com>
>> ---
>> contrib/src/srt/SHA512SUMS | 1 +
>> contrib/src/srt/rules.mak | 19 +++++++++++++++++++
>> 2 files changed, 20 insertions(+)
>> create mode 100644 contrib/src/srt/SHA512SUMS
>> create mode 100644 contrib/src/srt/rules.mak
>>
>> diff --git a/contrib/src/srt/SHA512SUMS b/contrib/src/srt/SHA512SUMS
>> new file mode 100644
>> index 0000000000..c05e525aa6
>> --- /dev/null
>> +++ b/contrib/src/srt/SHA512SUMS
>> @@ -0,0 +1 @@
>> +ed94fc44bffa36cd76574f5590c8ef3b1ca0937d4436f152331573cf6d6de2ced87ad683928034933ae33bf94912ce63a02a7dfa3af2fab3cb3e42d81c733694
>> v1.2.0.tar.gz
>> diff --git a/contrib/src/srt/rules.mak b/contrib/src/srt/rules.mak
>> new file mode 100644
>> index 0000000000..e959d002cb
>> --- /dev/null
>> +++ b/contrib/src/srt/rules.mak
>> @@ -0,0 +1,19 @@
>> +# srt
>> +
>> +SRT_VERSION := 1.2.0
>> +SRT_TARBALL := v$(SRT_VERSION).tar.gz
>> +SRT_URL := $(GITHUB)/Haivision/srt/archive/$(SRT_TARBALL)
>> +
>> +$(TARBALLS)/$(SRT_TARBALL):
>> + $(call download_pkg,$(SRT_URL),srt)
>> +
>> +.sum-srt: $(SRT_TARBALL)
>> +
>> +srt: $(SRT_TARBALL) .sum-srt
>> + $(UNPACK)
>> + mv srt-$(SRT_VERSION) $@ && touch $@
>> +
>> +.srt: srt
>> + cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
>> + cd $< && $(MAKE) install
>> + touch $@
>> --
>> 2.14.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