diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-12-08 14:27:23 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-12-08 14:27:23 +0000 |
commit | 49445bc4f3a0ea6018f31809dde3f9d4fb76069f (patch) | |
tree | 03568f51f660508ceee9fcb3deb1bb1469393f01 /games-fps | |
parent | ppc stable to fix bug #73239 (Manifest recommit) (diff) | |
download | gentoo-2-49445bc4f3a0ea6018f31809dde3f9d4fb76069f.tar.gz gentoo-2-49445bc4f3a0ea6018f31809dde3f9d4fb76069f.tar.bz2 gentoo-2-49445bc4f3a0ea6018f31809dde3f9d4fb76069f.zip |
Use aoss32 on amd64 if they are using alsa. Thanks to SR-71 for finding this bug.
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/enemy-territory/ChangeLog | 7 | ||||
-rw-r--r-- | games-fps/enemy-territory/enemy-territory-2.56-r2.ebuild | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/games-fps/enemy-territory/ChangeLog b/games-fps/enemy-territory/ChangeLog index 9da73e4ce301..030ec15a5343 100644 --- a/games-fps/enemy-territory/ChangeLog +++ b/games-fps/enemy-territory/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-fps/enemy-territory # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/ChangeLog,v 1.16 2004/11/17 18:56:56 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/ChangeLog,v 1.17 2004/12/08 14:27:23 eradicator Exp $ + + 08 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org> + enemy-territory-2.56-r2.ebuild: + Use aoss32 on amd64 if they are using alsa. Thanks to SR-71 for finding + this bug. 17 Nov 2004; Chris Gianelloni <wolf31o2@gentoo.org> enemy-territory-2.56-r2.ebuild: diff --git a/games-fps/enemy-territory/enemy-territory-2.56-r2.ebuild b/games-fps/enemy-territory/enemy-territory-2.56-r2.ebuild index 584b6bf6a4de..97b2b79f309d 100644 --- a/games-fps/enemy-territory/enemy-territory-2.56-r2.ebuild +++ b/games-fps/enemy-territory/enemy-territory-2.56-r2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/enemy-territory-2.56-r2.ebuild,v 1.11 2004/11/17 18:56:56 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/enemy-territory/enemy-territory-2.56-r2.ebuild,v 1.12 2004/12/08 14:27:23 eradicator Exp $ + +IUSE="dedicated opengl alsa" inherit games @@ -12,14 +14,13 @@ SRC_URI="mirror://3dgamers/pub/3dgamers4/games/wolfensteinet/et-linux-${PV}-2.x8 LICENSE="RTCW-ETEULA" SLOT="0" KEYWORDS="x86 amd64" -IUSE="dedicated opengl" RESTRICT="nomirror nostrip" DEPEND="virtual/libc" RDEPEND="dedicated? ( app-misc/screen ) !dedicated? ( virtual/opengl ) opengl? ( virtual/opengl ) - amd64? ( app-emulation/emul-linux-x86-xlibs )" + amd64? ( >=app-emulation/emul-linux-x86-xlibs-1.0-r1 )" S="${WORKDIR}" dir="${GAMES_PREFIX_OPT}/${PN}" @@ -46,6 +47,11 @@ src_install() { dogamesbin "${FILESDIR}/et" || die "dogamesbin failed" dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/et + + if use amd64 && use alsa; then + dosed 's:exec:aoss32 exec:' ${GAMES_BINDIR}/et + fi + if use dedicated ; then dogamesbin "${FILESDIR}/et-ded" || die "dogamesbin failed" dosed "s:GENTOO_DIR:${dir}:" "${GAMES_BINDIR}/et-ded" |