/[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.3 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.3 2010/01/31 04:53:57 mr_bones_ 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 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"
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.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.20