Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 107024 Details for
Bug 162139
games-fps/qrack-1.60.1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
qrack-1.60.1.ebuild
qrack-1.60.1.ebuild (text/plain), 3.57 KB, created by
Paul Bredbury
on 2007-01-15 02:41:06 UTC
(
hide
)
Description:
qrack-1.60.1.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2007-01-15 02:41:06 UTC
Size:
3.57 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils flag-o-matic games > >MY_WINDOWS="${PN}160.zip" >MY_URL="http://www.quakeone.com/${PN}" > ># Qrack used to be called JoeQuake Pro >DESCRIPTION="Quake 1 engine based on ProQuake and JoeQuake" >HOMEPAGE="http://www.quakeone.com/qrack/ > http://qudos.quakedev.com/linux/quake1/" >SRC_URI="http://qudos.quakedev.com/linux/quake1/${P}-src.tar.bz2 > ${MY_URL}/${MY_WINDOWS} > ${MY_URL}/pak1.zip > ${MY_URL}/pak2.zip > lights? ( http://www.fuhquake.net/files/extras/fuhquake-lits.rar )" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86" >IUSE="cdsound debug doe dzip lights sdl skins soa textures" > >UIRDEPEND="media-libs/jpeg > media-libs/libpng > virtual/opengl > sdl? ( media-libs/libsdl ) > x11-libs/libX11 > x11-libs/libXext > x11-libs/libXxf86dga > x11-libs/libXxf86vm" >UIDEPEND="x11-proto/xf86dgaproto > x11-proto/xf86vidmodeproto > x11-proto/xproto" ># Is not compatible with the demo data >RDEPEND="${UIRDEPEND} > games-fps/quake1-data > doe? ( games-fps/quake1-doe ) > skins? ( games-fps/quake1-skins ) > soa? ( games-fps/quake1-soa ) > textures? ( >=games-fps/quake1-textures-20050820 )" >DEPEND="${UIRDEPEND} > ${UIDEPEND} > lights? ( || ( > app-arch/rar > app-arch/unrar ) ) > app-arch/unzip" > >S=${WORKDIR}/${P}-src >dir=${GAMES_DATADIR}/quake1 > >src_unpack() { > unpack ${A} > rm *.exe ${PN}/*.dll > > mkdir -p ${PN} > mv -f *.pak ${PN} || die "mv *.pak failed" > > if use lights ; then > mkdir -p ${PN}/lits > mv -f *.lit ${PN}/lits || die "mv *.lit failed" > fi > > cd "${S}" > > # Set -march= in Makefile. > # -O1 and higher make the audio crackle. > local march=$(get-flag -march) > sed -i \ > -e "s:-O3:-O0:" \ > -e "s:-march=\$(MARCH):${march}:" \ > Makefile || die "sed Makefile failed" > > # Save *all* the cvars by default, to easily edit config.cfg > sed -i \ > -e "s:cfg_savevars\", \"1:cfg_savevars\", \"2:" \ > cvar.c || die "sed cvar.c failed" > > if ! use cdsound ; then > # Turn the CD accesses off > sed -i \ > -e "s:/dev/cdrom:/dev/null:" \ > cd_unix.c || die "sed cd_linux.c failed" > fi >} > >src_compile() { > yesno() { useq $1 && echo YES || echo NO ; } > > local target="release" optimize="YES" > use debug && target="debug" && optimize="NO" > > local opengl="YES" > use sdl && opengl="NO" > > emake \ > BUILD_QR=${opengl} \ > BUILD_QR_SDL=$(yesno sdl) \ > BUILD_DZIP=$(yesno dzip) \ > OPTIMIZE=${optimize} \ > QR_EXE=${PN} \ > QR_SDL_EXE=${PN}-sdl \ > DATADIR="${dir}" \ > HOMEDIR=".${PN}" \ > LOCALBASE="/usr" \ > CC="$(tc-getCC)" \ > WITH_DATADIR=YES \ > WITH_HOMEDIR=YES \ > VERBOSE=YES \ > STRIP=NO \ > "${target}" \ > || die "emake failed" >} > >src_install() { > local exe=${PN} > use sdl && exe=${PN}-sdl > newgamesbin "quake/${exe}" ${PN} \ > || die "newgamesbin ${exe} failed" > > if use dzip ; then > newgamesbin quake/dzip ${PN}-dzip \ > || die "newgamesbin dzip failed" > fi > > insinto "${dir}" > doins -r "${WORKDIR}/${PN}" || die "doins failed" > > make_desktop_entry ${PN} "Qrack" ${PN}.png > if use doe ; then > games_make_wrapper ${PN}-doe "${PN} -rogue" > make_desktop_entry ${PN}-doe "Qrack - Dissolution of Eternity" ${PN}.png > fi > if use soa ; then > games_make_wrapper ${PN}-soa "${PN} -hipnotic" > make_desktop_entry ${PN}-soa "Qrack - Scourge of Armagon" ${PN}.png > fi > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > > elog "To run the game conveniently," > elog "set up a ~/bin/qrack script containing e.g.:" > elog > elog "exec ${GAMES_BINDIR}/${PN} -width 1024 -height 768 -fullscreen -bpp 32 -44khz \$@" > elog > elog "The easiest way to set up config.cfg is to install joequake, then:" > elog " cp ~/.joequake/config.cfg ~/.qrack/" > echo >}
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 162139
:
107024
|
107316
|
110277
|
115699