# Contributor: Henrik Riomar # Contributor: Drew DeVault pkgname=wlroots0.12 pkgver=0.12.0 pkgrel=1 pkgdesc="modular Wayland compositor library (version 0.12.0 for phoc)" 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 xkeyboard-config " subpackages="$pkgname-dbg $pkgname-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/swaywm/wlroots/archive/$pkgver.tar.gz 0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch " builddir="$srcdir/wlroots-$pkgver" replaces="wlroots" build() { abuild-meson \ -Dlogind=enabled \ -Dlogind-provider=elogind \ -Dexamples=false \ . build meson compile ${JOBS:+-j ${JOBS}} -C build } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C build } sha512sums=" 560eae30932b777c1f07fb44592d5601c5d10ef74b31b6b9e4166a14caadab2bfa88d39282f159785d4c7f22f78d204f9bb7fab65d58afaf14b72a8486f9b415 wlroots0.12-0.12.0.tar.gz 5547741b35fc8364360dabb93a6f988b6be9299b77ee4adf2c7edfcd4a3c97f2f0cbbd19a41548254fe5d2327ed45300824920ce3c9d0cb0846a3ba5b5a83e02 0001-Revert-layer-shell-error-on-0-dimension-without-anch.patch "