# Contributor: Sören Tempel # Contributor: Bartłomiej Piotrowski # 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"