Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 110531 Details for
Bug 167339
games-action/d1x-rebirth-0.53.ebuild (Update)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
d1x-rebirth-0.51.ebuild
d1x-rebirth-0.51.ebuild (text/plain), 3.33 KB, created by
Paul Bredbury
on 2007-02-18 13:39:41 UTC
(
hide
)
Description:
d1x-rebirth-0.51.ebuild
Filename:
MIME Type:
Creator:
Paul Bredbury
Created:
2007-02-18 13:39:41 UTC
Size:
3.33 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils games > ># DV is the Descent version. Used because the d2x-rebirth ebuild is similar. >DV="1" >DATE="20070203" >DVX=d${DV}x >FILE_START="${PN}_v${PV}-src-${DATE}" >SRC_STEM="http://www.dxx-rebirth.de/download/dxx" > >DESCRIPTION="Descent Rebirth - enhanced Descent 1 engine" >HOMEPAGE="http://www.dxx-rebirth.de/" >SRC_URI="${SRC_STEM}/oss/src/${FILE_START}.tar.gz > ${SRC_STEM}/res/dxx-rebirth_icons.zip > ${SRC_STEM}/res/${PN}_hires-briefings.zip > ${SRC_STEM}/res/${PN}_hires-fonts.zip" > ># Licence info at bug #117344. All 3 licences apply. >LICENSE="D1X > GPL-2 > as-is" >SLOT="0" >KEYWORDS="~amd64 ~x86" ># awe32 is now the default >IUSE="debug demo mixer mpu401 opengl" > >QA_EXECSTACK="${GAMES_BINDIR:1}/${PN}" > >UIRDEPEND="media-libs/alsa-lib > >=media-libs/libsdl-1.2.9 > >=media-libs/sdl-image-1.2.3-r1 > mixer? ( media-libs/sdl-mixer ) > >=dev-games/physfs-1.0.1 > opengl? ( > virtual/glu > virtual/opengl ) > x11-libs/libX11" >UIDEPEND="x11-proto/xf86dgaproto > x11-proto/xf86vidmodeproto > x11-proto/xproto" ># There is no ebuild for descent1-data >RDEPEND="${UIRDEPEND} > demo? ( games-action/descent1-demodata )" >DEPEND="${UIRDEPEND} > ${UIDEPEND} > dev-util/scons > app-arch/unzip" > >S=${WORKDIR}/${PN} >dir=${GAMES_DATADIR}/${DVX} > >src_unpack() { > unpack ${A} > cd "${S}" > > # "sdl_only=1" does not compile otherwise: > # arch/sdl/clipboard.o: In function `getClipboardText': > # clipboard.c:(.text+0x89): undefined reference to `XGetSelectionOwner' > # Also added potential sandbox violation fix from d2x-rebirth. > sed -i \ > -e "s:ENV = os.environ):ENV = os.environ)\nenv.SConsignFile():" \ > -e "s:'SDL':'SDL', 'X11':" \ > SConstruct || die "sed SConstruct failed" > > # Midi music for the MPU-401 instead of AWE32 > if use mpu401 ; then > sed -i \ > -e "s:WANT_AWE32:WANT_MPU401:" \ > SConstruct || die "sed SConstruct mpu401 failed" > fi > > # Tidy help info > sed -i \ > -e "s:${PN}-gl/sdl:${PN}:" \ > main/inferno.c || die "sed inferno.c failed" >} > >src_compile() { > # Ignoring assembler, to avoid compilation issues > local opts="no_asm=1" > use debug && opts="${opts} debug=1" > use mixer && opts="${opts} sdlmixer=1" > use opengl || opts="${opts} sdl_only=1" > use demo && opts="${opts} shareware=1" > > # From "scons -h" > scons \ > ${opts} \ > sharepath="${dir}" \ > || die "scons failed" >} > >src_install() { > local icon="${PN}.xpm" > # Reasonable set of default options. Don't bother with ${DVX}.ini file. > local params="-gl_trilinear -gl_anisotropy 8.0 -gl_transparency -gl_reticle 2 -fullscreen -menu_gameres -nomovies -nocdrom" > > local exe=${PN}-sdl > use opengl && exe=${PN}-gl > newgamesbin ${exe} ${PN} || die "newgamesbin ${exe} failed" > games_make_wrapper ${PN}-common "${PN} ${params}" > doicon "${WORKDIR}/${icon}" || die "doicon failed" > make_desktop_entry ${PN}-common "Descent ${DV} Rebirth" "${icon}" > > insinto "${dir}"/hires > doins "${WORKDIR}"/*.{pcx,fnt} || die > > dodoc dxx-changelog.txt dxx-readme.txt > > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > > if use demo ; then > elog "${PN} has been compiled specifically for the demo data." > else > elog "Place the DOS data files in ${dir}" > ewarn "Re-emerge with the 'demo' USE flag if this error is shown:" > ewarn " Error: Not enough strings in text file" > fi > elog "To play the game with common options, run: ${PN}-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 167339
:
110470
|
110531
|
110810
|
111323
|
118276
|
123791
|
130978
|
134179
|
172305
|
193184
|
194463