# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit cmake toolchain-funcs DESCRIPTION="A dynamic tiling Wayland compositor that doesn't sacrifice on its looks" HOMEPAGE="https://github.com/hyprwm/Hyprland" inherit git-r3 EGIT_REPO_URI="https://github.com/hyprwm/${PN}.git" HYPRPM_RDEPEND="=dev-libs/hyprland-protocols-9999" KEYWORDS="~amd64" LICENSE="BSD" SLOT="0" IUSE="X legacy-renderer systemd" # hyprpm (hyprland plugin manager) requires the dependencies at runtime # so that it can clone, compile and install plugins. HYPRPM_RDEPEND=" app-alternatives/ninja dev-build/cmake dev-build/meson dev-libs/libliftoff dev-vcs/git virtual/pkgconfig " # bundled wlroots has the following dependency string according to included headers. # wlroots[drm,gles2-renderer,libinput,x11-backend?,X?] # enable x11-backend with X and vice versa WLROOTS_DEPEND=" dev-libs/wayland media-libs/libglvnd || ( >=media-libs/mesa-24.1.0_rc1[opengl]