[vlc-commits] Contribs: add xproto
Jean-Baptiste Kempf
git at videolan.org
Tue Jun 28 23:53:33 CEST 2016
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Tue Jun 28 23:50:19 2016 +0200| [ca92b3ffd5b79bbd4026891e36263620457cc2de] | committer: Jean-Baptiste Kempf
Contribs: add xproto
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ca92b3ffd5b79bbd4026891e36263620457cc2de
---
contrib/src/xproto/SHA512SUMS | 1 +
contrib/src/xproto/rules.mak | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
diff --git a/contrib/src/xproto/SHA512SUMS b/contrib/src/xproto/SHA512SUMS
new file mode 100644
index 0000000..c087e99
--- /dev/null
+++ b/contrib/src/xproto/SHA512SUMS
@@ -0,0 +1 @@
+0e72d0673ae96906d88566e360fcd6d0b70deab50d108bc9caeccb3aa68e80d257407611649b4ddde2811c34c07c1eeb0b710243a9f7a9c3ff2c728832f7f647 xproto-7.0.29.tar.bz2
diff --git a/contrib/src/xproto/rules.mak b/contrib/src/xproto/rules.mak
new file mode 100644
index 0000000..b3828d1
--- /dev/null
+++ b/contrib/src/xproto/rules.mak
@@ -0,0 +1,22 @@
+XPROTO_VERSION := 7.0.29
+
+XPROTO_URL := http://xorg.freedesktop.org/releases/individual/proto/xproto-$(XPROTO_VERSION).tar.bz2
+
+$(TARBALLS)/xproto-$(XPROTO_VERSION).tar.bz2:
+ $(call download,$(XPROTO_URL))
+
+ifeq ($(call need_pkg,"xproto"),)
+PKGS_FOUND += xproto
+endif
+
+.sum-xproto: xproto-$(XPROTO_VERSION).tar.bz2
+
+xproto: xproto-$(XPROTO_VERSION).tar.bz2 .sum-xproto
+ $(UNPACK)
+ $(MOVE)
+
+.xproto: xproto
+ $(RECONF)
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-xthreads
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list