View Raw Ebuild
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Wayland compositor and client load balancer (prevent disconnections under load)"
HOMEPAGE="https://github.com/stransky/wayland-proxy/"
SRC_URI="https://github.com/stransky/wayland-proxy/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
#DEPEND=""
RDEPEND="${DEPEND}"
#BDEPEND=""
src_compile() {
# partially derived from upstream's src/compile file
$(tc-getCXX) -std=gnu++17 ${CXXFLAGS} src/wayland-proxy.cpp src/main.cpp -o wayland-proxy -pthread || die
}
src_install() {
default
dobin wayland-proxy
}