Verified Commit 40b98f4c authored by PureTryOut's avatar PureTryOut Committed by Oliver Smith

temp/wlroots: remove, superseded by Phoc (!495)

[ci:skip-build]: ollieparanoid will make sure this builds locally before
                 merging
parent ccfa6e2d
Pipeline #71355372 passed with stages
in 2 minutes and 2 seconds
# Forked from Alpine to enable elogind support and install the rootston binary
pkgname=wlroots
pkgver=9999
_pkgver=0.5.0
pkgrel=1
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"
builddir="$srcdir/$pkgname-$_pkgver"
build() {
cd "$builddir"
meson \
--prefix /usr \
--libdir /usr/lib \
-Dlogind=enabled \
-Dlogind-provider=elogind \
-Dexamples=false \
. build
ninja -C build
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" ninja -C build install
install -D -m755 build/rootston/rootston "$pkgdir"/usr/bin/rootston
}
sha512sums="4defecff91a6179d3a6b7d05c92c14b20c7fa69263a889869912e913a5d1e29f9fd4684f9816b03e2427a21c004d64236f35d8282e02e8d27d826442f1f8b3a7 wlroots-0.5.0.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment