commit:     50916286b7e5c902c0ce788b9d877cdff2d661d4
Author:     John M. Harris Jr. <johnmh <AT> johnmh <DOT> me>
AuthorDate: Sat Aug 10 03:33:55 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 02:40:27 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50916286

gui-wm/hyprland: fix USE=X dependencies

Cleaned remnants of wlroots.

Closes: https://bugs.gentoo.org/show_bug.cgi?id=937638
Signed-off-by: John M. Harris Jr. <johnmh <AT> johnmh.me>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 .../hyprland/{hyprland-0.42.0.ebuild => hyprland-0.42.0-r1.ebuild} | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gui-wm/hyprland/hyprland-0.42.0.ebuild 
b/gui-wm/hyprland/hyprland-0.42.0-r1.ebuild
similarity index 94%
rename from gui-wm/hyprland/hyprland-0.42.0.ebuild
rename to gui-wm/hyprland/hyprland-0.42.0-r1.ebuild
index 0201229de28e..5595a6c47d3c 100644
--- a/gui-wm/hyprland/hyprland-0.42.0.ebuild
+++ b/gui-wm/hyprland/hyprland-0.42.0-r1.ebuild
@@ -48,18 +48,19 @@ RDEPEND="
        x11-libs/pixman
        X? (
                x11-libs/libxcb:0=
+               x11-base/xwayland
+               x11-libs/xcb-util-errors
+               x11-libs/xcb-util-wm
        )
 "
 DEPEND="
        ${RDEPEND}
-       ${WLROOTS_DEPEND}
        >=dev-libs/hyprland-protocols-0.3
        >=dev-libs/hyprlang-0.3.2
        >=dev-libs/wayland-protocols-1.36
        >=gui-libs/hyprutils-0.2.1
 "
 BDEPEND="
-       ${WLROOTS_BDEPEND}
        || ( >=sys-devel/gcc-13:* >=sys-devel/clang-16:* )
        app-misc/jq
        dev-build/cmake
@@ -86,8 +87,6 @@ src_configure() {
                $(meson_feature legacy-renderer legacy_renderer)
                $(meson_feature systemd)
                $(meson_feature X xwayland)
-               -Dwlroots:backends=drm,libinput$(usev X ',x11')
-               -Dwlroots:xcb-errors=disabled
        )
 
        meson_src_configure

Reply via email to