Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 88750 Details for
Bug 106344
ebuild request darkplaces quake 1 engine
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
darkplaces-20060606.ebuild
darkplaces-20060606.ebuild (text/plain), 3.14 KB, created by
Paul Bredbury
on 2006-06-09 02:28:47 UTC
(
hide
)
Description:
darkplaces-20060606.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2006-06-09 02:28:47 UTC
Size:
3.14 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils flag-o-matic versionator games > >MY_PV=$(replace_version_separator 1 '' ) > >DESCRIPTION="Enhanced engine for iD Software's Quake 1" >HOMEPAGE="http://icculus.org/twilight/darkplaces/" >SRC_URI="http://icculus.org/twilight/${PN}/files/${PN}engine${MY_PV}.zip > mod? ( http://icculus.org/twilight/${PN}/files/${PN}mod${MY_PV}.zip )" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="alsa cdinstall cdsound dedicated mod opengl oss sdl" >RESTRICT="primaryuri strip" > >RDEPEND="sys-libs/glibc > alsa? ( media-libs/alsa-lib ) > cdinstall? ( games-fps/quake1-data ) > opengl? ( > virtual/opengl > || ( > ( > x11-libs/libX11 > x11-libs/libXau > x11-libs/libXdmcp > x11-libs/libXext > x11-libs/libXxf86dga > x11-libs/libXxf86vm ) > virtual/x11 ) > ) > sdl? ( > media-libs/libsdl > media-libs/sdl-mixer > || ( > ( > x11-libs/libX11 > x11-libs/libXau > x11-libs/libXdmcp > x11-libs/libXext ) > virtual/x11 ) > )" >DEPEND="${RDEPEND} > app-arch/unzip" > >S=${WORKDIR}/${PN} >dir=${GAMES_DATADIR}/quake1 > >pkg_setup() { > games_pkg_setup > > # A gamer should have opengl and/or sdl in the /etc/make.conf USE flags. > # opengl, rather than sdl, is best for this game. > (use opengl || use sdl || use dedicated) || \ > die "At least one of the USE flags 'opengl', 'sdl' and 'dedicated' are required." >} > >src_unpack() { > unpack ${A} > > cd "${WORKDIR}" > unpack ./${PN}*.zip > cd "${S}" > > # Only CFLAGS optimization is the -march flag > local MARCH=$(get-flag -march) > sed -i "s/CPUOPTIMIZATIONS=/CPUOPTIMIZATIONS=${MARCH}/" makefile.inc \ > || die "sed MARCH failed" > > if ! use cdsound ; then > sed -i "s/cd_linux/cd_null/" makefile.inc \ > || die "sed cdsound failed" > fi > > # Default sound is alsa. > if ! use alsa ; then > if use oss ; then > sed -i "s/DEFAULT_SNDAPI=ALSA/DEFAULT_SNDAPI=OSS/" makefile \ > || die "sed oss failed" > else > sed -i "s/DEFAULT_SNDAPI=ALSA/DEFAULT_SNDAPI=NULL/" makefile \ > || die "sed null failed" > fi > fi >} > >src_compile() { > if use opengl ; then > emake cl-release || die "emake cl-release failed" > fi > > if use sdl ; then > emake sdl-release || die "emake sdl-release failed" > fi > > if use dedicated ; then > emake sv-release || die "emake sv-release failed" > fi >} > >src_install() { > if use opengl ; then > newgamesbin ${PN}-glx ${PN}-glx.bin > games_make_wrapper ${PN}-glx ${PN}-glx.bin "${dir}" > fi > > if use sdl ; then > newgamesbin ${PN}-sdl ${PN}-sdl.bin > games_make_wrapper ${PN}-sdl ${PN}-sdl.bin "${dir}" > fi > > if use dedicated ; then > newgamesbin ${PN}-dedicated ${PN}-ded.bin > games_make_wrapper ${PN}-ded ${PN}-ded.bin "${dir}" > fi > > if use mod ; then > insinto "${dir}" > doins -r "${WORKDIR}"/dpmod || die "doins dpmod failed" > fi > > dodoc ${PN}.txt ChangeLog todo "${WORKDIR}"/${PN}-cvschangelog > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > > if [[ ! -e "${ROOT}/${dir}"/id1/pak0.pak ]] ; then > einfo "Put the data files into "${ROOT}${dir}"/id1" > echo > fi > if use mod ; then > einfo "To use the mod, start the game with:" > einfo " darkplaces-<gfxmode> -game dpmod" > einfo "e.g. darkplaces-glx -game dpmod" > echo > 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 106344
:
68756
|
68757
|
68765
|
68766
|
71092
|
73826
|
80522
|
82125
|
88691
|
88750
|
88755
|
88799
|
88820
|
89265
|
89429