summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/fceultra')
-rw-r--r--games-emulation/fceultra/ChangeLog8
-rw-r--r--games-emulation/fceultra/Manifest4
-rw-r--r--games-emulation/fceultra/fceultra-0.81-r1.ebuild55
-rw-r--r--games-emulation/fceultra/files/digest-fceultra-0.81-r11
4 files changed, 66 insertions, 2 deletions
diff --git a/games-emulation/fceultra/ChangeLog b/games-emulation/fceultra/ChangeLog
index 9f722c4ecd8e..8c00012f5dd8 100644
--- a/games-emulation/fceultra/ChangeLog
+++ b/games-emulation/fceultra/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/fceultra
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/ChangeLog,v 1.8 2004/06/05 07:36:48 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/ChangeLog,v 1.9 2004/06/06 03:28:25 mr_bones_ Exp $
+
+*fceultra-0.81-r1 (05 Jun 2004)
+
+ 05 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org>
+ fceultra-0.81-r1.ebuild:
+ resurrect the 0.81 version for gcc 2 systems
*fceultra-0.93 (05 Jun 2004)
diff --git a/games-emulation/fceultra/Manifest b/games-emulation/fceultra/Manifest
index a27b1695888d..97f8b722d3b2 100644
--- a/games-emulation/fceultra/Manifest
+++ b/games-emulation/fceultra/Manifest
@@ -1,7 +1,9 @@
-MD5 afd19c921f53107d2e157a2448fa42c7 ChangeLog 3207
+MD5 5ffa1f2069fc5bc04efa0cbc98f12953 ChangeLog 3370
MD5 51cabd92be991a8f808008240ab8cd03 fceultra-0.97.5.ebuild 2102
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
MD5 4b030bdd0138eff8fc7ab7ddc1ef7e62 fceultra-0.98.10.ebuild 1190
+MD5 2422bba413fc8a6b6f632f1ca8e38435 fceultra-0.81-r1.ebuild 1540
+MD5 989c1ea4e153af3a92e18611f719f4aa files/digest-fceultra-0.81-r1 62
MD5 ef07ca0ea89b4e4911e5d579502d2fa4 files/digest-fceultra-0.97.5 67
MD5 637fe6dcdb2eddde6cc6d155954d6254 files/0.97.5-joystick.patch 2858
MD5 597c9ec9c749aa9556e2385062f94e40 files/digest-fceultra-0.98.10 69
diff --git a/games-emulation/fceultra/fceultra-0.81-r1.ebuild b/games-emulation/fceultra/fceultra-0.81-r1.ebuild
new file mode 100644
index 000000000000..6c09a3e50c60
--- /dev/null
+++ b/games-emulation/fceultra/fceultra-0.81-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fceultra/fceultra-0.81-r1.ebuild,v 1.5 2004/06/06 03:28:25 mr_bones_ Exp $
+
+inherit gcc
+
+MY_P=fceu
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="A portable NES/Famicom Emulator"
+HOMEPAGE="http://fceultra.sourceforge.net/"
+SRC_URI="http://fceultra.sourceforge.net/dev/${MY_P}${PV//.}src.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 -ppc"
+
+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-0.81-r1 b/games-emulation/fceultra/files/digest-fceultra-0.81-r1
new file mode 100644
index 000000000000..8722963963cc
--- /dev/null
+++ b/games-emulation/fceultra/files/digest-fceultra-0.81-r1
@@ -0,0 +1 @@
+MD5 1dcfc1199a2dad906ddb771f89f50ddf fceu081src.tar.gz 424700