Armagetron Advanced Gentoo Ebuild
I've modified the existing ebuild for games-action/armagetronad-0.2.9.1.0:0 to create an ebuild for 0.4 using the latest git release. Posting it here in case it could be of any use to others. It may not be perfect but did result is a successful build and install for me.
# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit autotools desktop git-r3 DESCRIPTION="Fast-paced 3D lightcycle game based on Tron" HOMEPAGE="http://armagetronad.org/" EGIT_REPO_URI="https://github.com/ArmagetronAd/armagetronad.git" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="dedicated sound" RDEPEND=" dev-libs/libxml2 media-libs/ftgl !dedicated? ( media-libs/libpng:0= media-libs/libsdl2[X,opengl,video,sound?] media-libs/sdl2-image[jpeg,png] virtual/glu virtual/opengl sound? ( media-libs/sdl2-mixer ) )" DEPEND="${RDEPEND}" src_prepare() { default ./bootstrap.sh } src_configure() { local econfargs=( $(use_enable dedicated) $(use_enable sound music) # following options only mess with paths and users --disable-games --disable-sysinstall --disable-uninstall --disable-useradd ) econf ${econfargs[@]} } src_install() { # long history of being broken without -j1 (bug #330705,698020) # do not remove (again) without a proper fix or extensive tests emake -j1 DESTDIR="${D}" install einstalldocs # handle misplaced .desktop / icons if ! use dedicated; then rm -r "${ED}"/usr/share/${PN}/desktop || die doicon desktop/icons/48x48/armagetronad.png make_desktop_entry ${PN} fi }
Reply to Topic
You need to log in or register to reply to topics.
25 Topics 74 Posts 1,268 Users Newest Member: mellow