Install this version:
emerge -a =games-strategy/xbattleai-1.2.2
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-strategy/xbattleai-1.2.2
Or alternatively:
emerge --autounmask-write -a =games-strategy/xbattleai-1.2.2
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs autotools
DESCRIPTION="A multi-player game of strategy and coordination"
HOMEPAGE="https://inf.ug.edu.pl/~piotao/zasoby/xbattle/mirror/www.lysator.liu.se/XBattleAI/"
SRC_URI="https://inf.ug.edu.pl/~piotao/zasoby/xbattle/mirror/www.lysator.liu.se/XBattleAI/${P}.tgz"
LICENSE="xbattle"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# Since this uses similar code and the same binary name as the original XBattle,
# we want to make sure you can't install both at the same time
RDEPEND="
dev-lang/tcl:0
dev-lang/tk:0
x11-libs/libX11
x11-libs/libXext
"
DEPEND="
${RDEPEND}
x11-base/xorg-proto
"
BDEPEND="
app-text/rman
x11-misc/imake
"
DOCS=( CONTRIBUTORS README README.AI TODO xbattle.dot )
PATCHES=(
"${FILESDIR}"/${P}-sandbox.patch
"${FILESDIR}"/${P}-C99.patch
)
src_prepare() {
default
rm -f xbcs/foo.xbc~ || die
rm config.cache || die
tc-export CC
eautoreconf
}
src_install() {
default
mv "${ED}/usr/bin/"{,xb_}gauntletCampaign || die
}
dev-lang/tcl:0 dev-lang/tk:0 x11-libs/libX11 x11-libs/libXext x11-base/xorg-proto
dev-lang/tcl:0 dev-lang/tk:0 x11-libs/libX11 x11-libs/libXext
app-text/rman x11-misc/imake
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | xbattleai-1.2.2.tgz | 1511991 bytes | https://inf.ug.edu.pl/~piotao/zasoby/xbattle/mirror/www.lysator.liu.se/XBattleAI/xbattleai-1.2.2.tgz |