diff options
author | 2005-04-01 16:35:05 +0000 | |
---|---|---|
committer | 2005-04-01 16:35:05 +0000 | |
commit | 02111f1893ad5b74aa1b664d2cf0b043b676cbbe (patch) | |
tree | 45078a00804d7ff306e0ea5298dcc86faddf43be /games-emulation/xmame | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-02111f1893ad5b74aa1b664d2cf0b043b676cbbe.tar.gz gentoo-2-02111f1893ad5b74aa1b664d2cf0b043b676cbbe.tar.bz2 gentoo-2-02111f1893ad5b74aa1b664d2cf0b043b676cbbe.zip |
add lirc support (bug #87501); tidy
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-emulation/xmame')
-rw-r--r-- | games-emulation/xmame/ChangeLog | 5 | ||||
-rw-r--r-- | games-emulation/xmame/xmame-0.95.ebuild | 25 |
2 files changed, 18 insertions, 12 deletions
diff --git a/games-emulation/xmame/ChangeLog b/games-emulation/xmame/ChangeLog index 9485feef5df0..03e82778fb58 100644 --- a/games-emulation/xmame/ChangeLog +++ b/games-emulation/xmame/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-emulation/xmame # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/ChangeLog,v 1.37 2005/03/31 04:35:28 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/ChangeLog,v 1.38 2005/04/01 16:35:05 mr_bones_ Exp $ + + 01 Apr 2005; Michael Sterrett <mr_bones_@gentoo.org> xmame-0.95.ebuild: + add lirc support (bug #87501); tidy *xmame-0.95 (30 Mar 2005) diff --git a/games-emulation/xmame/xmame-0.95.ebuild b/games-emulation/xmame/xmame-0.95.ebuild index 1bbd6af33195..b83f96b0129b 100644 --- a/games-emulation/xmame/xmame-0.95.ebuild +++ b/games-emulation/xmame/xmame-0.95.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/xmame-0.95.ebuild,v 1.1 2005/03/31 04:35:28 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/xmame/xmame-0.95.ebuild,v 1.2 2005/04/01 16:35:05 mr_bones_ Exp $ inherit flag-o-matic gcc eutils games @@ -13,29 +13,30 @@ SRC_URI="http://x.mame.net/download/xmame-${PV}.tar.bz2" LICENSE="xmame" SLOT="0" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc ~x86" -IUSE="3dfx alsa arts dga esd expat ggi joystick mmx net opengl sdl svga X xv" +IUSE="alsa arts dga esd expat ggi joystick lirc mmx net opengl sdl svga X xv" RDEPEND="sys-libs/zlib - sdl? ( >=media-libs/libsdl-1.2.0 ) alsa? ( media-libs/alsa-lib ) - xv? ( virtual/x11 ) + arts? ( kde-base/arts ) dga? ( virtual/x11 ) - X? ( virtual/x11 ) + esd? ( >=media-sound/esound-0.2.29 ) + expat? ( dev-libs/expat ) + ggi? ( media-libs/libggi ) + lirc? ( app-misc/lirc ) opengl? ( virtual/x11 virtual/opengl virtual/glu ) - expat? ( dev-libs/expat ) - esd? ( >=media-sound/esound-0.2.29 ) + sdl? ( >=media-libs/libsdl-1.2.0 ) svga? ( media-libs/svgalib ) - ggi? ( media-libs/libggi ) - arts? ( kde-base/arts )" + X? ( virtual/x11 ) + xv? ( virtual/x11 )" DEPEND="${RDEPEND} x86? ( dev-lang/nasm )" # Icc sucks. bug #41342 # icc? ( dev-lang/icc ) -S="${WORKDIR}/xmame-${PV}" +S=${WORKDIR}/xmame-${PV} toggle_feature() { if use $1 ; then @@ -44,6 +45,7 @@ toggle_feature() { || die "sed Makefile ($1 / $2) failed" fi } + toggle_feature2() { use $1 && toggle_feature $2 $3 } @@ -96,12 +98,13 @@ src_unpack() { toggle_feature xv X11_XV toggle_feature expat BUILD_EXPAT toggle_feature opengl X11_OPENGL + toggle_feature lirc LIRC case ${ARCH} in x86|ia64|amd64) append-flags -Wno-unused -fomit-frame-pointer -fstrict-aliasing -fstrength-reduce use amd64 || append-flags -ffast-math #54270 - [ $(gcc-major-version) -eq 3 ] \ + [[ $(gcc-major-version) -eq 3 ]] \ && append-flags -falign-functions=2 -falign-jumps=2 -falign-loops=2 \ || append-flags -malign-functions=2 -malign-jumps=2 -malign-loops=2 ;; |