[vlc-commits] contrib: postproc: check git hash

Rémi Denis-Courmont git at videolan.org
Tue Feb 21 18:17:29 CET 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Feb 21 19:17:25 2017 +0200| [3f9fe8b3598cb9e0f27e687cdc25e948ae5147e2] | committer: Rémi Denis-Courmont

contrib: postproc: check git hash

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

 contrib/src/postproc/rules.mak | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/contrib/src/postproc/rules.mak b/contrib/src/postproc/rules.mak
index 6439342..11a66dc 100644
--- a/contrib/src/postproc/rules.mak
+++ b/contrib/src/postproc/rules.mak
@@ -1,6 +1,8 @@
 # POSTPROC
 
-POSTPROC_SNAPURL := http://git.videolan.org/?p=libpostproc.git;a=snapshot;h=HEAD;sf=tgz
+POSTPROC_URL := http://git.videolan.org/git/libpostproc.git
+POSTPROC_HASH := 3b7053f46dbfe4662063345245cb00b6acbbe969
+POSTPROC_VERSION := $(POSTPROC_HASH)
 
 POSTPROCCONF = \
 	--cc="$(CC)" \
@@ -107,16 +109,14 @@ ifeq ($(call need_pkg,"libpostproc"),)
 PKGS_FOUND += postproc
 endif
 
-$(TARBALLS)/postproc-git.tar.gz:
-	$(call download,$(POSTPROC_SNAPURL))
+$(TARBALLS)/postproc-$(POSTPROC_VERSION).tar.xz:
+	$(call download_git,$(POSTPROC_URL),,$(POSTPROC_HASH))
 
-POSTPROC_VERSION := git
-
-.sum-postproc: $(TARBALLS)/postproc-$(POSTPROC_VERSION).tar.gz
-	$(warning Not implemented.)
+.sum-postproc: $(TARBALLS)/postproc-$(POSTPROC_VERSION).tar.xz
+	$(call check_githash,$(POSTPROC_HASH))
 	touch $@
 
-postproc: postproc-$(POSTPROC_VERSION).tar.gz .sum-postproc
+postproc: postproc-$(POSTPROC_VERSION).tar.xz .sum-postproc
 	$(UNPACK)
 	$(MOVE)
 



More information about the vlc-commits mailing list