Commit 57368006 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

contrib: and libxcb and xcb-util

parent b6e6e8fb
......@@ -2498,6 +2498,61 @@ CLEAN_PKG += gsm
DISTCLEAN_PKG += gsm-$(GSM_VERSION).tar.gz
# ***************************************************************************
# X11 C Bindings
# ***************************************************************************
libxcb-$(XCB_VERSION).tar.bz2:
$(WGET) $(XCB_URL)/$@
libxcb: libxcb-$(XCB_VERSION).tar.bz2
-rm -rf $@
bzcat $< | tar xf -
mv libxcb-$(XCB_VERSION) $@
touch $@
.xcb: libxcb
cd $< && $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) \
--disable-composite \
--disable-damage \
--disable-dpms \
--disable-glx \
--enable-randr \
--disable-record \
--enable-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 \
--disable-build-docs
cd $< && make install
touch $@
xcb-util-$(XCB_UTIL_VERSION).tar.bz2:
$(WGET) $(XCB_UTIL_URL)/$@
xcb-util: xcb-util-$(XCB_UTIL_VERSION).tar.bz2
-rm -rf $@
bzcat $< | tar xf -
mv xcb-util-$(XCB_UTIL_VERSION) $@
touch $@
.xcb-util: xcb-util .xcb
cd $< && $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX)
cd $< && make install
touch $@
# ***************************************************************************
# Some cleaning
......
......@@ -231,3 +231,7 @@ GSM_URL=http://user.cs.tu-berlin.de/~jutta/gsm/gsm-$(GSM_VERSION).tar.gz
SPARKLE_VERSION=1.5b6-vlc
#SPARKLE_URL=http://sparkle.andymatuschak.org/files/Sparkle%20$(SPARKLE_VERSION).zip
SPARKLE_URL=$(VIDEOLAN)/testing/contrib/Sparkle-$(SPARKLE_VERSION).zip
XCB_VERSION=1.2
XCB_URL=http://xcb.freedesktop.org/dist/
XCB_UTIL_VERSION=0.2
XCB_UTIL_URL=$(XCB_URL)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment