# Contributor: Henrik Riomar # Maintainer: Drew DeVault pkgname=wlroots pkgver=0.8.1 pkgrel=0 pkgdesc="A modular Wayland compositor library" url="https://github.com/swaywm/wlroots" arch="all" license="MIT" options="!check" # contains no test suite makedepends=" elogind-dev eudev-dev libcap-dev libinput-dev libxcb-dev libxkbcommon-dev mesa-dev meson ninja pixman-dev wayland-dev wayland-protocols xcb-util-image-dev xcb-util-wm-dev " subpackages="$pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/$pkgname/archive/$pkgver.tar.gz meson-disabler-workaround.patch" build() { meson \ --prefix /usr \ --libdir /usr/lib \ -Dlogind=enabled \ -Dlogind-provider=elogind \ . build ninja -C build } package() { DESTDIR="$pkgdir" ninja -C build install } sha512sums="da41513de48e00303b31fde620463389103215011c6cc49b9a2420a1529889722aa54f26a211179c528709edb6b90ba2efdae5e4bcef18147d9516f3a94e365a wlroots-0.8.1.tar.gz 6163fb91ee1ab24acb3188f5abf866e4f55a3dac0a366dcd1050a0a72d1f4cad78df09b162a9128659cf00180c3174462de5150827f448be8b1d1becdd0894de meson-disabler-workaround.patch"