# Tanım: Geçerli Xlib arabirimini değiştiren X Pencere Sistem protokolüne arabirim.
# URL: http://xcb.freedesktop.org
# Paketçi: milisarge
# Gerekler: xcb-proto xorg-libxdmcp xorg-libxau libxslt xorg-util-macros

isim=libxcb
surum=1.12
devir=2

kaynak=(http://xcb.freedesktop.org/dist/$isim-$surum.tar.bz2
        libxcb-1.1-no-pthread-stubs.patch
        python-35x-fixes.patch)

derle() {
cd $isim-$surum
patch -Np1 -i ../libxcb-1.1-no-pthread-stubs.patch
patch -Np1 -i ../python-35x-fixes.patch

autoreconf -vfi

./configure --prefix=/usr \
	        --sysconfdir=/etc \
	        --localstatedir=/var \
	        --docdir='${datadir}'/doc/libxcb-$surum \
	        --enable-xinput \
            --enable-xkb \
            --disable-static
make
make DESTDIR=$PKG install
}
