diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-09-17 10:07:06 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-09-17 10:07:06 +0000 |
commit | de994e3561243db410e61f6b6f17020b896e06cf (patch) | |
tree | 1be83d6ace6d339203fcd7284e42996e6e735283 /games-emulation/fceultra | |
parent | put fceultra-081-r1.ebuild back in for the default-1.0 folks. (bug 28321) (diff) | |
download | historical-de994e3561243db410e61f6b6f17020b896e06cf.tar.gz historical-de994e3561243db410e61f6b6f17020b896e06cf.tar.bz2 historical-de994e3561243db410e61f6b6f17020b896e06cf.zip |
put fceultra-081-r1.ebuild back in for the default-1.0 folks. (bug 28321)
Diffstat (limited to 'games-emulation/fceultra')
-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 |
3 files changed, 58 insertions, 2 deletions
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 |