Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 90874 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]
ebuild for games-fps/vavoom-1.20.ebuild
vavoom-1.20.ebuild (text/plain), 4.92 KB, created by
Davide Cendron (RETIRED)
on 2006-07-04 11:24:34 UTC
(
hide
)
Description:
ebuild for games-fps/vavoom-1.20.ebuild
Filename:
MIME Type:
Creator:
Davide Cendron (RETIRED)
Created:
2006-07-04 11:24:34 UTC
Size:
4.92 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit games eutils flag-o-matic multilib > >DESCRIPTION="Vavoom is a source port based on sources of Doom, Heretic, Hexen and a little bit from Quake." >HOMEPAGE="http://www.vavoom-engine.com/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" >IUSE="debug opengl openal external-glbsp vorbis mad mikmod flac dedicated" > >DEPEND="media-libs/libpng > sys-libs/zlib > media-sound/timidity++ > media-libs/libsdl > media-libs/sdl-mixer > opengl? ( virtual/opengl ) > openal? ( media-libs/openal ) > external-glbsp? ( games-util/glbsp ) > amd64? ( app-emulation/emul-linux-x86-sdl > mad? (app-emulation/emul-linux-x86-medialibs) > ) > !amd64? ( > vorbis? ( media-libs/libvorbis ) > mad? ( media-libs/libmad ) > mikmod? ( media-libs/libmikmod ) > flac? ( media-libs/flac ) > )" > >pkg_setup() { > if use amd64 ; then > if ! has_m32 ; then > eerror "Your compiler seems to be unable to compile 32bit code." > eerror "Make sure you compile gcc with:" > echo > eerror " USE=multilib FEATURES=-sandbox" > die "Cannot produce 32bit code" > fi > if has_multilib_profile ; then > export ABI=x86 > else > append-flags -m32 > append-ldflags -m32 > fi > fi > > if use opengl ; then > if ! built_with_use media-libs/libsdl opengl ; then > eerror "'opengl' USE flag enabled, but libsdl without opengl support > detected" > eerror "Recompile media-libs/libsdl with opengl USE flag enabled" > die "libsdl without opengl detected" > fi > fi > > games_pkg_setup >} > >dir="${GAMES_DATADIR}/${PN}" > >src_unpack() { > unpack ${A} || die "unpack failed" > cd "${S}" > epatch "${FILESDIR}/vavoom-glvis-linux.diff" >} > >src_compile() { > if use debug ; then > append-flags -g > fi > > local myconf > > if use opengl; then > myconf="${myconf} --with-opengl" > else > myconf="${myconf} --without-opengl" > fi > > if use openal; then > myconf="${myconf} --with-openal" > else > myconf="${myconf} --without-openal" > fi > > if use external-glbsp; then > myconf="${myconf} --with-external-glbsp" > else > myconf="${myconf} --without-external-glbsp" > fi > > if use vorbis; then > myconf="${myconf} --with-vorbis" > else > myconf="${myconf} --without-vorbis" > fi > > if use mad; then > myconf="${myconf} --with-libmad" > else > myconf="${myconf} --without-libmad" > fi > > if use mikmod; then > myconf="${myconf} --with-mikmod" > else > myconf="${myconf} --without-mikmod" > fi > > # flac support doesn't work on AMD64 (due missing required libs in emul-linux-x86-medialibs) > if use flac && ! use amd64 ; then > myconf="${myconf} --with-flac" > else > myconf="${myconf} --without-flac" > fi > > # warn about flac support disabled > if use flac && use amd64; then > ewarn > ewarn "FLAC support is disabled, since you're running on AMD64" > ewarn > fi > > egamesconf \ > --with-sdl \ > ${myconf} || die "configure failed" > > # Parallel compiling seems to be broekn > emake -j1 || die "emake failed" > > if use dedicated ; then > emake sv || die "emake sv failed" > fi >} > >src_install() { > exeinto "${dir}" > doexe Vavoom || die "doexe failed" > games_make_wrapper vavoom ./Vavoom "${dir}" "${dir}" > > if use dedicated ; then > exeinto "${dir}" > doexe VavoomSV || die "doexe failed" > games_make_wrapper vavoomsv ./VavoomSV "${dir}" "${dir}" > fi > > # make install seems to be broken, installing data manually > > insinto "${GAMES_DATADIR}/${PN}/basev" > doins basev/games.txt || die "doins failed" > insinto "${GAMES_DATADIR}/${PN}/basev/common" > doins basev/common/default.cfg || die "doins failed" > doins basev/common/startup.vs || die "doins failed" > doins basev/common/wad0.wad || die "doins failed" > insinto "${GAMES_DATADIR}/${PN}/basev/doom" > doins basev/doom/wad0.wad || die "doins failed" > insinto "${GAMES_DATADIR}/${PN}/basev/doom1" > doins basev/doom1/base.txt || die "doins failed" > doins basev/doom1/wad0.wad || die "doins failed" > insinto "${GAMES_DATADIR}/${PN}/basev/doom2" > doins basev/doom2/base.txt || die "doins failed" > doins basev/doom2/wad0.wad || die "doins failed" > insinto "${GAMES_DATADIR}/${PN}/basev/heretic" > doins basev/heretic/wad0.wad || die "doins failed" > insinto "${GAMES_DATADIR}/${PN}/basev/hexen" > doins basev/hexen/wad0.wad || die "doins failed" > insinto "${GAMES_DATADIR}/${PN}/basev/plutonia" > doins basev/plutonia/base.txt || die "doins failed" > doins basev/plutonia/wad0.wad || die "doins failed" > insinto "${GAMES_DATADIR}/${PN}/basev/strife" > doins basev/strife/wad0.wad || die "doins failed" > insinto "${GAMES_DATADIR}/${PN}/basev/tnt" > doins basev/tnt/base.txt || die "doins failed" > doins basev/tnt/wad0.wad || die "doins failed" > > dodoc docs/*.txt > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > einfo "Copy WAD files in ${GAMES_DATADIR}/${PN} with correct permissions:" > einfo "Example: (run as root) chmod 640 doom.wad && chgrp games doom.wad" > einfo > einfo "Example command line:" > einfo " vavoom -doom -opengl -window" > einfo > einfo "See documentation for further details" >}
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