Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 238599 Details for
Bug 328069
games-fps/prboom-2.5.0: improved ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Improved ebuild.
prboom-2.5.0-r1.ebuild (text/plain), 2.31 KB, created by
Alexander Korshun
on 2010-07-13 08:49:04 UTC
(
hide
)
Description:
Improved ebuild.
Filename:
MIME Type:
Creator:
Alexander Korshun
Created:
2010-07-13 08:49:04 UTC
Size:
2.31 KB
patch
obsolete
># Copyright 1999-2010 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/games-fps/prboom/prboom-2.5.0.ebuild,v 1.7 2010/06/03 09:51:53 hwoarang Exp $ > >EAPI=2 >inherit eutils toolchain-funcs games > >DESCRIPTION="Port of ID's doom to SDL and OpenGL" >HOMEPAGE="http://prboom.sourceforge.net/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz > mirror://gentoo/${PN}.png" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~ppc ~x86" >IUSE="sound net opengl" > >DEPEND="media-libs/libsdl[joystick,video] > sound? ( media-libs/sdl-mixer ) > net? ( media-libs/sdl-net ) > !games-fps/lsdldoom > opengl? ( > virtual/opengl > virtual/glu > )" >RDEPEND="${DEPEND}" > >src_prepare() { > if use opengl; then > ebegin "Detecting NVidia GL/prboom bug" > $(tc-getCC) "${FILESDIR}"/${P}-nvidia-test.c 2> /dev/null > local ret=$? > eend ${ret} "NVidia GL/prboom bug found ;(" > [ ${ret} -eq 0 ] || epatch "${FILESDIR}"/${P}-nvidia.patch > fi > epatch "${FILESDIR}"/${P}-libpng14.patch > sed -i \ > -e '/^gamesdir/ s/\/games/\/bin/' \ > src/Makefile.in \ > || die "sed failed" > sed -i \ > -e 's/: install-docDATA/:/' \ > -e '/^SUBDIRS/ s/doc//' \ > Makefile.in \ > || die "sed failed" > sed -i \ > -e 's:-ffast-math $CFLAGS_OPT::' \ > configure \ > || die "sed configure failed" >} > >src_configure() { > # leave --disable-cpu-opt in otherwise the configure script > # will append -march=i686 and crap ... let the user's CFLAGS > # handle this ... > egamesconf \ > --disable-dependency-tracking \ > $(use_enable opengl gl) \ > $(use_enable net)\ > $(use_enable sound mixer)\ > $(use_enable x86 i386-asm) \ > --disable-cpu-opt \ > --with-waddir="${GAMES_DATADIR}/doom-data" >} > >src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > doman doc/*.{5,6} > dodoc AUTHORS NEWS README TODO doc/README.* doc/*.txt > doicon "${DISTDIR}"/${PN}.png > make_desktop_entry ${PN} "PrBoom" > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > elog "To play the original Doom levels, place doom.wad and/or doom2.wad" > elog "into ${GAMES_DATADIR}/doom-data" > elog "Then run ${PN} accordingly." > elog > elog "doom1.wad is the shareware demo wad consisting of 1 episode," > elog "and doom.wad is the full Doom 1 set of 3 episodes" > elog "(or 4 in the Ultimate Doom wad)." > elog > elog "You can even emerge doom-data and/or freedoom to play for free." >}
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 328069
:
238599
|
238861