Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 72192 Details for
Bug 111566
games-fps/sauerbraten add build-from-source ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sauerbraten-20050815.ebuild
sauerbraten-20050815.ebuild (text/plain), 2.65 KB, created by
Florian Steinel
on 2005-11-05 08:05:50 UTC
(
hide
)
Description:
sauerbraten-20050815.ebuild
Filename:
MIME Type:
Creator:
Florian Steinel
Created:
2005-11-05 08:05:50 UTC
Size:
2.65 KB
patch
obsolete
># Copyright 1999-2005 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games > >MY_PV="2005_08_15_quakecon_edition" >MY_P="${PN}_${MY_PV}" >DESCRIPTION="Landscape-style engine that pretends to be an indoor first person shooter engine" >HOMEPAGE="http://cubeengine.com" >SRC_URI="mirror://sourceforge/sauerbraten/${MY_P}.zip" > >LICENSE="ZLIB" >SLOT="0" >KEYWORDS="x86" >IUSE="" > >RDEPEND="virtual/opengl > virtual/glu > media-libs/libsdl > media-libs/sdl-mixer > media-libs/sdl-image > sys-libs/zlib > media-libs/libpng" >DEPEND="${RDEPEND} > app-arch/unzip > >=sys-apps/sed-4" > >S=${WORKDIR}/${PN} >CUBE_DATADIR=${GAMES_DATADIR}/${PN}/ > >src_unpack() { > unpack ${A} > > find . -name CVS -type d | xargs rm -r > > cd "${S}/src" > epatch "${FILESDIR}"/${PV}-gentoo-paths.patch > echo "#define GAMES_DATADIR \"${CUBE_DATADIR}\"" >> shared/tools.h > echo "#define GAMES_DATADIR_LEN ${#CUBE_DATADIR}" >> shared/tools.h > sed -i \ > -e "s:packages/:${CUBE_DATADIR}packages/:" \ > engine/command.cpp engine/rendermd2.cpp engine/rendertext.cpp \ > engine/sound.cpp engine/worldio.cpp\ > || die "sed failed" > # enable parallel make > sed -i \ > -e 's/make -C/$(MAKE) -C/' \ > Makefile \ > || die "sed failed (Makefile)" > chmod a+x "${S}"/enet/configure >} > >src_compile() { > cd enet > egamesconf || die "egamesconf failed" > emake || die "emake failed" > cd ../src > einfo "Compiling in $(pwd)" > emake CXXOPTFLAGS="-DHAS_SOCKLEN_T=1 -fpermissive ${CXXFLAGS}" \ > || die "emake failed" >} > >src_install() { > dogamesbin src/sauer_{client,server} || die "dogamesbin failed" > > cd ${WORKDIR}/${PN} > insinto "${GAMES_DATADIR}"/${PN} > doins -r sauerbraten/*.cfg sauerbraten/data sauerbraten/packages || die "doins failed" > dodoc ${S}/src/CUBE_TODO.txt || die "dodoc failed" > dohtml -r docs readme.html || die "dohtml failed" > > if use x86 ; then > exeinto "${GAMES_BINDIR}" > newexe sauerbraten/bin_unix/linux_server sauer_server-bin \ > || die "newexe failed (server)" > > exeinto "${GAMES_LIBDIR}"/${PN} > newexe sauerbraten/bin_unix/linux_client sauer_client-bin \ > || die "newexe failed (client)" > games_make_wrapper sauer_client-bin \ > "${GAMES_LIBDIR}"/$PN/sauer_client-bin "$GAMES_DATADIR"/$PN \ > || die "games_make_wrapper failed" > > make_desktop_entry sauer_client-bin "sauer_client-bin" > fi > > make_desktop_entry sauer_client "sauer_client" > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > if use x86 ; then > einfo "You now have 2 clients and 2 servers:" > einfo "sauer_client-bin prebuilt version (needed to play on public multiplayer servers)" > einfo "sauer_client custom client built from source" > einfo "Parallel versions of the server have been installed" > fi >}
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 111566
:
72192
|
72193
|
78674
|
81067
|
81105
|
83051
|
85513
|
89323
|
89519
|
92628
|
92669
|
96861
|
100392
|
104570
|
104704
|
104899
|
104900
|
104902
|
104903
|
104905
|
116408
|
116410
|
116411
|
133448
|
133449
|
133450
|
139476
|
139478
|
152457
|
152459
|
157443
|
190408
|
190448
|
190465
|
190468
|
190470
|
190472
|
190546
|
190547
|
190548
|
190550
|
190622
|
190657
|
190660
|
199353
|
239489
|
239491
|
239493
|
239593
|
239789
|
240635