summaryrefslogtreecommitdiff
path: root/user/wayland-protocols/APKBUILD
blob: 1286e08adeffe76bfe1fbc7c6de73e8ece0b8c17 (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
36
37
38
39
40
41
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sheila Aman <sheila@vulpine.house>
pkgname=wayland-protocols
pkgver=1.25
pkgrel=0
pkgdesc="Protocols and protocol extensions complementing the Wayland core protocol"
url="https://wayland.freedesktop.org"
arch="noarch"
license="MIT"
depends=""
makedepends="wayland-dev meson"
subpackages=""
provides="$pkgname-dev"
source="https://wayland.freedesktop.org/releases/$pkgname-$pkgver.tar.xz"

case "$CARCH" in
	ppc64) options="$options !check";; #478
esac

build() {
        meson \
                --prefix=/usr \
                --sysconfdir=/etc \
                --mandir=/usr/share/man \
                --localstatedir=/var \
                --buildtype=plain \
                -Ddocumentation=false \
                . output

        meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
        meson test --no-rebuild -v -C output
}

package() {
        DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="8269694a0780e4d32f1982ff4cbb50b1ef85f08157b9486bc6d7e489c64665a9d9f959121d0eede7c7b108a604d974b64d74cfdef8b5f14304465309afb0768f  wayland-protocols-1.25.tar.xz"