commit:     ce22bfd90d68663bc9e35aba9ad6497c64f308df
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat May  4 15:01:18 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat May  4 15:01:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce22bfd9

gui-wm/gamescope: Add wlroots deps and configure options

Need these while it's bundled.

Closes: https://bugs.gentoo.org/931200
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 ...scope-3.14.12.ebuild => gamescope-3.14.12-r1.ebuild} | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gui-wm/gamescope/gamescope-3.14.12.ebuild 
b/gui-wm/gamescope/gamescope-3.14.12-r1.ebuild
similarity index 89%
rename from gui-wm/gamescope/gamescope-3.14.12.ebuild
rename to gui-wm/gamescope/gamescope-3.14.12-r1.ebuild
index 2d88224ccca0..49c1a435de47 100644
--- a/gui-wm/gamescope/gamescope-3.14.12.ebuild
+++ b/gui-wm/gamescope/gamescope-3.14.12-r1.ebuild
@@ -61,6 +61,16 @@ RDEPEND="
        x11-libs/libXxf86vm
        pipewire? ( >=media-video/pipewire-0.3:= )
        wsi-layer? ( x11-libs/libxcb )
+
+       >=dev-libs/libinput-1.14.0:=
+       media-libs/libglvnd
+       media-libs/mesa[egl(+),gles2(+)]
+       sys-auth/seatd:=
+       virtual/libudev
+       x11-base/xwayland
+       x11-libs/libxcb:=
+       >=x11-libs/pixman-0.42.0
+       x11-libs/xcb-util-wm
 "
 DEPEND="
        ${RDEPEND}
@@ -114,6 +124,13 @@ src_configure() {
                -Denable_openvr_support=false
                $(meson_feature pipewire)
                $(meson_use wsi-layer enable_gamescope_wsi_layer)
+
+               -Dwlroots:xcb-errors=disabled
+               -Dwlroots:examples=false
+               -Dwlroots:renderers=gles2,vulkan
+               -Dwlroots:xwayland=enabled
+               -Dwlroots:backends=drm,libinput
+               -Dwlroots:session=enabled
        )
        meson_src_configure
 }

Reply via email to