blob: 2ff8b82d2b56da091628e6926641c1d49366a250 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Maintainer: Gonzalo Exequiel Pedone <hipersayan DOT x AT gmail DOT com>
# Contributor: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
# Contributor: Alexander Baldeck <alexander@archlinux.org>
_android_arch=x86-64
pkgname=android-${_android_arch}-libxcb
pkgver=1.16.1
pkgrel=1
arch=('any')
pkgdesc="X11 client-side library (Android ${_android_arch})"
url="https://xcb.freedesktop.org/"
depends=("android-${_android_arch}-xcb-proto"
"android-${_android_arch}-libxdmcp"
"android-${_android_arch}-libxau")
makedepends=('python'
"android-${_android_arch}-libxslt"
"android-${_android_arch}-xorg-util-macros"
"android-${_android_arch}-xorgproto")
license=('custom')
options=(!strip !buildflags staticlibs !emptydirs)
source=("https://xorg.freedesktop.org/archive/individual/lib/libxcb-$pkgver.tar.xz")
md5sums=('e60f0fd3c06e4628be4141bcb3a27f9a')
build() {
cd "$srcdir/libxcb-$pkgver"
source android-env ${_android_arch}
android-${_android_arch}-configure \
--enable-xinput \
--enable-xkb \
--disable-devel-docs \
--without-doxygen
make $MAKEFLAGS
}
package() {
cd "$srcdir/libxcb-$pkgver"
source android-env ${_android_arch}
make DESTDIR="$pkgdir" install
rm -rf "$pkgdir/${ANDROID_PREFIX_SHARE}"
${ANDROID_STRIP} -g --strip-unneeded "${pkgdir}"/${ANDROID_PREFIX_LIB}/*.so
${ANDROID_STRIP} -g "$pkgdir"/${ANDROID_PREFIX_LIB}/*.a
}
|