[vlc-commits] contrib: add xcb and update it

Rémi Denis-Courmont git at videolan.org
Sat Jul 2 11:51:38 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jul  2 12:51:19 2011 +0300| [bff2424dfa289518e65fcb1328ae7f723c5ee03e] | committer: Rémi Denis-Courmont

contrib: add xcb and update it

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

 contrib/src/xcb/SHA512SUMS |    1 +
 contrib/src/xcb/rules.mak  |   43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 0 deletions(-)

diff --git a/contrib/src/xcb/SHA512SUMS b/contrib/src/xcb/SHA512SUMS
new file mode 100644
index 0000000..537d410
--- /dev/null
+++ b/contrib/src/xcb/SHA512SUMS
@@ -0,0 +1 @@
+d48cbd2a738ee8cc57fad954360fde8ccff3b9a2bf6bfa56459197b7b965f2b94ccd863dbbb6917e80ff3f324f41938e5745f2fa4a2168659fa4b96df23f7ded  libxcb-1.7.tar.bz2
diff --git a/contrib/src/xcb/rules.mak b/contrib/src/xcb/rules.mak
new file mode 100644
index 0000000..90f5b2d
--- /dev/null
+++ b/contrib/src/xcb/rules.mak
@@ -0,0 +1,43 @@
+# X protocol C language Bindings
+
+XCB_VERSION := 1.7
+XCB_URL := http://xcb.freedesktop.org/dist/libxcb-$(XCB_VERSION).tar.bz2
+
+$(TARBALLS)/libxcb-$(XCB_VERSION).tar.bz2:
+	$(call download,$(XCB_URL))
+
+.sum-xcb: libxcb-$(XCB_VERSION).tar.bz2
+
+libxcb: libxcb-$(XCB_VERSION).tar.bz2 .sum-xcb
+	$(UNPACK)
+	$(MOVE)
+
+XCBCONF := \
+	--enable-composite \
+	--disable-damage \
+	--disable-dpms \
+	--disable-dri2 \
+	--disable-glx \
+	--enable-randr \
+	--disable-render \
+	--disable-resource \
+	--disable-screensaver \
+	--disable-shape \
+	--enable-shm \
+	--disable-sync \
+	--disable-xevie \
+	--disable-xfixes \
+	--disable-xfree86-dri \
+	--disable-xinerama \
+	--disable-xinput \
+	--disable-xprint \
+	--disable-selinux \
+	--disable-xtest \
+	--enable-xv \
+	--disable-xvmc \
+	$(HOSTCONF)
+
+.xcb: libxcb
+	cd $< && $(HOSTVARS) ./configure $(XCBCONF)
+	cd $< && $(MAKE) install
+	touch $@



More information about the vlc-commits mailing list