From e7552010f531ef1b114352f0ce71a307360bf1d4 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 6 Oct 2012 00:25:32 -0700 Subject: Sat Oct 6 00:25:32 PDT 2012 --- staging/libxcb/PKGBUILD | 35 ++++++++++++++++++++++++ staging/libxcb/libxcb-1.1-no-pthread-stubs.patch | 11 ++++++++ 2 files changed, 46 insertions(+) create mode 100644 staging/libxcb/PKGBUILD create mode 100644 staging/libxcb/libxcb-1.1-no-pthread-stubs.patch (limited to 'staging/libxcb') diff --git a/staging/libxcb/PKGBUILD b/staging/libxcb/PKGBUILD new file mode 100644 index 000000000..2ca76afe7 --- /dev/null +++ b/staging/libxcb/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 168070 2012-10-05 16:55:34Z andyrtr $ +# Maintainer: Jan de Groot +# Contributor: Alexander Baldeck + +pkgname=libxcb +pkgver=1.9 +pkgrel=1 +pkgdesc="X11 client-side library" +arch=(i686 x86_64) +url="http://xcb.freedesktop.org/" +depends=('xcb-proto>=1.7' 'libxdmcp' 'libxau') +makedepends=('pkgconfig' 'libxslt' 'python2') +options=('!libtool') +license=('custom') +source=($url/dist/$pkgname-$pkgver.tar.bz2 + libxcb-1.1-no-pthread-stubs.patch) +sha1sums=('ad2fb95eeec41ba3d39502a4f7460c3b64fdf061' + 'd2df03ddf3e949c10c2c185256b0eb7fa02837ab') + +build() { + cd "$srcdir/$pkgname-$pkgver" + patch -Np1 -i "$srcdir/libxcb-1.1-no-pthread-stubs.patch" + PYTHON=/usr/bin/python2 + ./autogen.sh --prefix=/usr \ + --enable-xinput \ + --disable-static + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -m755 -d "$pkgdir/usr/share/licenses/$pkgname" + install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname" +} diff --git a/staging/libxcb/libxcb-1.1-no-pthread-stubs.patch b/staging/libxcb/libxcb-1.1-no-pthread-stubs.patch new file mode 100644 index 000000000..8e8162f0a --- /dev/null +++ b/staging/libxcb/libxcb-1.1-no-pthread-stubs.patch @@ -0,0 +1,11 @@ +--- libxcb-1.8.1/configure.ac 2012-03-09 15:38:38.000000000 +0100 ++++ libxcb-1.8.1/configure.ac.new 2012-03-09 16:50:40.107109896 +0100 +@@ -35,7 +35,7 @@ + + # Checks for pkg-config packages + PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.7) +-NEEDED="pthread-stubs xau >= 0.99.2" ++NEEDED="xau >= 0.99.2" + PKG_CHECK_MODULES(NEEDED, $NEEDED) + + have_xdmcp="no" -- cgit v1.2.3-54-g00ecf