diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-12-05 02:35:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-12-05 02:35:48 +0000 |
commit | 9a452445e803968680da53ff2c0fc81c69d8072a (patch) | |
tree | ad034689358bb199b211eb686ea4d82e33b0fef1 | |
parent | added ~ppc (diff) | |
download | historical-9a452445e803968680da53ff2c0fc81c69d8072a.tar.gz historical-9a452445e803968680da53ff2c0fc81c69d8072a.tar.bz2 historical-9a452445e803968680da53ff2c0fc81c69d8072a.zip |
version bump
-rw-r--r-- | games-emulation/snes9x/ChangeLog | 7 | ||||
-rw-r--r-- | games-emulation/snes9x/files/1.42-system-zlib.patch | 57 | ||||
-rw-r--r-- | games-emulation/snes9x/files/digest-snes9x-1.42 | 1 | ||||
-rw-r--r-- | games-emulation/snes9x/snes9x-1.42.ebuild | 71 |
4 files changed, 135 insertions, 1 deletions
diff --git a/games-emulation/snes9x/ChangeLog b/games-emulation/snes9x/ChangeLog index ec208ef2906d..9e13117a6413 100644 --- a/games-emulation/snes9x/ChangeLog +++ b/games-emulation/snes9x/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for games-emulation/snes9x # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.3 2003/10/03 20:48:05 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/ChangeLog,v 1.4 2003/12/05 02:35:47 vapier Exp $ + +*snes9x-1.42 (04 Dec 2003) + + 04 Dec 2003; Mike Frysinger <vapier@gentoo.org> : + More version bumpage. *snes9x-1.41.1 (03 Oct 2003) diff --git a/games-emulation/snes9x/files/1.42-system-zlib.patch b/games-emulation/snes9x/files/1.42-system-zlib.patch new file mode 100644 index 000000000000..62703d8b153b --- /dev/null +++ b/games-emulation/snes9x/files/1.42-system-zlib.patch @@ -0,0 +1,57 @@ +--- Makefile.in.orig 2003-08-13 00:44:11.999413120 -0400 ++++ Makefile.in 2003-08-13 00:44:57.784452736 -0400 +@@ -74,8 +74,6 @@ + CHEATS.O cheats2.o data.o unix/unix.o unix/config.o GLOBALS.O \ + $(SPC7110OBJ) $(OBC1OBJ) $(SETAOBJ) $(KREEDOBJ) + +-OBJECTS += ../zlib/libz.a +- + ifdef GUI + GUIOBJS = unix/snes9x_gui.o unix/moc_snes9x_gui.o + GUILIBS = -L$(QTDIR)/lib -lqt +@@ -132,7 +130,7 @@ + CC = @CC@ + NASM = @NASM@ + +-INCLUDES = -I../zlib @XINCLUDES@ ++INCLUDES = @XINCLUDES@ + + OPTIMISE = @OPTIMIZE@ + +@@ -170,7 +168,7 @@ + CFLAGS=$(CCFLAGS) + + .SUFFIXES: .o .cpp .c .cc .h .m .i .S .asm .obj .O .CPP .C .ASM +-LDLIBS = -L/usr/X11R6/lib -L../zlib ++LDLIBS = -L/usr/X11R6/lib + + ifdef GLIDE + all: offsets gsnes9x +@@ -206,22 +204,19 @@ + $(CCC) $(INCLUDES) -o $@ offsets.o + ./offsets >i386/offsets.h + +-../zlib/libz.a: +- cd ../zlib && sh ./configure && make +- +-snes9x: $(OBJECTS) ../zlib/libz.a unix/x11.o $(AIDOOBJS) $(GUIOBJS) ++snes9x: $(OBJECTS) unix/x11.o $(AIDOOBJS) $(GUIOBJS) + $(CCC) $(INCLUDES) -o $@ $(OBJECTS) $(AIDOOBJS) $(GLIDEOBJS) $(OPENGLOBJS) unix/x11.o $(GUIOBJS) $(LDLIBS) $(GLIDELIBS) $(OPENGLLIBS) $(GUILIBS) @SYSLIBS@ -lXext -lX11 $(EXTRALIBS) -lz -lm + +-ssnes9x: $(OBJECTS) ../zlib/libz.a unix/svga.o ++ssnes9x: $(OBJECTS) unix/svga.o + $(CCC) $(INCLUDES) -o $@ $(OBJECTS) $(GLIDEOBJS) unix/svga.o $(LDLIBS) $(GLIDELIBS) -lvga -lvgagl -lz $(EXTRALIBS) -lm + +-gsnes9x: $(OBJECTS) ../zlib/libz.a $(GLIDEOBJS) ++gsnes9x: $(OBJECTS) $(GLIDEOBJS) + $(CCC) $(INCLUDES) -o $@ $(OBJECTS) $(GLIDEOBJS) $(LDLIBS) -lglide -lz $(EXTRALIBS) -lm + +-ggisnes9x: $(OBJECTS) ../zlib/libz.a unix/ggi.o ++ggisnes9x: $(OBJECTS) unix/ggi.o + $(CCC) $(INCLUDES) -o $@ $(OBJECTS) unix/ggi.o $(LDLIBS) -lggi -lz $(EXTRALIBS) -lm + +-osnes9x: $(OBJECTS) ../zlib/libz.a unix/x11.o $(OPENGLOBJS) ++osnes9x: $(OBJECTS) unix/x11.o $(OPENGLOBJS) + $(CCC) $(INCLUDES) -o $@ $(OBJECTS) unix/x11.o $(OPENGLOBJS) $(LDLIBS) $(OPENGLLIBS) @SYSLIBS@ -lXext -lX11 $(EXTRALIBS) -lz -lm + + s9xserver: $(SERVER_OBJECTS) diff --git a/games-emulation/snes9x/files/digest-snes9x-1.42 b/games-emulation/snes9x/files/digest-snes9x-1.42 new file mode 100644 index 000000000000..82c4c2809c48 --- /dev/null +++ b/games-emulation/snes9x/files/digest-snes9x-1.42 @@ -0,0 +1 @@ +MD5 1e8af4c590e35352ddac58d25a468676 snes9x-1.42-src.tar.gz 945282 diff --git a/games-emulation/snes9x/snes9x-1.42.ebuild b/games-emulation/snes9x/snes9x-1.42.ebuild new file mode 100644 index 000000000000..493074cc998c --- /dev/null +++ b/games-emulation/snes9x/snes9x-1.42.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/snes9x/snes9x-1.42.ebuild,v 1.1 2003/12/05 02:35:48 vapier Exp $ + +inherit games + +DESCRIPTION="Super Nintendo Entertainment System (SNES) emulator" +HOMEPAGE="http://www.snes9x.com/" +SRC_URI="http://www.lysator.liu.se/snes9x/${PV}/snes9x-${PV}-src.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86 ~ppc" +IUSE="3dfx opengl X" # svga ggi + +RDEPEND="sys-libs/zlib + virtual/x11 + opengl? ( virtual/opengl ) + 3dfx? ( media-libs/glide-v3 )" +# X? ( virtual/x11 ) +# svga? ( media-libs/svgalib ) +# ggi? ( media-libs/libggi ) +DEPEND="${RDEPEND} + x86? ( dev-lang/nasm )" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A} + cd ${S}/snes9x + epatch ${FILESDIR}/${PV}-system-zlib.patch +} + +src_compile() { + mkdir mybins + cd snes9x + local vidconf= + local target= + for vid in 3dfx opengl X ; do + [ `use ${vid}` ] || continue + case ${vid} in + 3dfx) + vidconf="--with-glide --without-opengl --without-x" + target=gsnes9x;; + opengl) + vidconf="--with-opengl --without-glide --without-x" + target=osnes9x;; + X) + vidconf="--with-x --without-glide --without-opengl" + target=snes9x;; + esac + # this stuff is ugly but hey the build process sucks ;) + egamesconf \ + `use_with joystick` \ + ${vidconf} \ + `use_with x86 assembler` \ + || die + emake ${target} || die "making ${target}" + mv ${target} ${S}/mybins/ + cd ${WORKDIR} + rm -rf ${S}/snes9x + src_unpack + cd ${S}/snes9x + done +} + +src_install() { + dogamesbin mybins/* + dodoc faqs.txt readme.txt readme.unix snes9x/*.txt + prepgamesdirs +} |