/[gentoo-x86]/games-action/d1x-rebirth/d1x-rebirth-0.50.ebuild
Gentoo

Diff of /games-action/d1x-rebirth/d1x-rebirth-0.50.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.4
1# Copyright 1999-2007 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/Attic/d1x-rebirth-0.50.ebuild,v 1.1 2007/01/09 17:25:00 wolf31o2 Exp $ 3# $Header: /var/cvsroot/gentoo-x86/games-action/d1x-rebirth/Attic/d1x-rebirth-0.50.ebuild,v 1.4 2010/03/09 12:33:33 abcd Exp $
4 4
5inherit autotools eutils games 5inherit eutils games
6 6
7# DV is the Descent version. Used because the d2x-rebirth ebuild is similar. 7# DV is the Descent version. Used because the d2x-rebirth ebuild is similar.
8DV="1" 8DV="1"
9DATE="20061025" 9DATE="20061025"
10DVX=d${DV}x 10DVX=d${DV}x
23LICENSE="D1X 23LICENSE="D1X
24 GPL-2 24 GPL-2
25 as-is" 25 as-is"
26SLOT="0" 26SLOT="0"
27# Should work on amd64 also 27# Should work on amd64 also
28KEYWORDS="~x86" 28KEYWORDS="~amd64 x86"
29IUSE="awe32 debug demo mpu401 opengl mixer" 29IUSE="awe32 debug demo mpu401 opengl mixer"
30 30
31QA_EXECSTACK="${GAMES_BINDIR:1}/${PN}" 31QA_EXECSTACK="${GAMES_BINDIR:1}/${PN}"
32 32
33UIRDEPEND="media-libs/alsa-lib 33UIRDEPEND="media-libs/alsa-lib
92 sharepath="${dir}/" \ 92 sharepath="${dir}/" \
93 || die "scons failed" 93 || die "scons failed"
94} 94}
95 95
96src_install() { 96src_install() {
97 local icon="${PN}.xpm"
98 # Reasonable set of default options. 97 # Reasonable set of default options.
99 # Don't bother with ${DVX}.ini file. 98 # Don't bother with ${DVX}.ini file.
100 local params="-gl_trilinear -gl_anisotropy 8.0 -gl_16bpp -gl_16bittextures -gl_reticle 2 -fullscreen -menu_gameres -nomovies -nocdrom" 99 local params="-gl_trilinear -gl_anisotropy 8.0 -gl_16bpp -gl_16bittextures -gl_reticle 2 -fullscreen -menu_gameres -nomovies -nocdrom"
101 100
102 local exe=${PN}-sdl 101 local exe=${PN}-sdl
103 use opengl && exe=${PN}-gl 102 use opengl && exe=${PN}-gl
104 newgamesbin ${exe} ${PN} || die "newgamesbin ${exe} failed" 103 newgamesbin ${exe} ${PN} || die "newgamesbin ${exe} failed"
105 games_make_wrapper ${PN}-common "${PN} ${params}" 104 games_make_wrapper ${PN}-common "${PN} ${params}"
106 doicon "${WORKDIR}/${icon}" 105 doicon "${WORKDIR}/${PN}.xpm"
107 make_desktop_entry ${PN}-common "Descent ${DV} Rebirth" "${icon}" 106 make_desktop_entry ${PN}-common "Descent ${DV} Rebirth" "${PN}"
108 107
109 insinto "${dir}" 108 insinto "${dir}"
110 doins "${WORKDIR}"/*.{pcx,fnt} || die 109 doins "${WORKDIR}"/*.{pcx,fnt} || die
111 110
112 dodoc *.txt 111 dodoc *.txt

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20