[vlc-commits] Contribs: add xcb-proto

Jean-Baptiste Kempf git at videolan.org
Wed Jun 29 00:15:47 CEST 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jun 29 00:03:30 2016 +0200| [1d6473b3ff05a8b5d6b5c450c77f95c2c071845c] | committer: Jean-Baptiste Kempf

Contribs: add xcb-proto

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

 contrib/src/xcb-proto/SHA512SUMS |    1 +
 contrib/src/xcb-proto/rules.mak  |   23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)

diff --git a/contrib/src/xcb-proto/SHA512SUMS b/contrib/src/xcb-proto/SHA512SUMS
new file mode 100644
index 0000000..38e6399
--- /dev/null
+++ b/contrib/src/xcb-proto/SHA512SUMS
@@ -0,0 +1 @@
+1f427eaf223971b25b56c9f641350e03f5ebeb17a1fc212ce2a0c892de7aba7e53d5e3958b073a122bb344c387c0ff394cf96f542ff046f33de4e1cd27fb9e5c  xcb-proto-1.12.tar.bz2
diff --git a/contrib/src/xcb-proto/rules.mak b/contrib/src/xcb-proto/rules.mak
new file mode 100644
index 0000000..e877daf
--- /dev/null
+++ b/contrib/src/xcb-proto/rules.mak
@@ -0,0 +1,23 @@
+# X protocol C Proto
+
+XCB_PROTO_VERSION := 1.12
+XCB_PROTO_URL := https://www.x.org/archive/individual/xcb/xcb-proto-$(XCB_PROTO_VERSION).tar.bz2
+
+ifeq ($(call need_pkg,"xcb-proto"),)
+PKGS_FOUND += xcb-proto
+endif
+
+$(TARBALLS)/xcb-proto-$(XCB_PROTO_VERSION).tar.bz2:
+	$(call download,$(XCB_PROTO_URL))
+
+.sum-xcb-proto: xcb-proto-$(XCB_PROTO_VERSION).tar.bz2
+
+xcb-proto: xcb-proto-$(XCB_PROTO_VERSION).tar.bz2 .sum-xcb-proto
+	$(UNPACK)
+	$(MOVE)
+
+.xcb-proto: xcb-proto
+	$(RECONF)
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && $(MAKE) install
+	touch $@



More information about the vlc-commits mailing list