# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 GO_OPTIONAL=1 inherit systemd go-module DESCRIPTION="A platform for building proxies to bypass network restrictions." HOMEPAGE="https://www.v2fly.org/" SRC_URI=" https://github.com/blackteahamburger/v2ray-core/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/blackteahamburger/gentoo-go-deps/releases/download/${P}/${P}-vendor.tar.xz " S="${WORKDIR}/${PN}-core-${PV}" LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+tool" RESTRICT="mirror" DEPEND=" app-alternatives/v2ray-geoip app-alternatives/v2ray-geosite " RDEPEND=" !net-proxy/v2ray-bin ${DEPEND} " BDEPEND="