1 # Maintainer: Sébastien Luttringer <seblu@archlinux.org>
2 # Contributor: Tom Gundersen <teg@jklm.no>
3 # Contributor: Joel Teichroeb <joel@teichroeb.net>
6 pkgname=(wayland wayland-docs)
9 pkgdesc='A computer display server protocol'
11 url='https://wayland.freedesktop.org/'
13 depends=('glibc' 'libffi' 'expat' 'libxml2')
14 makedepends=('meson' 'libxslt' 'doxygen' 'xmlto' 'graphviz' 'docbook-xsl')
16 validpgpkeys=('C7223EBE4EF66513B892598911A30156E0E67611' # Bryce Harrington
17 'C0066D7DB8E9AC6844D728715E54498E697F11D7' # Derek Foreman
18 '34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48') # emersion <contact@emersion.fr>
19 source=("https://gitlab.freedesktop.org/wayland/wayland/-/releases/1.21.0/downloads/wayland-$pkgver.tar.xz"{,.sig})
20 sha256sums=('6dc64d7fc16837a693a51cfdb2e568db538bfdc9f457d4656285bb9594ef11ac'
24 arch-meson $pkgbase-$pkgver build
25 meson compile -C build
29 meson test -C build --print-errorlogs
33 provides=(libwayland-{client,cursor,egl,server}.so)
35 meson install -C build --destdir "$pkgdir"
37 mv "$pkgdir"/usr/share/{doc,man} docs/share
38 install -Dm 644 $pkgbase-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
41 package_wayland-docs() {
42 pkgdesc+=" (documentation)"
46 install -Dm 644 $pkgbase-$pkgver/COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
49 # vim:set ts=2 sw=2 et: