diff options
author | Joonas Niilola <juippis@gentoo.org> | 2022-09-28 18:41:13 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2022-10-03 16:27:11 +0300 |
commit | c73dd305cfdfa1823e9eb1523ba830765edb2187 (patch) | |
tree | 3695d20051aad871b35edd70a7e45a9feef7e18a /gui-libs | |
parent | gui-libs/wlroots: add 'tinywl' use flag to install tinywl binary (diff) | |
download | gentoo-c73dd305cfdfa1823e9eb1523ba830765edb2187.tar.gz gentoo-c73dd305cfdfa1823e9eb1523ba830765edb2187.tar.bz2 gentoo-c73dd305cfdfa1823e9eb1523ba830765edb2187.zip |
gui-libs/wlroots: sync -9999
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'gui-libs')
-rw-r--r-- | gui-libs/wlroots/wlroots-9999.ebuild | 14 |
1 files changed, 12 insertions, 2 deletions
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." |