Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 170983 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.4.3.ebuild
teeworlds-0.4.3.ebuild (text/plain), 2.44 KB, created by
Tomáš Chvátal (RETIRED)
on 2008-11-07 12:49:49 UTC
(
hide
)
Description:
teeworlds-0.4.3.ebuild
Filename:
MIME Type:
Creator:
Tomáš Chvátal (RETIRED)
Created:
2008-11-07 12:49:49 UTC
Size:
2.44 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit toolchain-funcs eutils games > >DESCRIPTION="Online 2D platform shooter." >HOMEPAGE="http://www.teeworlds.com" >SRC_URI="http://www.teeworlds.com/files/${P}-src.tar.gz > http://www.teeworlds.com/files/bam.zip" > >LICENSE="as-is" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="debug dedicated" > >RDEPEND="dev-lang/lua > !dedicated? ( > media-libs/alsa-lib > media-libs/glfw > >=media-libs/portaudio-19_pre20071207 > media-sound/wavpack > sys-libs/zlib > x11-libs/libX11 > virtual/opengl > )" >DEPEND="${RDEPEND} > app-arch/zip" > >S="${WORKDIR}"/${P}-src > >src_unpack() { > unpack ${A} > cd "${S}" > # the data-dir needs to be patched in some files > sed -i \ > -e "s:data/:${GAMES_DATADIR}/${PN}/data/:g" \ > $(grep -Rl '"data\/' *) \ > || die "sed failed" > rm -f license.txt > # strip out bundled libraries which have package in the tree > rm -rf src/engine/external/glfw > rm -rf src/engine/external/zlib > rm -rf src/engine/external/portaudio > epatch "${FILESDIR}"/"${P}"-bam.patch >} > >src_compile() { > # compile bam maybe separate ebuild? > cd "${WORKDIR}"/bam > $(tc-getCC) ${CFLAGS} src/tools/txt2c.c -o src/tools/txt2c || die > src/tools/txt2c < src/base.bam > src/internal_base.h || die > # note this needs bundled lua 5.0 does not work with 5.1 > # not bothering us since we dont install bam itself but teeworlds > $(tc-getCC) ${CFLAGS} ${LDFLAGS} \ > src/lua/src/*.c src/lua/src/lib/*.c src/*.c -o src/bam \ > -I src/lua/include/ -lm -lpthread || die > # 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/src/bam -v server_release || die "bam failed" > else > ../bam/src/bam -v release || die "bam failed" > fi >} > >src_install() { > dogamesbin ${PN}_srv || die "dogamesbin failed" > insinto "${GAMES_DATADIR}"/${PN}/data/maps > doins data/maps/* || die "doins failed" > > if ! use dedicated ; then > dogamesbin ${PN} || die "dogamesbin failed" > insinto "${GAMES_DATADIR}"/${PN} > doins -r data || die "doins failed" > make_desktop_entry ${PN} "Teeworlds" > fi > dodoc *.txt > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > elog "For more information about server setup read:" > elog "http://www.teeworlds.com/?page=docs" >}
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