From ab6ac5a7942816b5b14186dc53e1b17ea7df200a Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 3 Oct 2022 19:15:13 +0100 Subject: gentoo auto-resync : 03:10:2022 - 19:15:12 --- gui-libs/wlroots/wlroots-9999.ebuild | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'gui-libs/wlroots/wlroots-9999.ebuild') diff --git a/gui-libs/wlroots/wlroots-9999.ebuild b/gui-libs/wlroots/wlroots-9999.ebuild index 9d7ed9e818cb..75ec633f9e48 100644 --- a/gui-libs/wlroots/wlroots-9999.ebuild +++ b/gui-libs/wlroots/wlroots-9999.ebuild @@ -19,7 +19,7 @@ else fi LICENSE="MIT" -IUSE="vulkan x11-backend X" +IUSE="tinywl vulkan x11-backend X" DEPEND=" >=dev-libs/libinput-1.14.0:0= @@ -54,11 +54,13 @@ BDEPEND=" virtual/pkgconfig " +PATCHES=( "${FILESDIR}"/wlroots-0.15.1-tinywl-dont-crash-upon-missing-keyboard.patch ) + src_configure() { # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?) local emesonargs=( "-Dxcb-errors=disabled" - "-Dexamples=false" + $(meson_use tinywl examples) -Drenderers=$(usex vulkan 'gles2,vulkan' gles2) -Dxwayland=$(usex X enabled disabled) -Dbackends=drm,libinput$(usex x11-backend ',x11' '') @@ -67,6 +69,14 @@ src_configure() { meson_src_configure } +src_install() { + meson_src_install + + if use tinywl; then + dobin "${BUILD_DIR}"/tinywl/tinywl + fi +} + pkg_postinst() { elog "You must be in the input group to allow your compositor" elog "to access input devices via libinput." -- cgit v1.2.3