[vlc-commits] contrib: add Xau

Rémi Denis-Courmont git at videolan.org
Mon Jul 4 23:07:57 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jul  5 00:04:32 2011 +0300| [b331b69ab994ef6dcf48a07d73331dcaaef72431] | committer: Rémi Denis-Courmont

contrib: add Xau

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

 contrib/src/xau/SHA512SUMS |    1 +
 contrib/src/xau/rules.mak  |   16 ++++++++++++++++
 contrib/src/xcb/rules.mak  |    2 ++
 3 files changed, 19 insertions(+), 0 deletions(-)

diff --git a/contrib/src/xau/SHA512SUMS b/contrib/src/xau/SHA512SUMS
new file mode 100644
index 0000000..555f5b7
--- /dev/null
+++ b/contrib/src/xau/SHA512SUMS
@@ -0,0 +1 @@
+0aabe5c52b02208ee5c4ebb189f425e0bac16d2aec9ab00347349312bbf02240fb3bd28c17232f98f88178dda1aed2b9a7f33cc8ec067065dd58526ca978c340  libXau-1.0.6.tar.bz2
diff --git a/contrib/src/xau/rules.mak b/contrib/src/xau/rules.mak
new file mode 100644
index 0000000..065c3dd
--- /dev/null
+++ b/contrib/src/xau/rules.mak
@@ -0,0 +1,16 @@
+XAU_VERSION := 1.0.6
+
+ifeq ($(call need_pkg,"xau"),)
+PKGS_FOUND += xau
+endif
+
+.sum-xau: libXau-$(XAU_VERSION).tar.bz2
+
+libxau: libXau-$(XAU_VERSION).tar.bz2 .sum-xau
+	$(UNPACK)
+	$(MOVE)
+
+.xau: libxau
+	$(RECONF)
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --enable-xthreads
+	cd $< && $(MAKE) install
diff --git a/contrib/src/xcb/rules.mak b/contrib/src/xcb/rules.mak
index 4387538..71cd047 100644
--- a/contrib/src/xcb/rules.mak
+++ b/contrib/src/xcb/rules.mak
@@ -42,6 +42,8 @@ XCBCONF := \
 	--disable-xvmc \
 	$(HOSTCONF)
 
+DEPS_xcb = xau $(DEPS_xau)
+
 .xcb: libxcb
 	cd $< && $(HOSTVARS) ./configure $(XCBCONF)
 	cd $< && $(MAKE) install



More information about the vlc-commits mailing list