[vlc-commits] contrib: srt: call pkg_static.

Konstantin Pavlov git at videolan.org
Tue Dec 5 07:59:51 CET 2017


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Tue Dec  5 09:59:13 2017 +0300| [be00c0f748b60f06ca8730b8e89f9733d32e9385] | committer: Konstantin Pavlov

contrib: srt: call pkg_static.

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

 contrib/src/srt/SHA512SUMS | 2 +-
 contrib/src/srt/rules.mak  | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/contrib/src/srt/SHA512SUMS b/contrib/src/srt/SHA512SUMS
index eb896858b2..6e7338cdd7 100644
--- a/contrib/src/srt/SHA512SUMS
+++ b/contrib/src/srt/SHA512SUMS
@@ -1 +1 @@
-cb897c97d5fd93b333c8de0805c78c940650a2daf8d821e09e3fb01c7e4b56bd7513cf28545f7ac422fba9fa8420b745f397359a4b9e81cff496c776820ea90a  srt-v1.2.2.tar.gz
+cb897c97d5fd93b333c8de0805c78c940650a2daf8d821e09e3fb01c7e4b56bd7513cf28545f7ac422fba9fa8420b745f397359a4b9e81cff496c776820ea90a  srt-1.2.2.tar.gz
diff --git a/contrib/src/srt/rules.mak b/contrib/src/srt/rules.mak
index 34b729e983..78d7c9a3e2 100644
--- a/contrib/src/srt/rules.mak
+++ b/contrib/src/srt/rules.mak
@@ -1,7 +1,6 @@
 # srt
 
 SRT_VERSION := 1.2.2
-SRT_TARBALL := srt-v$(SRT_VERSION).tar.gz
 SRT_URL := $(GITHUB)/Haivision/srt/archive/v$(SRT_VERSION).tar.gz
 
 ifndef HAVE_WIN32
@@ -17,13 +16,14 @@ ifdef HAVE_DARWIN_OS
 SRT_DARWIN=CFLAGS="$(CFLAGS) -Wno-error=partial-availability" CXXFLAGS="$(CXXFLAGS) -Wno-error=partial-availability"
 endif
 
-$(TARBALLS)/$(SRT_TARBALL):
+$(TARBALLS)/srt-$(SRT_VERSION).tar.gz:
 	$(call download_pkg,$(SRT_URL),srt)
 
-.sum-srt: $(SRT_TARBALL)
+.sum-srt: srt-$(SRT_VERSION).tar.gz
 
-srt: $(SRT_TARBALL) .sum-srt
+srt: srt-$(SRT_VERSION).tar.gz .sum-srt
 	$(UNPACK)
+	$(call pkg_static,"scripts/haisrt.pc.in")
 	mv srt-$(SRT_VERSION) $@ && touch $@
 
 DEPS_srt = gnutls $(DEPS_gnutls)



More information about the vlc-commits mailing list