Install this version:
emerge -a =games-engines/xash3d-fwgs-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-engines/xash3d-fwgs-9999
Or alternatively:
emerge --autounmask-write -a =games-engines/xash3d-fwgs-9999
# Copyright 2025 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
DESCRIPTION="Provide compatibility with Half-Life Engine and extend it"
HOMEPAGE="https://github.com/FWGS/xash3d-fwgs https://xash.su/"
EGIT_REPO_URI="https://github.com/FWGS/xash3d-fwgs.git"
LICENSE="VALVE GPL-2+ GPL-3+ Half-Life-1-SDK"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
# <media-libs/opus-1.5
DEPEND="
virtual/opengl
app-arch/bzip2:=
media-libs/libogg
media-libs/libvorbis
media-libs/opusfile
media-libs/libsdl2
"
RDEPEND="${DEPEND}"
src_configure() {
./waf configure \
--prefix=/usr \
--enable-packaging \
--64bits \
--disable-werror || die
}
src_compile() {
./waf || die
}
src_install() {
DESTDIR="${D}" ./waf install || die
}
virtual/opengl app-arch/bzip2:= media-libs/libogg media-libs/libvorbis media-libs/opusfile media-libs/libsdl2
virtual/opengl app-arch/bzip2:= media-libs/libogg media-libs/libvorbis media-libs/opusfile media-libs/libsdl2