Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104390 Details for
Bug 132055
games-fps/vavoom (new ebuild) (Advanced Source port for Doom, Heretic, Hexen and Strife)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
vavoom-9999.ebuild
vavoom-9999.ebuild (text/plain), 4.59 KB, created by
Davide Cendron (RETIRED)
on 2006-12-19 13:33:21 UTC
(
hide
)
Description:
vavoom-9999.ebuild
Filename:
MIME Type:
Creator:
Davide Cendron (RETIRED)
Created:
2006-12-19 13:33:21 UTC
Size:
4.59 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit autotools eutils flag-o-matic subversion games > >DESCRIPTION="Advanced source port for Doom/Heretic/Hexen/Strife" >HOMEPAGE="http://www.vavoom-engine.com" >ESVN_REPO_URI="https://svn.sourceforge.net/svnroot/vavoom/trunk/vavoom" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="-*" >IUSE="allegro debug dedicated external-glbsp flac graphics mad mikmod models \ >music openal opengl sdl textures tools vorbis" > >QA_EXECSTACK="${GAMES_BINDIR:1}/${PN}" > ># From econf: "Vavoom requires Allegro or SDL to compile" ># sdl is a *software* renderer in this game. ># So default to sdl, with opengl. ># opengl is the normally-desired hardware renderer, selected on command-line. >SDLDEPEND="media-libs/libsdl > media-libs/sdl-mixer" >OPENGLDEPEND="virtual/opengl > sdl? ( ${SDLDEPEND} ) > allegro? ( media-libs/allegrogl ) > !sdl? ( !allegro? ( ${SDLDEPEND} ) )" >RDEPEND="media-libs/libpng > allegro? ( media-libs/allegro ) > flac? ( media-libs/flac ) > mad? ( media-libs/libmad ) > mikmod? ( media-libs/libmikmod ) > media-sound/timidity++ > opengl? ( ${OPENGLDEPEND} ) > sdl? ( ${SDLDEPEND} ) > !sdl? ( !allegro? ( !dedicated? ( ${OPENGLDEPEND} ) ) ) > openal? ( media-libs/openal ) > external-glbsp? ( games-util/glbsp ) > vorbis? ( media-libs/libvorbis )" >DEPEND="${RDEPEND} > x11-proto/xf86dgaproto" >PDEPEND="graphics? ( games-fps/vavoom-graphics ) > models? ( games-fps/vavoom-models ) > music? ( games-fps/vavoom-music ) > textures? ( games-fps/vavoom-textures )" > >dir=${GAMES_DATADIR}/${PN} > >pkg_setup() { > games_pkg_setup > > if ! use opengl ; then > ewarn "The 'opengl' USE flag is recommended, for best graphics." > fi >} > >build_client() { > if use allegro || use opengl || use sdl || ! use dedicated ; then > # Build default client > return 0 > fi > return 1 >} > >src_unpack() { > subversion_src_unpack || die "svn_unpack failed" > cd "${S}" > > ./autogen.sh > > # Set shared directory > sed -i \ > -e "s:fl_basedir = \".\":fl_basedir = \"${dir}\":" \ > source/files.cpp || die "sed files.cpp failed" > > eautoreconf > > # Set executable filenames > local m > for m in $(find . -type f -name Makefile.in) ; do > sed -i \ > -e "s:MAIN_EXE = @MAIN_EXE@:MAIN_EXE=${PN}:" \ > -e "s:SERVER_EXE = @SERVER_EXE@:SERVER_EXE=${PN}-ded:" \ > "${m}" || die "sed ${m} failed" > done >} > >src_compile() { > local \ > client="--disable-client" > sdl="--without-sdl" > opengl="--without-opengl" > if build_client ; then > client="--enable-client" > if use sdl || ! use allegro ; then > # Build sdl > sdl="--with-sdl" > if ! use sdl && ! use opengl ; then > # Default to including opengl also > opengl="--with-opengl" > fi > fi > if use opengl ; then > # Build opengl > opengl="--with-opengl" > fi > fi > > if use debug ; then > append-flags -g2 > fi > > egamesconf \ > ${client} \ > ${sdl} \ > ${opengl} \ > $(use_with allegro) \ > $(use_with openal) \ > $(use_with external-glbsp) \ > $(use_with vorbis) \ > $(use_with mad libmad) \ > $(use_with mikmod) \ > $(use_with flac) \ > $(use_enable dedicated server) \ > $(use_enable debug) \ > $(use_enable debug zone-debug) \ > --with-iwaddir="${GAMES_DATADIR}/${PN}" \ > || die "egamesconf failed" > > # Parallel compiling seems to be broken > emake -j1 || die "emake failed" >} > >src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > rm -f "${D}/${GAMES_BINDIR}"/* > > doicon source/${PN}.png || die "doicon failed" > > if build_client ; then > dogamesbin ${PN} || die "dogamesbin ${PN} failed" > make_desktop_entry ${PN} "Vavoom" > fi > > if use dedicated ; then > dogamesbin ${PN}-ded || die "dogamesbin ${PN}-ded failed" > fi > > dodoc docs/${PN}.txt || die > > if use tools; then > # The tools are always built > dobin utils/bin/{acc,fixmd2,vcc,vlumpy} || die "dobin utils failed" > dodoc utils/vcc/vcc.txt || die > fi > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > > elog "Copy or link wad files into ${GAMES_DATADIR}/${PN}" > elog "(the files must be readable by the 'games' group)." > elog > elog "Example setup:" > elog "ln -sn ${GAMES_DATADIR}/doom-data/doom.wad ${GAMES_DATADIR}/${PN}/" > elog > elog "Example command-line:" > elog " vavoom -doom -opengl -window" > elog > elog "See documentation for further details." > > if use tools; then > echo > elog "You have also installed some Vavoom-related utilities" > elog "(useful for mod developing):" > elog > elog " - acc (ACS Script Compiler)" > elog " - fixmd2 (MD2 models utility)" > elog " - vcc (Vavoom C Compiler)" > elog " - vlumpy (Vavoom Lump utility)" > elog > elog "See the Vavoom Wiki at http://vavoom-engine.com/wiki/ or" > elog "Vavoom Forum at http://www.vavoom-engine.com/forums/" > elog "for further help." > 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 132055
:
86018
|
86020
|
86437
|
86438
|
90377
|
90874
|
90875
|
92646
|
92647
|
92745
|
93212
|
93213
|
93214
|
93750
|
93751
|
93996
|
93997
|
93998
|
94445
|
95638
|
97585
|
97586
|
98927
|
98928
|
100878
|
101353
|
101362
|
104389
|
104390
|
104932
|
104934
|
104950
|
104951
|
107835
|
110097
|
114704
|
114706
|
120143
|
120145
|
120146
|
120148
|
121294
|
121296
|
122586
|
122587
|
122732
|
122734
|
122735
|
122750
|
122752
|
127280
|
132340
|
132341
|
132952
|
132954
|
137756
|
137757
|
141736
|
142349
|
142350
|
142500
|
142673
|
148886
|
148888
|
157689
|
170775
|
170835
|
171217
|
184901
|
187639
|
187640
|
233793
|
236793
|
244625
|
244627
|
258606
|
282773
|
324270
|
324274