diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-22 16:48:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-22 16:48:38 +0000 |
commit | 508e839baea9d32a5df736fa7a92740bfc2dab4c (patch) | |
tree | 1b51dd51d942bb2c5ec5506001dadcb9dccfaca0 /app-emulation | |
parent | version bump #11024 (diff) | |
download | historical-508e839baea9d32a5df736fa7a92740bfc2dab4c.tar.gz historical-508e839baea9d32a5df736fa7a92740bfc2dab4c.tar.bz2 historical-508e839baea9d32a5df736fa7a92740bfc2dab4c.zip |
added sdl support #11089
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/fceultra/ChangeLog | 7 | ||||
-rw-r--r-- | app-emulation/fceultra/fceultra-081-r1.ebuild | 46 | ||||
-rw-r--r-- | app-emulation/fceultra/files/digest-fceultra-081-r1 | 1 |
3 files changed, 53 insertions, 1 deletions
diff --git a/app-emulation/fceultra/ChangeLog b/app-emulation/fceultra/ChangeLog index c09c721b3a98..92387d4b1d01 100644 --- a/app-emulation/fceultra/ChangeLog +++ b/app-emulation/fceultra/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-emulation/fceultra # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/app-emulation/fceultra/ChangeLog,v 1.6 2002/11/21 16:53:35 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emulation/fceultra/ChangeLog,v 1.7 2002/11/22 16:48:15 vapier Exp $ + +*fceultra-081-r1 (22 Nov 2002) + + 22 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Added support for sdl version #11089 *fceultra-081 (21 Nov 2002) diff --git a/app-emulation/fceultra/fceultra-081-r1.ebuild b/app-emulation/fceultra/fceultra-081-r1.ebuild new file mode 100644 index 000000000000..f9cd089fc8c1 --- /dev/null +++ b/app-emulation/fceultra/fceultra-081-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-emulation/fceultra/fceultra-081-r1.ebuild,v 1.1 2002/11/22 16:48:38 vapier Exp $ + +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() { + 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/app-emulation/fceultra/files/digest-fceultra-081-r1 b/app-emulation/fceultra/files/digest-fceultra-081-r1 new file mode 100644 index 000000000000..8722963963cc --- /dev/null +++ b/app-emulation/fceultra/files/digest-fceultra-081-r1 @@ -0,0 +1 @@ +MD5 1dcfc1199a2dad906ddb771f89f50ddf fceu081src.tar.gz 424700 |