[vlc-commits] contribs: mysofa: use a release tarball instead of git.

Konstantin Pavlov git at videolan.org
Wed Nov 15 20:37:28 CET 2017


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Wed Nov 15 22:30:11 2017 +0300| [f2c53d82f2b8d682fe317c260c2b242d0a2ff3b5] | committer: Konstantin Pavlov

contribs: mysofa: use a release tarball instead of git.

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

 contrib/src/mysofa/SHA512SUMS |  1 +
 contrib/src/mysofa/rules.mak  | 14 ++++++--------
 2 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/contrib/src/mysofa/SHA512SUMS b/contrib/src/mysofa/SHA512SUMS
new file mode 100644
index 0000000000..9119e48cdd
--- /dev/null
+++ b/contrib/src/mysofa/SHA512SUMS
@@ -0,0 +1 @@
+9ec0f24d9653674c59420c76f7244521d21099a48a2e09f974fd6a6ea2a2f2e5b312161da23eb6e275ff801af979eba8b0bafc4be75fb1c2cf5c302584ea2366  libmysofa-0.5.tar.gz
diff --git a/contrib/src/mysofa/rules.mak b/contrib/src/mysofa/rules.mak
index a68aade1b5..79d315f9bc 100644
--- a/contrib/src/mysofa/rules.mak
+++ b/contrib/src/mysofa/rules.mak
@@ -1,7 +1,7 @@
 # Mysofa
 
-MYSOFA_VERSION := 65d92e6463537c9f7907b69c2c768a7c8c3a02b5
-MYSOFA_GITURL = https://github.com/hoene/libmysofa.git
+MYSOFA_VERSION := 0.5
+MYSOFA_URL = https://github.com/hoene/libmysofa/archive/v$(MYSOFA_VERSION).tar.gz
 
 PKGS += mysofa
 
@@ -11,14 +11,12 @@ endif
 
 DEPS_mysofa += pthreads zlib $(DEPS_pthreads) $(DEPS_zlib)
 
-$(TARBALLS)/mysofa-git.tar.xz:
-	$(call download_git,$(MYSOFA_GITURL),,$(MYSOFA_VERSION))
+$(TARBALLS)/libmysofa-$(MYSOFA_VERSION).tar.gz:
+	$(call download_pkg,$(MYSOFA_URL),mysofa)
 
-.sum-mysofa: mysofa-git.tar.xz
-	$(call check_githash,$(MYSOFA_VERSION))
-	touch $@
+.sum-mysofa: libmysofa-$(MYSOFA_VERSION).tar.gz
 
-mysofa: mysofa-git.tar.xz .sum-mysofa
+mysofa: libmysofa-$(MYSOFA_VERSION).tar.gz .sum-mysofa
 	$(UNPACK)
 	$(MOVE)
 



More information about the vlc-commits mailing list