Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82260 Details for
Bug 102615
games-action/armagetronad 0.2.8 and beyond
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
0.2.8.0 RC ebuild 20060315-2
client.ebuild (text/plain), 5.46 KB, created by
Luke-Jr
on 2006-03-15 21:07:34 UTC
(
hide
)
Description:
0.2.8.0 RC ebuild 20060315-2
Filename:
MIME Type:
Creator:
Luke-Jr
Created:
2006-03-15 21:07:34 UTC
Size:
5.46 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /cvsroot/armagetronad/armagetronad_build/gentoo/client.ebuild,v 1.4.2.10 2006/03/16 05:06:30 luke-jr Exp $ > > >inherit flag-o-matic eutils games > >DESCRIPTION="\"A Tron clone in 3D\"" >HOMEPAGE="http://armagetronad.net/" >SRC_URI="mirror://sourceforge/armagetronad/${P}.src.tar.bz2 > moviesounds? ( > http://armagetron.sourceforge.net/addons/moviesounds_fq.zip > ) > moviesounds_spanish? ( > http://armagetron.sourceforge.net/addons/moviesounds_fq.zip > http://usuario.tiscalinet.es/hgctiscali/naflat/downloads/spanishvoices.zip > ) > moviepack? ( > http://armagetron.sourceforge.net/addons/moviepack.zip > ) >" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="amd64 ppc x86" >IUSE="debug dedicated krawall opengl moviepack moviesounds moviesounds_spanish" >#games-action/armagetronad: krawall - enable special code for the krawall gaming network >#games-action/armagetronad: moviepack - install graphics based on the TRON movie >#games-action/armagetronad: moviesounds - install sound effects extracted from the TRON movie >#games-action/armagetronad: moviesounds_spanish - install sound effects extracted from the Spanish TRON movie > >GLDEPS=" > || ( > virtual/x11 > x11-libs/libX11 > ) > virtual/glu > virtual/opengl > media-libs/libsdl > media-libs/sdl-image > media-libs/jpeg > media-libs/libpng > " >RDEPEND=" > >=dev-libs/libxml2-2.6.12 > sys-libs/zlib > opengl? ( ${GLDEPS} ) > !dedicated? ( ${GLDEPS} ) > " >DEPEND="${RDEPEND} > moviepack? ( app-arch/unzip ) > moviesounds? ( app-arch/unzip ) > moviesounds_spanish? ( app-arch/unzip ) > " > >pkg_setup() { > build_client='( use opengl || ! use dedicated )' # Assume client if they don't want a server > build_server='use dedicated' > if eval ${build_client} && eval ${build_server}; then > einfo 'USE flags say to build both!' > elif eval ${build_client}; then > einfo "USE flags say to build client!" > elif eval ${build_server}; then > einfo 'USE flags say to build server!' > else > einfo 'USE flags say to build none!' > fi > > EXTRA_EMAKE="armabindir=${GAMES_BINDIR}" # we have a broken build system, I guess > # Note: Music isn't there yet > COMMON_CONFIG="--disable-master --enable-main --disable-memmanager --disable-music $(use_enable krawall) --enable-sysinstall --disable-useradd --enable-etc --disable-restoreold --disable-games" > if [ "$SLOT" == "0" ]; then > COMMON_CONFIG="${COMMON_CONFIG} --disable-multiver" > GameSLOT="" > else > COMMON_CONFIG="${COMMON_CONFIG} --enable-multiver=${SLOT}" > GameSLOT="-${SLOT}" > fi > UNINSTALL_CONFIG=--enable-uninstall="emerge --clean =${CATEGORY}/${PF}" > if use debug; then > DEBUGLEVEL=3 > else > DEBUGLEVEL=0 > fi > CODELEVEL=0 >} > >src_unpack() { > unpack ${A} > cd "${S}" > epatch "${FILESDIR}/sysinstall-bindir.patch" > ./bootstrap.sh >} > > >aabuild() { > MyBUILDDIR="${WORKDIR}/build-$1" > mkdir -p "${MyBUILDDIR}" || die "error creating build directory($1)" # -p to allow EEXIST scenario > cd "${MyBUILDDIR}" > cat >configure <<EOF >#!/bin/sh >"${S}/configure" "\$@" >EOF > chmod +x configure > export DEBUGLEVEL CODELEVEL > egamesconf ${COMMON_CONFIG} "${UNINSTALL_CONFIG}" "${@:2}" || die "egamesconf($1) failed" > if [ "$1" == "server" ]; then > ded='-dedicated' > else > ded='' > fi > cat >>"config.h" <<EOF >#undef ENABLE_BINRELOC >#define DATA_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}" >#define CONFIG_DIR "${GAMES_SYSCONFDIR}/${PN}${ded}${GameSLOT}" >//#define VAR_DIR "~/." PROGDIR >#define RESOURCE_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}/resource" >//#define AUTORESOURCE_DIR "~/." PROGDIR "/resource/automatic" >#define INCLUDEDRESOURCE_DIR "${GAMES_DATADIR}/${PN}${ded}${GameSLOT}/resource/included" >EOF > emake || die "emake($1) failed" >} > >src_compile() { > filter-flags -fno-exceptions > if eval ${build_client}; then # Assume client if they don't want a server > einfo "Building game client" > aabuild client --enable-glout --disable-initscripts --enable-desktop > fi > if eval ${build_server}; then > einfo "Building dedicated server" > aabuild server --disable-glout --enable-initscripts --disable-desktop > fi >} > >src_install() { > if eval ${build_client} && eval ${build_server}; then > # Setup symlink so both client and server share their common data > mkdir -p "${D}${GAMES_DATADIR}" > dosym "${PN}${GameSLOT}" "${GAMES_DATADIR}/${PN}-dedicated${GameSLOT}" > fi > if eval ${build_client}; then > einfo "Installing game client" > cd "${WORKDIR}/build-client" > emake install DESTDIR="${D}" || die "emake(client) install failed" > fi > if eval ${build_server}; then > einfo "Installing dedicated server" > cd "${WORKDIR}/build-server" > emake install DESTDIR="${D}" || die "emake(server) install failed" > fi > # Ok, so we screwed up on doc installation... so for now, the ebuild does this manually > dohtml -r "${D}${GAMES_PREFIX}/share/doc/${PN}${ded}${GameSLOT}/html/"* > dodoc "${D}${GAMES_PREFIX}/share/doc/${PN}${ded}${GameSLOT}/html/"*.txt > rm -r "${D}${GAMES_PREFIX}/share/doc" > rmdir "${D}${GAMES_PREFIX}/share" || true # Supress potential error > if eval ${build_client}; then > # copy moviepacks/sounds > cd "${WORKDIR}" > insinto "${GAMES_DATADIR}/${PN}${GameSLOT}" > if use moviepack; then > einfo 'Installing moviepack' > doins -r moviepack || die "copying moviepack" > fi > if use moviesounds || use moviesounds_spanish; then > einfo 'Installing moviesounds' > doins -r moviesounds || die "copying moviesounds" > fi > if use moviesounds_spanish; then > einfo 'Installing Spanish moviesounds' > doins -r ArmageTRON/moviesounds || die "copying spanish moviesounds" > fi > fi > # TODO: check user for ded > prepgamesdirs >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 102615
:
82180
|
82259
|
82260
|
82261
|
82452
|
82603
|
82604
|
82605
|
85908
|
89476
|
89481
|
94185
|
95521
|
95621
|
114632
|
114633
|
114635
|
114637
|
166709
|
166711
|
166773