From 1c930cd0d366e6f75f814404a664910ba154633a Mon Sep 17 00:00:00 2001 From: Dolphin von Chips Date: Tue, 13 Aug 2019 16:49:21 +0500 Subject: [PATCH] main/cage: new aport (!554) A Wayland kiosk. Works in Wayland (tested in weston), X11 (tested in i3wm) and tty. Works with both dri-virtio and dri-swrast, but I won't recommend you running with swrast because it's veeeeery slow. [ci:skip-build]: already built successfully in CI --- main/cage/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 main/cage/APKBUILD diff --git a/main/cage/APKBUILD b/main/cage/APKBUILD new file mode 100644 index 000000000..f52976f69 --- /dev/null +++ b/main/cage/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: DolphinChips +# Maintainer: DolphinChips +pkgname="cage" +pkgver="0.1.1" +pkgrel=0 +pkgdesc="A Wayland kiosk" +url="https://www.hjdskes.nl/projects/cage" +arch="all" +license="MIT" +depends="xorg-server-xwayland elogind" +makedepends="meson wayland-protocols wlroots-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/Hjdskes/cage/archive/v$pkgver.tar.gz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --buildtype=release \ + -Dxwayland=true \ + build + ninja -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +} + +sha512sums="f071f04f1ff7d2b89ae72238ef1a28fd3fbc389803e4a4fe0c3d938c7a2a1cc962b63929d081d975f98131ff6dd9637762e8036bb320277e2580f0cbeb0c6201 cage-0.1.1.tar.gz"