diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-15 14:44:22 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2007-03-15 14:44:22 +0000 |
commit | 7c1d5822129934bfc17d8721302ccf45c5fbb67f (patch) | |
tree | 6a7143f31f0762f47fa25ff440d0263056e60176 /games-fps | |
parent | Stable on ppc64; bug #169888 (diff) | |
download | gentoo-2-7c1d5822129934bfc17d8721302ccf45c5fbb67f.tar.gz gentoo-2-7c1d5822129934bfc17d8721302ccf45c5fbb67f.tar.bz2 gentoo-2-7c1d5822129934bfc17d8721302ccf45c5fbb67f.zip |
Added the dedicated USE flag and closing bug #170720.
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/doom3/ChangeLog | 6 | ||||
-rw-r--r-- | games-fps/doom3/doom3-1.3.1302-r2.ebuild | 20 |
2 files changed, 20 insertions, 6 deletions
diff --git a/games-fps/doom3/ChangeLog b/games-fps/doom3/ChangeLog index 3b0e9df756ca..3d8ce278621e 100644 --- a/games-fps/doom3/ChangeLog +++ b/games-fps/doom3/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-fps/doom3 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.29 2007/03/12 14:27:56 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/ChangeLog,v 1.30 2007/03/15 14:44:22 wolf31o2 Exp $ + + 15 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> + doom3-1.3.1302-r2.ebuild: + Added the dedicated USE flag and closing bug #170720. 12 Mar 2007; Marius Mauch <genone@gentoo.org> doom3-1.3.1302-r2.ebuild: Replacing einfo with elog diff --git a/games-fps/doom3/doom3-1.3.1302-r2.ebuild b/games-fps/doom3/doom3-1.3.1302-r2.ebuild index 999be20d4877..7d2469cd53d1 100644 --- a/games-fps/doom3/doom3-1.3.1302-r2.ebuild +++ b/games-fps/doom3/doom3-1.3.1302-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/doom3-1.3.1302-r2.ebuild,v 1.6 2007/03/12 14:27:56 genone Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3/doom3-1.3.1302-r2.ebuild,v 1.7 2007/03/15 14:44:22 wolf31o2 Exp $ inherit eutils games @@ -13,7 +13,7 @@ SRC_URI="mirror://3dgamers/${PN}/${PN}-linux-${PV}.x86.run LICENSE="DOOM3" SLOT="0" KEYWORDS="-* amd64 x86" -IUSE="alsa cdinstall opengl roe" +IUSE="alsa dedicated cdinstall opengl roe" RESTRICT="strip" DEPEND="app-arch/bzip2 @@ -48,9 +48,17 @@ src_install() { doexe libgcc_s.so.1 libstdc++.so.5 || die "doexe libs" doexe openurl.sh || die "openurl.sh" if use x86; then - doexe bin/Linux/x86/doom{,ded}.x86 || die "doexe x86 exes" + if use dedicated; then + doexe bin/Linux/x86/doom{,ded}.x86 || die "doexe x86 exes" + else + doexe bin/Linux/x86/doom.x86 || die "doexe x86 exes" + fi elif use amd64; then - doexe bin/Linux/amd64/doom{,ded}.x86 || die "doexe amd64 exes" + if use dedicated; then + doexe bin/Linux/amd64/doom{,ded}.x86 || die "doexe amd64 exes" + else + doexe bin/Linux/amd64/doom.x86 || die "doexe amd64 exes" + fi else die "Cannot copy executables!" fi @@ -58,7 +66,9 @@ src_install() { doins -r base d3xp pb || die "doins base d3xp pb" games_make_wrapper doom3 ./doom.x86 "${dir}" "${dir}" - games_make_wrapper doom3-ded ./doomded.x86 "${dir}" "${dir}" + if use dedicated; then + games_make_wrapper doom3-ded ./doomded.x86 "${dir}" "${dir}" + fi doicon ${DISTDIR}/doom3.png || die "Copying icon" |