diff options
author | Michael Sterrett <msterret@gentoo.org> | 2003-09-17 10:07:06 +0000 |
---|---|---|
committer | Michael Sterrett <msterret@gentoo.org> | 2003-09-17 10:07:06 +0000 |
commit | 95f52ad4c4e7a2d7dc477dea1a8d325bbdae683b (patch) | |
tree | d7a89058e299b0c1de7a7e1c26082e594755584e /games-emulation | |
parent | put fceultra-081-r1.ebuild back in for the default-1.0 folks. (bug 28321) (diff) | |
download | gentoo-2-95f52ad4c4e7a2d7dc477dea1a8d325bbdae683b.tar.gz gentoo-2-95f52ad4c4e7a2d7dc477dea1a8d325bbdae683b.tar.bz2 gentoo-2-95f52ad4c4e7a2d7dc477dea1a8d325bbdae683b.zip |
put fceultra-081-r1.ebuild back in for the default-1.0 folks. (bug 28321)
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/fceultra/ChangeLog | 7 | ||||
-rw-r--r-- | games-emulation/fceultra/Manifest | 4 | ||||
-rw-r--r-- | games-emulation/fceultra/fceultra-081-r1.ebuild | 55 | ||||
-rw-r--r-- | games-emulation/fceultra/files/digest-fceultra-081-r1 | 1 |
4 files changed, 64 insertions, 3 deletions
diff --git a/games-emulation/fceultra/ChangeLog b/games-emulation/fceultra/ChangeLog index 11cb07051bab..219afca52234 100644 --- a/games-emulation/fceultra/ChangeLog +++ b/games-emulation/fceultra/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-emulation/fceultra # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/ChangeLog,v 1.2 2003/09/10 16:00:23 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/ChangeLog,v 1.3 2003/09/17 10:07:04 msterret Exp $ + +*fceultra-081-r1 (17 Sep 2003) + + 17 Sep 2003; Michael Sterrett <msterret@gentoo.org> fceultra-081-r1.ebuild: + put fceultra-081-r1.ebuild back in for the default-1.0 folks. (bug 28321) 21 Jul 2003; Phil Bordelon <sunflare@gentoo.org> : Just a note that the patches vapier committed are from Jeff Balk diff --git a/games-emulation/fceultra/Manifest b/games-emulation/fceultra/Manifest index 3999e5ed2e84..58b50bdb6d04 100644 --- a/games-emulation/fceultra/Manifest +++ b/games-emulation/fceultra/Manifest @@ -1,7 +1,7 @@ -MD5 63805589dc8b3eb91fb8b0f7624148c0 ChangeLog 2225 +MD5 bd3f045ec6a016b5761b2b67f8d43fdd ChangeLog 2414 MD5 5307e6781a68daf1671ddcfdb9470d91 fceultra-093.ebuild 1331 MD5 198e541b52ed029e6a302840e9555b12 fceultra-096.ebuild 1419 -MD5 318524bad5253f4203d8bbdaaf24fd65 fceultra-081-r1.ebuild 1545 +MD5 59d5f30fd59c336f84df53ce330d501f fceultra-081-r1.ebuild 1536 MD5 637fe6dcdb2eddde6cc6d155954d6254 files/096-joystick.patch 2858 MD5 2bea99b602547c36b835f373214b1286 files/096-stereo.patch 2203 MD5 c3258fd9a3fa0ee6c568f626c992d4eb files/digest-fceultra-093 62 diff --git a/games-emulation/fceultra/fceultra-081-r1.ebuild b/games-emulation/fceultra/fceultra-081-r1.ebuild new file mode 100644 index 000000000000..d8133538c067 --- /dev/null +++ b/games-emulation/fceultra/fceultra-081-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/fceultra-081-r1.ebuild,v 1.1 2003/09/17 10:07:04 msterret Exp $ + +inherit gcc + +MY_P=fceu +S=${WORKDIR}/${MY_P} +DESCRIPTION="A portable NES/Famicom Emulator" +SRC_URI="http://fceultra.sourceforge.net/dev/${MY_P}${PV}src.tar.gz" +HOMEPAGE="http://fceultra.sourceforge.net/" + +SLOT="0" +KEYWORDS="x86 -ppc" +LICENSE="GPL-2" + +DEPEND="svga? ( media-libs/svgalib ) + sdl? ( media-libs/libsdl )" + +pkg_setup() { + if [ `gcc-major-version` == 3 ] && [ `gcc-minor-version` == 2 ] && [ ${ARCH} == "x86" ] ; then + eerror "Do not use gcc 3.2.x to compile the source code" + eerror "on 80x86/IA32 platforms. It has a code generation" + eerror "bug in it that will cause FCE Ultra to not work." + die "cant compile on x86 with gcc-3.2.x" + fi + + use sdl && return 0 + use svga && return 0 + + eerror "You must have 'sdl' or 'svga' in your USE variable" + die "unable to build SVGA or SDL versions" +} + +src_compile() { + mv Makefile.base Makefile.orig + sed -e "s:\${TFLAGS}:\${TFLAGS} ${CFLAGS}:" \ + Makefile.orig > Makefile.base + + if [ `use sdl` ] ; then + make -f Makefile.unixsdl || die "sdl make failed" + mv fceu fceu-sdl + make -f Makefile.unixsdl clean + fi + if [ `use svga` ] ; then + make -f Makefile.linuxvga || die "svga make failed" + mv fceu fceu-svga + fi +} + +src_install() { + use sdl && dobin fceu-sdl + use svga && dobin fceu-svga + dodoc Documentation/{*,rel/readme-linux.txt} +} diff --git a/games-emulation/fceultra/files/digest-fceultra-081-r1 b/games-emulation/fceultra/files/digest-fceultra-081-r1 new file mode 100644 index 000000000000..8722963963cc --- /dev/null +++ b/games-emulation/fceultra/files/digest-fceultra-081-r1 @@ -0,0 +1 @@ +MD5 1dcfc1199a2dad906ddb771f89f50ddf fceu081src.tar.gz 424700 |