Install this version:
emerge -a =app-alternatives/v2ray-geoip-0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-alternatives/v2ray-geoip-0
Or alternatively:
emerge --autounmask-write -a =app-alternatives/v2ray-geoip-0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0 | 8 | ~amd64 | 0 |
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ALTERNATIVES=(
v2fly:virtual/v2ray-geoip
"loyalsoldier:dev-libs/v2ray-rules-dat-bin[geoip]"
)
inherit app-alternatives
DESCRIPTION="symlink for v2ray-geoip"
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Base/Alternatives"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
src_install() {
dosym -r "/usr/share/geoip/$(get_alternative).dat" /usr/share/v2ray/geoip.dat
}