Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 108914 Details for
Bug 144274
games-action/d2x-xl (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
d2x-xl-1.9.115.ebuild
d2x-xl-1.9.115.ebuild (text/plain), 10.11 KB, created by
Paul Bredbury
on 2007-02-02 09:43:40 UTC
(
hide
)
Description:
d2x-xl-1.9.115.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2007-02-02 09:43:40 UTC
Size:
10.11 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >WANT_AUTOCONF="latest" >WANT_AUTOMAKE="latest" > >inherit autotools eutils games > >WARP_PV="20" >TEXTURES_PV="11" >MY_P=${PN}-lx-${PV} >SRC_D2X="http://www.descent2.de/downloads" >SRC_MISS="http://www.descent2.de/missions" >SRC_DIZZY="http://dizzyrox.koolbear.com/textures" >SRC_ERIC="http://webpages.charter.net/ericengland" >SRC_DIEDEL="http://diedel.koolbear.com/downloads" >SRC_FILE="${PN}-src-${PV}.rar" > >DESCRIPTION="Descent 2 engine with high-resolution textures" >HOMEPAGE="http://www.descent2.de/ > http://sourceforge.net/projects/d2x-xl > http://novacron.koolbear.com/ > http://dizzyrox.koolbear.com/" ># www.descent2.de must be *first* in the SRC_URI list, because ># all the sourceforge links exhaust Portage's retry patience. ># Textures are from http://www.descent2.de/downloads.html ># Some files are excluded because they are wget-unfriendly HTTP redirects >SRC_URI="${SRC_D2X}/${SRC_FILE} > mirror://sourceforge/${PN}/${SRC_FILE} > http://novacron.sitesled.com/images/design/DescentIcons.zip > ${SRC_DIEDEL}/extra-hog.rar > maps? ( > ${SRC_MISS}/wshock${WARP_PV}.rar > ${SRC_DIEDEL}/lor-textures.rar > ${SRC_MISS}/3rdparty/single/af-xl.rar > ${SRC_MISS}/3rdparty/single/bahagad.rar > ${SRC_MISS}/3rdparty/single/belial.rar > ${SRC_MISS}/3rdparty/single/d2-xl.rar > ${SRC_MISS}/3rdparty/single/maximum.rar > ${SRC_MISS}/3rdparty/single/diehard.rar > ${SRC_MISS}/3rdparty/single/eaf.rar > ${SRC_MISS}/3rdparty/single/entropy.rar > ${SRC_MISS}/3rdparty/single/harqyjia.rar > ${SRC_MISS}/3rdparty/single/odyssee.rar > ${SRC_MISS}/3rdparty/single/mandrill.rar > ${SRC_MISS}/3rdparty/panic.zip > ${SRC_MISS}/3rdparty/single/saturn.rar > ${SRC_MISS}/3rdparty/single/norep.rar > ${SRC_MISS}/alhambra.zip > ${SRC_MISS}/rmblbox.zip > ${SRC_MISS}/spotlight/ambushed.zip > ${SRC_MISS}/spotlight/aquarium2.zip > ${SRC_MISS}/spotlight/areneon.zip > ${SRC_MISS}/spotlight/bonzai.zip > ${SRC_MISS}/spotlight/booyah.zip > ${SRC_MISS}/spotlight/steel15.zip > ${SRC_MISS}/spotlight/crown.zip > ${SRC_MISS}/spotlight/dam.zip > ${SRC_MISS}/spotlight/d2_zoo.zip > ${SRC_MISS}/spotlight/d-day97.zip > ${SRC_MISS}/spotlight/deadbolt.zip > ${SRC_MISS}/spotlight/dth.zip > ${SRC_MISS}/spotlight/dspace10.zip > ${SRC_MISS}/spotlight/digg.zip > ${SRC_MISS}/spotlight/dissent2.zip > ${SRC_MISS}/spotlight/dragon.zip > ${SRC_MISS}/spotlight/draconis.zip > ${SRC_MISS}/spotlight/drmdungn.zip > ${SRC_MISS}/spotlight/endtime.zip > ${SRC_MISS}/spotlight/excalibur.zip > ${SRC_MISS}/spotlight/fatal2.zip > ${SRC_MISS}/spotlight/fbunker.zip > ${SRC_MISS}/spotlight/fukill.zip > ${SRC_MISS}/spotlight/get3d.zip > ${SRC_MISS}/spotlight/hydro.zip > ${SRC_MISS}/spotlight/jailbrk.zip > ${SRC_MISS}/spotlight/jailbrkn.zip > ${SRC_MISS}/spotlight/kegparty.zip > ${SRC_MISS}/spotlight/tango2.zip > ${SRC_MISS}/spotlight/massacre.zip > ${SRC_MISS}/spotlight/mori.zip > ${SRC_MISS}/spotlight/mconncp.zip > ${SRC_MISS}/spotlight/neptune.zip > ${SRC_MISS}/spotlight/padlock.zip > ${SRC_MISS}/spotlight/pinballz.zip > ${SRC_MISS}/spotlight/pray.zip > ${SRC_MISS}/spotlight/ppg_hall.zip > ${SRC_MISS}/spotlight/academy.zip > ${SRC_MISS}/spotlight/p-city.zip > ${SRC_MISS}/spotlight/pyroball21.zip > ${SRC_MISS}/spotlight/serpcas.zip > ${SRC_MISS}/spotlight/rtarena.zip > ${SRC_MISS}/spotlight/shcastle.zip > ${SRC_MISS}/spotlight/sixflags.zip > ${SRC_MISS}/spotlight/sob.zip > ${SRC_MISS}/spotlight/sweetrev.zip > ${SRC_MISS}/spotlight/tdome.zip > ${SRC_MISS}/spotlight/urbwar1.zip > ${SRC_MISS}/spotlight/vrtgnsd2.zip > ${SRC_MISS}/spotlight/wolftaur.zip > ${SRC_MISS}/spotlight/yars_d2.zip > ${SRC_MISS}/3rdparty/dwentz/abyss-1.zip > ${SRC_MISS}/3rdparty/dwentz/darkside.zip > ${SRC_MISS}/3rdparty/dwentz/darkerside.zip > ${SRC_MISS}/3rdparty/dwentz/hive.zip > ${SRC_MISS}/3rdparty/dwentz/inferno.zip > ${SRC_MISS}/3rdparty/dwentz/stadium1-3.zip > ${SRC_MISS}/3rdparty/dwentz/vampyro.zip > ${SRC_MISS}/3rdparty/darkhorse/darkmttr.zip > ${SRC_MISS}/3rdparty/darkhorse/noblegas.zip > ${SRC_MISS}/3rdparty/darkhorse/epona2.zip > ${SRC_MISS}/3rdparty/geld/alioth10.zip > ${SRC_MISS}/3rdparty/geld/crucible.zip > ${SRC_MISS}/3rdparty/geld/lagrange.zip > ${SRC_MISS}/3rdparty/geld/minota11.zip > ${SRC_MISS}/3rdparty/geld/nostromo.zip > ${SRC_MISS}/3rdparty/kruel/complexo.zip > ${SRC_MISS}/3rdparty/kruel/kaffeine.zip > ${SRC_MISS}/3rdparty/kruel/kataclsm.zip > ${SRC_MISS}/3rdparty/kruel/klash.zip > ${SRC_MISS}/3rdparty/kruel/konfuzd.zip > ${SRC_MISS}/3rdparty/kruel/koolkave.zip > ${SRC_MISS}/3rdparty/kruel/kak.zip > ${SRC_MISS}/3rdparty/kruel/kordial.zip > ${SRC_MISS}/3rdparty/kruel/korporal.zip > ${SRC_MISS}/3rdparty/kruel/kortege2.zip > ${SRC_MISS}/3rdparty/kruel/kkr.zip > ${SRC_MISS}/3rdparty/kruel/kaverns.zip > ${SRC_MISS}/3rdparty/kruel/kunning.zip > ${SRC_MISS}/3rdparty/kruel/mtmortus.zip > ${SRC_MISS}/3rdparty/kruel/tempkali.zip > ${SRC_MISS}/3rdparty/nirvana/anhldfst.zip > ${SRC_MISS}/3rdparty/nirvana/dmentia2.zip > ${SRC_MISS}/3rdparty/nirvana/destcome.zip > ${SRC_MISS}/3rdparty/nirvana/d2fusnfm.zip > ${SRC_MISS}/3rdparty/nirvana/rltypro.zip > ${SRC_MISS}/3rdparty/nirvana/tourniqt.zip > ${SRC_MISS}/3rdparty/nirvana/vamped.zip > ${SRC_MISS}/3rdparty/sidewinder/bricks.zip > ${SRC_MISS}/3rdparty/sidewinder/bricks2.zip > ${SRC_MISS}/3rdparty/sidewinder/dungeon.zip > ${SRC_MISS}/3rdparty/sidewinder/frigate.zip > ${SRC_MISS}/3rdparty/sidewinder/lemans2.zip > ${SRC_MISS}/3rdparty/sidewinder/perception.zip > ${SRC_MISS}/3rdparty/sidewinder/picasso.zip > ${SRC_MISS}/3rdparty/sidewinder/vader.zip ) > models? ( > ${SRC_DIEDEL}/hires-ceilings.rar > ${SRC_DIEDEL}/hires-doors.rar > ${SRC_DIEDEL}/hires-fans-grates.rar > ${SRC_DIEDEL}/hires-lava-water.rar > ${SRC_DIEDEL}/hires-lights.rar > ${SRC_DIEDEL}/hires-metal.rar > ${SRC_DIEDEL}/hires-missiles.rar > ${SRC_D2X}/hires-models.rar > ${SRC_DIEDEL}/hires-powerups.rar > ${SRC_DIEDEL}/hires-rock.rar > ${SRC_DIEDEL}/hires-signs.rar > ${SRC_DIEDEL}/hires-special.rar > ${SRC_DIEDEL}/hires-switches.rar )" > ># Texture discussion at http://www.descentbb.net/viewtopic.php?t=10569 ># Textures & icons are as-is. For d2x-xl, see bug #117344. >LICENSE="D1X > as-is" >SLOT="0" >KEYWORDS="~x86" >IUSE="cdinstall maps models timidity" ># These files might change contents without a version bump :-( >RESTRICT="mirror" > >UIRDEPEND="media-libs/alsa-lib > media-libs/libpng > >=media-libs/libsdl-1.2.11 > >=media-libs/sdl-mixer-1.2.7 > >=media-libs/sdl-image-1.2.3-r1 > virtual/opengl > x11-libs/libX11 > x11-libs/libXext" >RDEPEND="${UIRDEPEND} > cdinstall? ( games-action/descent2-data ) > !cdinstall? ( games-action/descent2-demodata ) > timidity? ( media-sound/timidity++ )" >DEPEND="${UIRDEPEND} > x11-proto/xf86dgaproto > x11-proto/xf86vidmodeproto > x11-proto/xproto > app-arch/unzip > || ( > app-arch/unrar > app-arch/rar )" > >S=${WORKDIR} >dir=${GAMES_DATADIR}/d2x > >src_unpack() { > unpack ${A} > > # unpack fails > #unpack ./d2x-xl-makefiles.rar > unrar x -idq -o+ d2x-xl-makefiles.rar || die "unrar failed" > > # Subdirectories are confusing - don't use them > local d > for d in data missions models textures screenshots ; do > [[ -e "${d}" ]] && mv -f "${d}"/* . > done > > # Nasty names > mv -f Novacron* novacron > mv -f My* mydocuments > rm -f NIRVANA.HTM > mv -f "Pyroball version 2.1.txt" pyroball-2.1.txt > mv -f "Tricord's Fusion Bunker.txt" fusion-bunker.txt > mv -f "Die hard!.txt" die-hard.txt > > # Rename files in this directory (except Makefile*) to lower-case > local d f fname lcfname > for f in $(find . -mindepth 1 -maxdepth 1 -depth -type f) ; do > fname=$(basename "${f}") > lcfname=$(echo "${fname}" | tr [:upper:] [:lower:]) > if [[ "${lcfname}" != "${fname}" ]] \ > && [[ "${fname:0:8}" != "Makefile" ]] ; then > # Rename the file to lower-case > d=$(dirname "${f}") > if [[ -e "${d}/${lcfname}" ]] ; then > eerror "File case conflict between ${f} and ${lcfname}" > else > einfo "Renaming file ${f} to lower-case" > mv "${f}" "${d}/${lcfname}" \ > || eerror "mv ${f} ${d}/${lcfname} failed" > fi > fi > done > > # Need "missions" directory, for the missions to be recognized > mkdir -p missions > mv -f *.{hog,msn,mn2} missions > > edos2unix configure.ac || die > edos2unix depcomp || die > > sed -i \ > -e "s:1.2.11:$(sdl-config --version):" \ > configure.ac || die "sed configure.ac failed" > > # For eautoreconf > chmod +x configure || die "chmod +x failed" > > # Make the default directory standard > sed -i \ > -e "s:/usr/local/games/${PN}:${dir}:" \ > main/inferno.c || die "sed inferno.c failed" > > # Hide the temporary midi file in $HOME > sed -i \ > -e "s:%s/d2x-temp.mid:%s/.${PN}/d2x-temp.mid:" \ > arch/linux/midi.c || die "sed midi.c failed" > > # Fix bug - was looking in /usr/share/games/d2xmissions > # https://sourceforge.net/tracker/index.php?func=detail&aid=1632877&group_id=155890&atid=797586 > sed -i \ > -e 's:"", BASE_MISSION_DIR:"/", BASE_MISSION_DIR:' \ > main/inferno.c || die "sed inferno.c mission failed" >} > >src_compile() { > eautoreconf || die "eautoreconf failed" > egamesconf || die "egamesconf failed" > > if use timidity ; then > # Turn midi on > sed -i \ > -e "s:\/\* \#undef USE_SDL_MIXER \*\/:#define USE_SDL_MIXER 1:" \ > conf.h || die "sed conf.h failed" > fi > > emake || die "emake failed" >} > >src_install() { > dogamesbin ${PN} || die "dogamesbin failed" > > # Recommended options at http://www.descent2.de/d2x-switches.html > local options="-fullscreen -grabmouse -sound22k -render_quality 3 -gl_alttexmerge -playermessages -noredundancy -nomovies 1 -shortpackets -pps 10 -player default -render2texture 1 -menustyle 1 -fastmenus 1 -sdl_mixer 1 -use_d1sounds 1 -altbg_name menubg.tga -altbg_brightness 0.75 -altbg_alpha -1.0 -altbg_grayscale 0 -enable_lightmaps 1 -hires_textures 1 -gl_reticle 1 -use_shaders 1 -nocdrom" > games_make_wrapper ${PN}-common "${PN} ${options}" > > newicon "novacron/descent2_icon128.png" ${PN}.png \ > || die "newicon failed" > make_desktop_entry ${PN}-common "Descent 2 XL" ${PN}.png > > insinto "${dir}" > doins *.{ham,mvl,ogf,oof,p11,p22,pcx,pig,plr,s11,s22,sg0,tga} \ > || die "doins failed" > doins -r missions || die "doins -r missions failed" > > # These docs may be empty files, in which case they are not installed > dodoc authors changelog news readme *.txt > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > > elog "To play the game with common options, run: d2x-xl-common" > 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 144274
:
94497
|
106243
|
108914
|
134228
|
194459
|
248397
|
330804
|
351320
|
466838
|
466840