Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 89654 Details for
Bug 137309
d2x-rebirth-0.50.ebuild (New Ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
d2x-rebirth-0.42.ebuild
d2x-rebirth-0.42.ebuild (text/plain), 2.83 KB, created by
Paul Bredbury
on 2006-06-20 11:57:01 UTC
(
hide
)
Description:
d2x-rebirth-0.42.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2006-06-20 11:57:01 UTC
Size:
2.83 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit autotools eutils games > ># DV is the Descent version. Used because the d1x-rebirth ebuild is similar. >DV="2" >DATE="20060416" > >DVX=d${DV}x >DESCRIPTION="Descent Rebirth - enhanced Descent 2 client" >HOMEPAGE="http://www.dxx-rebirth.de/" >FILE_START="${DVX}-rebirth_v${PV}-src-${DATE}" >SRC_STEM="http://www.dxx-rebirth.de/download/dxx" >SRC_URI="${SRC_STEM}/src/${FILE_START}.tar.gz > ${SRC_STEM}/res/d1x-rebirth_hires-briefings.zip > ${SRC_STEM}/res/d1x-rebirth_hires-fonts.zip > ${SRC_STEM}/res/dxx-rebirth_icons.zip" > ># Licence info at http://bugs.gentoo.org/show_bug.cgi?id=117344 ># All 3 licences apply. >LICENSE="D1X > GPL-2 > as-is" > >SLOT="0" >KEYWORDS="~x86" >IUSE="awe32 debug mpu401" > >DEPEND="media-libs/alsa-lib > media-libs/libpng > >=media-libs/libsdl-1.2.8-r1 > >=media-libs/sdl-image-1.2.3-r1 > >=dev-games/physfs-1.0.1 > virtual/opengl > || ( > ( > media-libs/mesa > x11-libs/libX11 > x11-libs/libXdmcp > x11-libs/libXext > x11-proto/xf86dgaproto > x11-proto/xf86vidmodeproto > x11-proto/xproto ) > virtual/x11 )" > ># This game does not work with the demo data >RDEPEND="${DEPEND} > games-action/descent2-data" > >S=${WORKDIR}/${FILE_START} >DIR_NAME=${DVX} >dir=${GAMES_DATADIR}/${DIR_NAME} > ># This would prevent the QA warning: ># QA_EXECSTACK="${GAMES_BINDIR:1}/${PN}" > >src_unpack() { > unpack ${A} > cd "${S}" > > # Fixes compilation error. Not used anyway, thanks to --disable-asm > sed -i texmap/tmapppro.S \ > -e "s:DoFPCalcs 0:DoFPCalcs:" \ > || die "sed tmapppro.S failed" > > # Set user dir to ~/.d2x-rebirth > sed -i main/inferno.c \ > -e "s:path = \"\":path = \"~/.${PN}\":" \ > || die "sed inferno.c failed" > > # Midi music - awe32 for most SoundBlaster cards > if use awe32 ; then > sed -i arch/linux/hmiplay.c \ > -e "s://#define WANT_AWE32 1:#define WANT_AWE32 1:" \ > || die "sed awe32 failed" > elif use mpu401 ; then > sed -i arch/linux/hmiplay.c \ > -e "s://#define WANT_MPU401 1:#define WANT_MPU401 1:" \ > || die "sed mpu401 failed" > fi >} > >src_compile() { > eautoreconf || die "eautoreconf failed" > > # The assembler code is not maintained, and is not noticeably faster > egamesconf \ > $(use_enable debug) \ > --with-sharepath="${dir}" \ > --with-opengl \ > --disable-asm \ > || die "egamesconf failed" > > emake -j1 || die "emake failed" >} > >src_install() { > local icon="${DVX}-rebirth.xpm" > # Reasonable set of default options > local params="-gl_trilinear -gl_anisotropy 8.0 -gl_16bpp -gl_16bittextures -gl_reticle 2 -fullscreen -menu_gameres -nomovies -nocdrom" > > newgamesbin ${DVX}-gl ${PN} || die "newgamesbin failed" > doicon "${WORKDIR}/${icon}" > make_desktop_entry "${DVX}-rebirth ${params}" \ > "Descent ${DV} Rebirth" "${icon}" > > insinto "${dir}" > doins "${WORKDIR}"/*.{pcx,fnt} > > dodoc DXX-ChangeLog DXX-README.TXT "${WORKDIR}"/*.txt > > prepgamesdirs >}
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 137309
:
89581
|
89654
|
90951
|
91947
|
91965
|
94496
|
101553