Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 37808 Details for
Bug 60992
Hacked up FuhQuake ebuild that seems to work
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
This ebuild downloads spprogs.dat from zquake , to enable Single Player support
fuhquake-0.31.ebuild (text/plain), 2.73 KB, created by
Pkunk
on 2004-08-20 11:09:16 UTC
(
hide
)
Description:
This ebuild downloads spprogs.dat from zquake , to enable Single Player support
Filename:
MIME Type:
Creator:
Pkunk
Created:
2004-08-20 11:09:16 UTC
Size:
2.73 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/games-fps/quakeforge/quakeforge-0.5.5.ebuild,v 1.3 2004/06/24 22:46:12 agriffis Exp $ > >inherit eutils games > >DESCRIPTION="A QuakeWorld compatible Quake engine , with visually stunning effects" >HOMEPAGE="http://www.fuhquake.net" >#SRC_URI="mirror://sourceforge/quake/${PV}.tar.bz2" >SRC_URI="http://www.fuhquake.net/files/releases/v${P}/fuhquake-source-v${PV}.zip > http://zquake.frag.ru/files/single-0.04.zip" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~x86 ~amd64" >#sorry amd64 users , but i got no time to test this crap Makefile for you >#it's doable on amd64 though , post to bugzilla if it doesn't work >IUSE="" >RESTRICT="nouserpriv" > >RDEPEND="" >DEPEND="${RDEPEND} > media-libs/svgalib > virtual/opengl" > >src_unpack() { > unpack fuhquake-source-v${PV}.zip > mkdir "${WORKDIR}/spprogs" > cd "${WORKDIR}/spprogs" > unpack single-0.04.zip > cd ${WORKDIR}/source >} ># epatch ${FILESDIR}/${PV}-ipv6.patch > >src_compile() { > cd ${WORKDIR}/source > sed -e 's@\$(SOURCE_DIR)/\.\./lib@/usr/lib@' Makefile.linux > Makefile >#GLQWCL_STATIC_LIBS = $(STATICLIB_DIR)/libXxf86vm.a $(STATICLIB_DIR)/libXxf86dga > sed -e 's@GLQWCL_STATIC_LIBS = \$(STATICLIB_DIR)/libXxf86vm.a \$(STATICLIB_DIR)/libXxf86dga.a@GLQWCL_STATIC_LIBS = /usr/X11R6/lib/libXxf86vm.a /usr/X11R6/lib/libXxf86dga.a@' Makefile.linux > Makefile > make RELEASE_CFLAGS="-DWITH_ZLIB -DWITH_PNG -I$(HEADER_DIR) -funsigned-char -D__linux__ -Did386 -DWITH_XMMS `glib-config --cflags` ${CFLAGS}" release|| die "make failed" >} > >src_install() { ># make DESTDIR=${D} install || die "install failed" > cd ${WORKDIR} > mkdir -p ${D}/${GAMES_PREFIX}/bin > mkdir -p ${D}/opt/${P} > cp source/release-i386-glibc/fuhquake-gl.glx ${D}/opt/${P} > echo "#!/bin/sh" > ${D}/${GAMES_PREFIX}/bin/fuhquake > echo "cd /opt/${P}" >> ${D}/${GAMES_PREFIX}/bin/fuhquake > echo "./fuhquake-gl.glx \$*" >> ${D}/${GAMES_PREFIX}/bin/fuhquake > chmod 775 ${D}/${GAMES_PREFIX}/bin/fuhquake > cp ${WORKDIR}/spprogs/spprogs.dat ${D}/opt/${P} ># mv ${D}/${GAMES_PREFIX}/include ${D}/usr/ > dodoc fuhquake.txt > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > echo > einfo "Before you can play, you must make sure" > einfo "QuakeForge can find your Quake .pak files" > echo > einfo "You have 2 choices to do this" > einfo "1 Copy pak*.pak files to ${GAMES_DATADIR}/quake-data/id1" > einfo "2 Symlink pak*.pak files in ${GAMES_DATADIR}/quake-data/id1" > echo > einfo "Example:" > einfo "my pak*.pak files are in /mnt/secondary/Games/Quake/Id1/" > einfo "ln -s /mnt/secondary/Games/Quake/Id1/pak0.pak ${GAMES_DATADIR}/quake-data/id1/pak0.pak" > echo > einfo "You only need pak0.pak to play the demo version," > einfo "the others are needed for registered version" >}
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 60992
:
37788
|
37789
| 37808