blob: 3abd7f414f650300074ed790620ac089e7d5e0b8 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
|
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
# Maintainer: Valery Kartel <valery.kartel@gmail.com>
pkgname=wayland
pkgver=1.15.0
pkgrel=0
pkgdesc="A computer display server protocol"
url="http://wayland.freedesktop.org"
arch=all
license="MIT"
depends="$pkgname-libs-client $pkgname-libs-cursor $pkgname-libs-egl $pkgname-libs-server"
depends_dev="libffi-dev expat-dev"
makedepends="$depends_dev doxygen xmlto graphviz grep libxml2-dev bash"
subpackages="$pkgname-dev $pkgname-libs-client:_libs $pkgname-libs-egl:_libs
$pkgname-libs-cursor:_libs $pkgname-libs-server:_libs"
source="https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz
tests-ignore-debugger.patch"
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-documentation \
--disable-static
make
}
check() {
cd "$builddir"
make check WAYLAND_TEST_IGNORE_DEBUGGER=1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
dev() {
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$pkgdir"/usr/share \
"$subpkgdir"/usr
default_dev
}
_libs() {
depends=
local name=${subpkgname#$pkgname-libs-}
pkgdesc="$pkgdesc ($name library)"
case "$name" in
egl) replaces="mesa-libwayland-egl";;
esac
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/*-$name.so.* "$subpkgdir"/usr/lib
}
sha512sums="f908917f1b575d2dc4d9770d3303e2637e8744fcb5c81feb2af2fe82cc51f54e22beaddfbe775fcf9623584169b7a062c75076132abeb888717180bfab53b3a8 wayland-1.15.0.tar.xz
0f65a55265e9134ab08cabf67f9d1919c85c4cb6b69129e78bc6c50057cafcaf143007716a0fa73b2eb43d6b605944c320a12a36dbb5f15fcd2f5e770248c480 tests-ignore-debugger.patch"
|