commit: aada480eee67db04cb9dd60fd5fe73410df99635
parent: 8e67eb14f7c1dab68934257a150d8c0d586b00b6
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Mon, 6 May 2019 05:03:34 +0200
gui-wm/cage: Add live ebuild
Diffstat:
1 file changed, 40 insertions(+), 0 deletions(-)
diff --git a/gui-wm/cage/cage-9999.ebuild b/gui-wm/cage/cage-9999.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2019 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson
+
+if [[ "${PV}" == "9999"]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Hjdskes/cage"
+else
+ SRC_URI="https://github.com/Hjdskes/cage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Wayland Kiosk"
+HOMEPAGE="https://hjdskes.nl/projects/cage"
+LICENSE="MIT"
+SLOT="0"
+IUSE="xwayland"
+
+# dev-libs/wayland provides wayland-server, wayland-scanner
+DEPEND="
+ >=gui-libs/wlroots-0.6.0:=
+ xwayland? ( gui-libs/wlroots[X] )
+ >=dev-libs/wayland-protocols-1.14:=
+ x11-libs/pixman:=
+ x11-libs/libxkbcommon:=
+ dev-libs/wayland:=
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local emesonargs=(
+ "$(meson_use xwayland)"
+ "-Dwerror=false"
+ )
+
+ meson_src_configure
+}