# Copyright 2022-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit meson MY_PN="mango" MY_P=${MY_PN}-${PV} if [[ ${PV} == *9999 ]]; then inherit git-r3 EGIT_BRANCH="wl-only" EGIT_REPO_URI="https://github.com/mangowm/mango.git" else SRC_URI="https://github.com/mangowm/mango/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" S="${WORKDIR}/${MY_P}" KEYWORDS="~amd64" fi DESCRIPTION="A fast, feature-rich Wayland compositor built on dwl" HOMEPAGE=" https://github.com/mangowm/mango https://mangowm.github.io " LICENSE="CC0-1.0 GPL-3+ MIT" SLOT="0" DOCS=( README.md .github/CONTRIBUTING.md ) IUSE="X asan" RDEPEND=" >=gui-libs/wlroots-0.20:=[libinput,session,X?]