aboutsummaryrefslogtreecommitdiffstats
path: root/main/libxcb/APKBUILD
blob: e603828416ae81998ffc9b4fa3a390fcbe535f3b (plain) (blame)
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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxcb
pkgver=1.14
pkgrel=0
pkgdesc="X11 client-side library"
url="https://xcb.freedesktop.org"
arch="all"
license="MIT"
subpackages="$pkgname-dev $pkgname-doc"
depends_dev="libxau-dev xcb-proto"
checkdepends="check-dev"
options="!check" # upstream requires an old check version (0.9.4)
makedepends="$depends_dev libpthread-stubs libxdmcp-dev libxslt python3"
source="https://xorg.freedesktop.org/archive/individual/lib/libxcb-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-xkb \
		--enable-xinput \
		--disable-xprint
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

check() {
	make check
}

sha512sums="b90a23204b0d2c29d8b115577edb01df0465e02d6a8876550fecd62375d24a5d5f872ddd5946772ddba077cadce75b12c7a6d218469dc30b5b92bc82188e8bc6  libxcb-1.14.tar.xz"