Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 180627 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]
Ebuild for teeworlds-0.5.1 with datadir fix
teeworlds-0.5.1.ebuild (text/plain), 2.10 KB, created by
Bruno 'brubru' Tarquini
on 2009-02-01 23:36:17 UTC
(
hide
)
Description:
Ebuild for teeworlds-0.5.1 with datadir fix
Filename:
MIME Type:
Creator:
Bruno 'brubru' Tarquini
Created:
2009-02-01 23:36:17 UTC
Size:
2.10 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="dedicated" > >RDEPEND="dev-lang/lua > !dedicated? ( > media-libs/libsdl[X,alsa,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 >} > >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|cc.flags = \"-Wall -pedantic-errors\"|cc.flags = \"${CXXFLAGS}\"|" \ > -e "s|linker.flags = \"\"|linker.flags = \"${LDFLAGS}\"|" \ > -e "s|-Wall -fstack-protector -fstack-protector-all -fno-exceptions|${CXXFLAGS}|" \ > default.bam || die "sed failed" > > if use dedicated ; then > ../${BAM_P}/src/bam -v server_release || die "bam failed" > else > ../${BAM_P}/src/bam -v release || die "bam failed" > fi >} > >src_install() { > dogamesbin ${PN}_srv || die "dogamesbin failed" > > if ! use dedicated ; then > dogamesbin ${PN} || die "dogamesbin failed" > 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 >}
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