summaryrefslogtreecommitdiff
path: root/libs/wlroots/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/wlroots/MAKEPKG')
-rw-r--r--libs/wlroots/MAKEPKG33
1 files changed, 33 insertions, 0 deletions
diff --git a/libs/wlroots/MAKEPKG b/libs/wlroots/MAKEPKG
new file mode 100644
index 0000000..1cb9bb1
--- /dev/null
+++ b/libs/wlroots/MAKEPKG
@@ -0,0 +1,33 @@
+#!/bin/mkpkg
+# description: A modular Wayland compositor library
+# url: https://gitlab.freedesktop.org/wlroots/wlroots
+
+name=wlroots
+version=0.20.2
+release=2
+depends=(libcap2 libdisplay-info libinput libxkbcommon mesa pixman seatd wayland-protocols)
+makedeps=(meson)
+source=(https://gitlab.freedesktop.org/wlroots/wlroots/-/archive/$version/$name-$version.tar.bz2)
+
+sha256sums=(
+ "20c37b521dc3054b6e9627b79bdd45fc716db9ebc58bdf97e57e84d04b04610f"
+)
+
+build() {
+ meson setup $name-$version build \
+ --prefix=/usr \
+ --buildtype=plain \
+ -D xwayland=disabled \
+ -D backends=drm,libinput \
+ -D examples=false
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh