commit: 91c4e9c98246e3a47501a23bb8f9d4caa673aace
parent: d6d7cfdc7b8275fb3e1f1d817768269c069cfd4a
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Wed, 1 May 2019 19:05:50 +0200
gui-wm/cage: Add IUSE=xwayland
Diffstat:
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/gui-wm/cage/cage-0.1.ebuild b/gui-wm/cage/cage-0.1.ebuild
@@ -11,13 +11,23 @@ SRC_URI="https://github.com/Hjdskes/cage/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+IUSE="xwayland"
# dev-libs/wayland provides wayland-server, wayland-scanner
DEPEND="
>=gui-libs/wlroots-0.5.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)"
+ )
+
+ meson_src_configure
+}