summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-03-15 17:43:55 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-03-15 17:43:55 +0000
commita85e3d5fb402a4ea91d6c4a885b08a431809c8cd (patch)
treee74f67d6ceb3b4d7e62eaf7929d7b00a1956f6df /games-emulation
parentVersion bump (diff)
downloadgentoo-2-a85e3d5fb402a4ea91d6c4a885b08a431809c8cd.tar.gz
gentoo-2-a85e3d5fb402a4ea91d6c4a885b08a431809c8cd.tar.bz2
gentoo-2-a85e3d5fb402a4ea91d6c4a885b08a431809c8cd.zip
version bump
(Portage version: 2.1.7.17/cvs/Linux i686)
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/fbzx/ChangeLog8
-rw-r--r--games-emulation/fbzx/fbzx-2.4.1.ebuild40
-rw-r--r--games-emulation/fbzx/files/fbzx-2.4.1-build.patch87
3 files changed, 134 insertions, 1 deletions
diff --git a/games-emulation/fbzx/ChangeLog b/games-emulation/fbzx/ChangeLog
index a58855440064..39c6da342c51 100644
--- a/games-emulation/fbzx/ChangeLog
+++ b/games-emulation/fbzx/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/fbzx
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/ChangeLog,v 1.21 2010/02/22 21:55:44 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/ChangeLog,v 1.22 2010/03/15 17:43:54 mr_bones_ Exp $
+
+*fbzx-2.4.1 (15 Mar 2010)
+
+ 15 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org> +fbzx-2.4.1.ebuild,
+ +files/fbzx-2.4.1-build.patch:
+ version bump
*fbzx-2.4.0 (22 Feb 2010)
diff --git a/games-emulation/fbzx/fbzx-2.4.1.ebuild b/games-emulation/fbzx/fbzx-2.4.1.ebuild
new file mode 100644
index 000000000000..973f27c0642e
--- /dev/null
+++ b/games-emulation/fbzx/fbzx-2.4.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fbzx/fbzx-2.4.1.ebuild,v 1.1 2010/03/15 17:43:54 mr_bones_ Exp $
+
+EAPI=2
+inherit eutils games
+
+DESCRIPTION="A Sinclair Spectrum emulator, designed to work at full screen using the FrameBuffer"
+HOMEPAGE="http://www.rastersoft.com/fbzx.html"
+SRC_URI="http://www.rastersoft.com/descargas/${P}.tar.bz2"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libsdl[video]
+ media-sound/pulseaudio
+ media-libs/alsa-lib"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e "s|/usr/share/|${GAMES_DATADIR}/${PN}/|g" \
+ emulator.c \
+ || die "sed failed"
+ epatch "${FILESDIR}"/${P}-build.patch
+ rm -f fbzx_fs fbzx *.o # clean out accidentally packaged .o files
+}
+
+src_install() {
+ dogamesbin fbzx || die "dogamesbin failed"
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins -r keymap.bmp spectrum-roms || die "doins failed"
+ dodoc AMSTRAD CAPABILITIES FAQ PORTING README* TODO VERSIONS
+ doicon fbzx.svg
+ make_desktop_entry fbzx FBZX
+ prepgamesdirs
+}
diff --git a/games-emulation/fbzx/files/fbzx-2.4.1-build.patch b/games-emulation/fbzx/files/fbzx-2.4.1-build.patch
new file mode 100644
index 000000000000..3002cdac6bda
--- /dev/null
+++ b/games-emulation/fbzx/files/fbzx-2.4.1-build.patch
@@ -0,0 +1,87 @@
+diff -ru fbzx-2.4.0.orig/Makefile fbzx-2.4.0/Makefile
+--- fbzx-2.4.0.orig/Makefile 2009-12-25 19:40:21.000000000 -0500
++++ fbzx-2.4.0/Makefile 2010-02-22 16:38:32.382511097 -0500
+@@ -1,9 +1,9 @@
+-CC = gcc -O2 -Wall -Wno-pointer-sign `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS
+-CCo = gcc `pkg-config --libs sdl libpulse-simple alsa`
++CFLAGS += `pkg-config --cflags sdl libpulse-simple alsa` -D D_SOUND_PULSE -D D_SOUND_ALSA -D D_SOUND_OSS
++LDFLAGS += `pkg-config --libs sdl libpulse-simple alsa`
+
+ fbzx: computer.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o emulator.o cargador.o characters.o menus.o sound.o tape.o spk_ay.o microdrive.o
+
+- $(CCo) -o fbzx computer.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o emulator.o cargador.o characters.o menus.o sound.o tape.o spk_ay.o microdrive.o
++ $(CC) -o fbzx computer.o Z80free.o Z80free_codes.o Z80free_codesCB.o Z80free_codesED.o Z80free_codesDD.o Z80free_codesFD.o Z80free_codesDDCB.o Z80free_codesFDCB.o emulator.o cargador.o characters.o menus.o sound.o tape.o spk_ay.o microdrive.o $(LDFLAGS)
+
+ clean:
+ rm fbzx *.o *~
+@@ -31,53 +31,53 @@
+ rm -rf /usr/local/share/spectrum-roms
+
+ spk_ay.o: spk_ay.c spk_ay.h emulator.h sound.h computer.h z80free/Z80free.h
+- $(CC) -c -o spk_ay.o spk_ay.c
++ $(CC) $(CFLAGS) -c -o spk_ay.o spk_ay.c
+
+ microdrive.o: microdrive.c microdrive.h z80free/Z80free.h computer.h emulator.h z80free/Z80free.h
+- $(CC) -c -o microdrive.o microdrive.c
++ $(CC) $(CFLAGS) -c -o microdrive.o microdrive.c
+
+ sound.o: sound.c sound.h computer.h emulator.h z80free/Z80free.h
+- $(CC) -c -o sound.o sound.c
++ $(CC) $(CFLAGS) -c -o sound.o sound.c
+
+ emulator.o: emulator.c z80free/Z80free.h computer.h emulator.h characters.h menus.h cargador.h sound.h tape.h microdrive.h
+- $(CC) -c -o emulator.o emulator.c
++ $(CC) $(CFLAGS) -c -o emulator.o emulator.c
+
+ computer.o: computer.c z80free/Z80free.h computer.h emulator.h characters.h menus.h cargador.h sound.h tape.h spk_ay.h microdrive.h
+- $(CC) -c -o computer.o computer.c
++ $(CC) $(CFLAGS) -c -o computer.o computer.c
+
+ tape.o: tape.c z80free/Z80free.h computer.h emulator.h menus.h tape.h computer.h
+- $(CC) -c -o tape.o tape.c
++ $(CC) $(CFLAGS) -c -o tape.o tape.c
+
+ cargador.o: cargador.c cargador.h computer.h emulator.h z80free/Z80free.h characters.h menus.h computer.h
+- $(CC) -c -o cargador.o cargador.c
++ $(CC) $(CFLAGS) -c -o cargador.o cargador.c
+
+ characters.o: characters.c characters.h emulator.h computer.h
+- $(CC) -c -o characters.o characters.c
++ $(CC) $(CFLAGS) -c -o characters.o characters.c
+
+ menus.o: menus.c menus.h characters.h computer.h emulator.h z80free/Z80free.h cargador.h tape.h
+- $(CC) -c -o menus.o menus.c
++ $(CC) $(CFLAGS) -c -o menus.o menus.c
+
+ Z80free.o: z80free/Z80free.c z80free/Z80free.h
+- $(CC) -c -o Z80free.o z80free/Z80free.c
++ $(CC) $(CFLAGS) -c -o Z80free.o z80free/Z80free.c
+
+ Z80free_codes.o: z80free/Z80free_codes.c z80free/Z80free.h
+- $(CC) -c -o Z80free_codes.o z80free/Z80free_codes.c
++ $(CC) $(CFLAGS) -c -o Z80free_codes.o z80free/Z80free_codes.c
+
+ Z80free_codesCB.o: z80free/Z80free_codesCB.c z80free/Z80free.h
+- $(CC) -c -o Z80free_codesCB.o z80free/Z80free_codesCB.c
++ $(CC) $(CFLAGS) -c -o Z80free_codesCB.o z80free/Z80free_codesCB.c
+
+ Z80free_codesED.o: z80free/Z80free_codesED.c z80free/Z80free.h
+- $(CC) -c -o Z80free_codesED.o z80free/Z80free_codesED.c
++ $(CC) $(CFLAGS) -c -o Z80free_codesED.o z80free/Z80free_codesED.c
+
+ Z80free_codesDD.o: z80free/Z80free_codesDD.c z80free/Z80free.h
+- $(CC) -c -o Z80free_codesDD.o z80free/Z80free_codesDD.c
++ $(CC) $(CFLAGS) -c -o Z80free_codesDD.o z80free/Z80free_codesDD.c
+
+ Z80free_codesFD.o: z80free/Z80free_codesFD.c z80free/Z80free.h
+- $(CC) -c -o Z80free_codesFD.o z80free/Z80free_codesFD.c
++ $(CC) $(CFLAGS) -c -o Z80free_codesFD.o z80free/Z80free_codesFD.c
+
+ Z80free_codesDDCB.o: z80free/Z80free_codesDDCB.c z80free/Z80free.h
+- $(CC) -c -o Z80free_codesDDCB.o z80free/Z80free_codesDDCB.c
++ $(CC) $(CFLAGS) -c -o Z80free_codesDDCB.o z80free/Z80free_codesDDCB.c
+
+ Z80free_codesFDCB.o: z80free/Z80free_codesFDCB.c z80free/Z80free.h
+- $(CC) -c -o Z80free_codesFDCB.o z80free/Z80free_codesFDCB.c
++ $(CC) $(CFLAGS) -c -o Z80free_codesFDCB.o z80free/Z80free_codesFDCB.c
+