Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 210802 Details for
Bug 206287
games-arcade/teeworlds (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
teeworlds-0.5.2.ebuild
teeworlds-0.5.2.ebuild (text/plain), 2.52 KB, created by
David Voge
on 2009-11-21 17:26:32 UTC
(
hide
)
Description:
teeworlds-0.5.2.ebuild
Filename:
MIME Type:
Creator:
David Voge
Created:
2009-11-21 17:26:32 UTC
Size:
2.52 KB
patch
obsolete
># Copyright 1999-2009 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >EAPI="2" > >inherit toolchain-funcs eutils games > >BAM_P="bam-0.2.0" >DESCRIPTION="Online 2D platform shooter." >HOMEPAGE="http://www.teeworlds.com" >SRC_URI="http://www.teeworlds.com/files/${P}-src.tar.gz -> ${P}-src.tar.gz > http://teeworlds.com/trac/bam/browser/releases/bam-0.2.0.tar.gz?format=raw > -> ${BAM_P}.tar.gz" > >LICENSE="as-is" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="debug dedicated instagib" > >RDEPEND="dev-lang/lua > !dedicated? ( > media-libs/libsdl[X,opengl] > sys-libs/zlib > )" ># has modified wavpack and pnglite in its sources ># not worth of effort patching up to system ones >DEPEND="${RDEPEND} > app-arch/zip" > >S=${WORKDIR}/${P}-src ># that's a temporary fix for datadir location >dir=${GAMES_DATADIR}/${PN} > >src_prepare() { > rm -f license.txt > epatch "${FILESDIR}"/fix_datadir_search.patch > if use instagib ; then > epatch "${FILESDIR}"/instagib-2.2.patch > fi >} > >pkg_setup() { > dodir /etc/${P} > enewgroup games > enewuser teeworlds -1 -1 -1 games >} > >src_compile() { > # compile bam > ebegin "Preparing BAM" > cd "${WORKDIR}/${BAM_P}" > $(tc-getCC) ${CFLAGS} src/tools/txt2c.c -o src/tools/txt2c || die > src/tools/txt2c src/base.bam src/driver_gcc.bam \ > src/driver_cl.bam > src/internal_base.h || die > # internal lua sources! > $(tc-getCC) ${CFLAGS} ${LDFLAGS} \ > src/lua/*.c src/*.c -o src/bam \ > -I /usr/include/ -lm -lpthread || die > eend $? > # compile game > cd "${S}" > sed -i \ > -e "s|Add(\"-Wall\", \"-fno-exceptions|Add(\"|" \ > -e "s|cc.flags:Add(\"-fstack-protector\", \"-fstack-protector-all\")|cc.flags:Add(\"${CXXFLAGS}\")|" \ > -e "s|link.flags:Add(\"-fstack-protector\", \"-fstack-protector-all\")|link.flags:Add(\"${LDFLAGS}\")|" \ > default.bam || die "sed failed" > > local opts="" > use dedicated && opts="server_" > use debug && opts="${opts}debug" || opts="${opts}release" > > ../${BAM_P}/src/bam -v ${opts} >} > >src_install() { > if use debug ; then > newgamesbin ${PN}_srv_d ${PN}_srv || "newgamesbin failed" > else > dogamesbin ${PN}_srv || die "dogamesbin failed" > fi > > if ! use dedicated ; then > if use debug ; then > newgamesbin ${PN}_d ${PN} || die "newgamesbin failed" > else > dogamesbin ${PN} || die "dogamesbin failed" > fi > newicon other/icons/Teeworlds.ico ${PN}.ico > make_desktop_entry ${PN} "Teeworlds" > insinto "${dir}" > doins -r data || die "doins failed" > else > insinto "${dir}"/data/maps > doins data/maps/* || die "doins failed" > fi > > dodoc *.txt > prepgamesdirs > newinitd "${FILESDIR}"/teeworlds_init teeworlds >} > >
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 206287
:
141098
|
141149
|
141150
|
141185
|
141303
|
141558
|
142136
|
142142
|
142146
|
143454
|
146976
|
146988
|
146989
|
147018
|
154085
|
164157
|
170238
|
170240
|
170982
|
170983
|
171804
|
178738
|
180627
|
180629
|
180630
|
180984
|
182349
|
182351
|
184778
|
188334
|
188336
| 210802 |
214238