diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-03 19:15:13 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-03 19:15:13 +0100 |
commit | ab6ac5a7942816b5b14186dc53e1b17ea7df200a (patch) | |
tree | 2092ba8e0a0bc2d14e0a8230e15f8eaaa9783100 /gui-libs/wlroots/wlroots-9999.ebuild | |
parent | dd987f40168e0552ca0d36e2cedccceda4a34ecf (diff) |
gentoo auto-resync : 03:10:2022 - 19:15:12
Diffstat (limited to 'gui-libs/wlroots/wlroots-9999.ebuild')
-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." |