aboutsummaryrefslogtreecommitdiffstats
path: root/main/wayland/APKBUILD
blob: 5c2881ef098d9c2ad787de765ae5c7977f6419b5 (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
47
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer:
pkgname=wayland
pkgver=1.11.0
pkgrel=0
pkgdesc="A computer display server protocol"
url="http://wayland.freedesktop.org"
arch=all
license="MIT"
depends=""
depends_dev="libffi-dev expat-dev"
makedepends="$depends_dev doxygen xmlto graphviz grep libxml2-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz
	musl-fixes.patch"

patch_args="-p0"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-static \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="fccf680be066e234729d5b69e0bd0fa9  wayland-1.11.0.tar.xz
e88e7885ee4c6bba978bfe9d53b1342d  musl-fixes.patch"
sha256sums="9540925f7928becfdf5e3b84c70757f6589bf1ceef09bea78784d8e4772c0db0  wayland-1.11.0.tar.xz
cd23fb565a3b0d32266500214c984ddd371911eab2e0db226a5055ceccae90d6  musl-fixes.patch"
sha512sums="c8a0c927b6e095707a58398fe545ed708f4c808a70920c1f82c79d4275e6137cdf9926c0f18227faba511f717f4db4dfee9528075e00ec600ea44b97479471dd  wayland-1.11.0.tar.xz
9ef7f9298b2967135c3a8dcc94f77f042478fbf326455fe0a7018cc0500827f54b1fbc597b6e9609d845b3feb5e6b7da4b1783a2ec7ad84a9fe377a3e9a82dcc  musl-fixes.patch"