Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 99090 Details for
Bug 150427
Fixed ebuild for games-strategy/glest-2.0.0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
glest-2.0.0-r100.ebuild
glest-2.0.0-r100.ebuild (text/plain), 3.02 KB, created by
kalium
on 2006-10-07 18:51:07 UTC
(
hide
)
Description:
glest-2.0.0-r100.ebuild
Filename:
MIME Type:
Creator:
kalium
Created:
2006-10-07 18:51:07 UTC
Size:
3.02 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/glest-2.0.0-r1.ebuild,v 1.3 2006/09/19 16:59:17 mr_bones_ Exp $ > >GAMES_USE_SDL="nojoystick" >inherit eutils games > >DV="${PV}" >LV="${PV}" >L_URI="http://www.glest.org/files/contrib/translations" > >DESCRIPTION="Cross-platform 3D realtime strategy game" >HOMEPAGE="http://www.glest.org/" >SRC_URI="mirror://sourceforge/${PN}/${PN}_source_${PV}.zip > mirror://sourceforge/${PN}/${PN}_data_${DV}.zip > linguas_fr? ( ${L_URI}/francais_${LV}.zip ) > linguas_it? ( ${L_URI}/italiano_${LV}.zip ) > linguas_pt_BR? ( ${L_URI}/portugues_${LV}.zip ) > linguas_sk? ( ${L_URI}/slovak_${LV}.zip )" > >LICENSE="GPL-2 glest-data" >SLOT="0" >KEYWORDS="~amd64 -ppc x86" # ppc: bug #145478 >IUSE="linguas_fr linguas_it linguas_pt_BR linguas_sk" > >RDEPEND=">=media-libs/libsdl-1.2.5 > media-libs/libogg > media-libs/libvorbis > media-libs/openal > dev-libs/xerces-c > virtual/opengl > virtual/glu > sys-apps/sed > || ( x11-libs/libX11 virtual/x11 )" >DEPEND="${RDEPEND} > app-arch/unzip > || ( x11-libs/libXt virtual/x11 ) > >=dev-util/jam-2.5" > >S=${WORKDIR}/${PN}_source_${PV}/mk/linux > >src_unpack() { > unpack ${A} > > local file > for file in $(find ${PN}_source_${PV} -type f); do > edos2unix "${file}" > done > > epatch "${FILESDIR}/${P}"-gcc41.patch > > cd ${PN}_source_${PV} > epatch "${FILESDIR}/${P}"-home.patch > > sed -i \ > -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ > source/glest_game/main/main.cpp \ > || die "sed failed" > > cd "${S}" > chmod a+x *.sh > # sometimes they package configure, sometimes they dont > if [[ ! -e configure ]] ; then > ./autogen.sh || die "autogen failed" > fi > > sed -i \ > -e "/COMPILER_CFLAGS_optimize/s:-O3 -g3::" \ > -e "/COMPILER_C++FLAGS_optimize/s:-O3 -g3::" \ > Jamrules || die "sed flags failed" >} > >src_compile() { > # Fails with wx enabled, bug #130011 > egamesconf \ > --with-vorbis=/usr \ > --with-ogg=/usr \ > --with-wx-config=disabled_wx \ > || die > jam -q ${MAKEOPTS} || die "jam failed" >} > >src_install() { > mv -f glest glest.bin || die > cat > glest <<EOF >#!/bin/bash >[[ ! -e ~/.glest ]] && { > install -d ~/.glest > cd ~/.glest > ln -s "${GAMES_DATADIR}"/${PN}/* . > rm glest.ini > cp "${GAMES_DATADIR}"/${PN}/glest.ini . > sed -i glest.ini -e 's:utopia-\*-\*-\*-\*-12:times-*-*-*-*-18:' >} >exec glest.bin "\$@" >EOF > dogamesbin glest || die "dogamesbin failed" > dogamesbin glest.bin || die "dogamesbin failed" > > insinto "${GAMES_DATADIR}"/${PN} > doins glest.ini || die "config copy failed" > > cd "${WORKDIR}"/glest_game > insinto "${GAMES_DATADIR}"/${PN} > doins -r data maps techs tilesets || die "data copy failed" > dodoc docs/readme.txt > > cd .. > insinto "${GAMES_DATADIR}"/${PN}/data/lang > if use linguas_fr ; then > doins francais.lng || die "doins failed" > fi > if use linguas_it ; then > doins italiano2_0_0.lng || die "doins failed" > fi > if use linguas_pt_BR ; then > doins tradu_pt-br.lng || die "doins failed" > fi > if use linguas_sk ; then > doins slovak.lng || die "doins failed" > fi > > make_desktop_entry glest Glest > > 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 150427
:
99090