summaryrefslogtreecommitdiff
path: root/packages/xmame
diff options
context:
space:
mode:
authorFrederic Bompart <frederic@unknown.openembedded.org>2006-04-16 10:34:18 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-16 10:34:18 +0000
commite881bc5fc39c6bc25598376b175bf2fb75e1d2f8 (patch)
treef77c6791e682099524250f4efbf5aed8b3190bf1 /packages/xmame
parent4e23387474d6c950cd5bf9445e0b1f3e56ed4c25 (diff)
xmame: fix URIs, add 0.100 and xmame-tiny
Diffstat (limited to 'packages/xmame')
-rw-r--r--packages/xmame/files/.mtn2git_empty0
-rw-r--r--packages/xmame/files/tiny.mak127
-rw-r--r--packages/xmame/xmame-tiny_0.100.bb9
-rw-r--r--packages/xmame/xmame_0.100.bb24
-rw-r--r--packages/xmame/xmame_0.86.bb6
-rw-r--r--packages/xmame/xmame_0.87.bb6
-rw-r--r--packages/xmame/xmame_0.95.bb2
7 files changed, 167 insertions, 7 deletions
diff --git a/packages/xmame/files/.mtn2git_empty b/packages/xmame/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xmame/files/.mtn2git_empty
diff --git a/packages/xmame/files/tiny.mak b/packages/xmame/files/tiny.mak
new file mode 100644
index 0000000000..d195a98a94
--- /dev/null
+++ b/packages/xmame/files/tiny.mak
@@ -0,0 +1,127 @@
+# a tiny compile is without Neogeo games
+
+ASTEROID=1
+#TEMPEST=1
+GALAGA=1
+CENTIPED=1
+#JOUST=1
+
+## all games, obtained by :
+# nm xmame.x11 | fgrep " driver_"|awk '{print $3}' |sed -e s/driver_// > allgames
+## list all clones:
+# ./xmame.x11 -listclones|awk '{print $1}'|sort |uniq > allclones
+# sed `cat allclones |sed -e 's/^/-e s@^/' -e 's/$/$@@/'` < allgames > allbutclones
+
+GAMES = 4in1 8ball 8ballact ad2083 alibaba amidar anteater armorcar atlantis azurian bagman bigbucks blkhole bongo botanic bwcasino calipso cannonb catapult cavelon cavenger cclimber checkman chewing ckong conquer cosmos crush darkplnt darkwar dazzler dealer devilfsh diggerc dingo dingoe dkong dkong3 dkongjr dorodon drakton dremshpr drivfrcp eggor eyes frogger galaxian gmgalax goldbug guzzler harem heartatk hero hotshock hunchbak huncholy hustler igmo jumpbug jumpshot kingball ladybug levers lizwiz logger losttomb luctoday mariner mario mars megadon mimonkey minefld moonal2 mooncrst moonqsr moonwar mrkougar mrtnt mshuttle mspacman newsin7 nmouse orbitron ozon1 pacplus phoenix pickin pisces pleiads ponpoko porky puckman racknrol radarscp radarzon raiders redclash redufo rescue revenger rockclim rocktrv2 rpatrolb sbagman scobra scorpion scramble sfx shootbul shootgal skybase snapjack spacefrt spcfrcii spclforc spdcoin sraider stratgyx streakng strtheat superbik superbon suprglob survival swimmer tazmania theend triplep trvchlng turtles uniwars vanvan wallst warofbug woodpek zerohour zigzag
+
+comma:= ,
+empty:=
+space:= $(empty) $(empty)
+COREDEFS += -DTINY_NAME="$(subst $(space),$(comma),$(patsubst %,driver_%,$(GAMES)))"
+COREDEFS += -DTINY_POINTER="$(subst $(space),$(comma),$(patsubst %,&driver_%,$(GAMES)))"
+
+# uses these CPUs
+CPUS+=Z80@
+CPUS+=8085A@
+CPUS+=M6502@
+CPUS+=N2A03@
+CPUS+=I8035@
+CPUS+=I8039@
+CPUS+=S2650@
+
+# uses these SOUNDs
+SOUNDS+=DAC@
+SOUNDS+=SAMPLES@
+SOUNDS+=CUSTOM@
+
+# basic set: pacman + dkong + galaxian + mario ...
+SOUNDS+=AY8910@
+SOUNDS+=NAMCO@
+SOUNDS+=SN76496@
+SOUNDS+=TMS5110@
+SOUNDS+=NES@
+SOUNDS+=TMS36XX@
+SOUNDS+=DISCRETE@
+OBJS = \
+ $(OBJ)/vidhrdw/pacman.o $(OBJ)/drivers/pacman.o \
+ $(OBJ)/machine/mspacman.o $(OBJ)/machine/pacplus.o \
+ $(OBJ)/machine/jumpshot.o $(OBJ)/machine/theglobp.o \
+ $(OBJ)/machine/acitya.o \
+ $(OBJ)/drivers/epos.o $(OBJ)/vidhrdw/epos.o \
+ $(OBJ)/vidhrdw/dkong.o $(OBJ)/sndhrdw/dkong.o $(OBJ)/drivers/dkong.o \
+ $(OBJ)/machine/strtheat.o $(OBJ)/machine/drakton.o \
+ $(OBJ)/machine/scramble.o $(OBJ)/sndhrdw/scramble.o $(OBJ)/drivers/scramble.o \
+ $(OBJ)/drivers/frogger.o \
+ $(OBJ)/drivers/scobra.o \
+ $(OBJ)/drivers/amidar.o \
+ $(OBJ)/vidhrdw/galaxian.o $(OBJ)/sndhrdw/galaxian.o $(OBJ)/drivers/galaxian.o \
+ $(OBJ)/vidhrdw/cclimber.o $(OBJ)/sndhrdw/cclimber.o $(OBJ)/drivers/cclimber.o \
+ $(OBJ)/drivers/cvs.o $(OBJ)/vidhrdw/cvs.o $(OBJ)/vidhrdw/s2636.o \
+ $(OBJ)/vidhrdw/mario.o $(OBJ)/sndhrdw/mario.o $(OBJ)/drivers/mario.o \
+ $(OBJ)/machine/bagman.o $(OBJ)/vidhrdw/bagman.o $(OBJ)/drivers/bagman.o \
+ $(OBJ)/vidhrdw/phoenix.o $(OBJ)/sndhrdw/phoenix.o $(OBJ)/drivers/phoenix.o \
+ $(OBJ)/sndhrdw/pleiads.o \
+ $(OBJ)/vidhrdw/ladybug.o $(OBJ)/drivers/ladybug.o \
+ $(OBJ)/vidhrdw/redclash.o $(OBJ)/drivers/redclash.o \
+ $(OBJ)/machine/8255ppi.o $(OBJ)/machine/7474.o \
+ $(OBJ)/vidhrdw/res_net.o \
+
+ifdef ASTEROID
+GAMES += astdelux asteroid llander
+SOUNDS+=POKEY@
+OBJS += \
+ $(OBJ)/machine/atari_vg.o \
+ $(OBJ)/machine/asteroid.o $(OBJ)/sndhrdw/asteroid.o \
+ $(OBJ)/sndhrdw/llander.o $(OBJ)/drivers/asteroid.o \
+ $(OBJ)/vidhrdw/avgdvg.o \
+
+ifdef TEMPEST
+GAMES += esb starwars tempest
+SOUNDS+=TMS5220@
+OBJS += \
+ $(OBJ)/machine/mathbox.o \
+ $(OBJ)/drivers/tempest.o \
+ $(OBJ)/machine/starwars.o \
+ $(OBJ)/drivers/starwars.o $(OBJ)/sndhrdw/starwars.o \
+ $(OBJ)/machine/slapstic.o \
+
+endif
+endif
+
+ifdef GALAGA
+GAMES += bosco digdug galaga xevious
+SOUNDS+=NAMCO_52XX@
+SOUNDS+=NAMCO_54XX@
+OBJS += \
+ $(OBJ)/vidhrdw/bosco.o \
+ $(OBJ)/vidhrdw/galaga.o $(OBJ)/drivers/galaga.o \
+ $(OBJ)/vidhrdw/digdug.o \
+ $(OBJ)/vidhrdw/xevious.o $(OBJ)/machine/xevious.o \
+ $(OBJ)/machine/namcoio.o \
+
+endif
+
+ifdef CENTIPED
+GAMES += bullsdrt centiped milliped warlords
+OBJS += \
+ $(OBJ)/vidhrdw/centiped.o $(OBJ)/drivers/centiped.o \
+ $(OBJ)/machine/random.o \
+
+endif
+
+ifdef JOUST
+GAMES += blaster bubbles colony7 defender inferno jin joust joust2 lottofun mayday mysticm playball robotron sinistar spdball splat stargate tshoot
+CPUS+=M6809@
+CPUS+=M6808@
+SOUNDS+=YM2151@
+SOUNDS+=HC55516@
+SOUNDS+=OKIM6295@
+OBJS += \
+ $(OBJ)/machine/williams.o $(OBJ)/vidhrdw/williams.o $(OBJ)/sndhrdw/williams.o $(OBJ)/drivers/williams.o \
+ $(OBJ)/machine/6821pia.o \
+ $(OBJ)/machine/ticket.o \
+
+endif
+
+# MAME specific core objs
+COREOBJS += $(OBJ)/tiny.o $(OBJ)/cheat.o
diff --git a/packages/xmame/xmame-tiny_0.100.bb b/packages/xmame/xmame-tiny_0.100.bb
new file mode 100644
index 0000000000..0aa85533b3
--- /dev/null
+++ b/packages/xmame/xmame-tiny_0.100.bb
@@ -0,0 +1,9 @@
+include xmame_${PV}.bb
+
+DESCRIPTION = "Multiple Arcade Machine Emulator based on SDL (tiny version)"
+TINY = 1
+SRC_URI += " file://tiny.mak"
+
+do_compile_prepend () {
+ cp ${WORKDIR}/tiny.mak ${S}/src/mame.mak
+}
diff --git a/packages/xmame/xmame_0.100.bb b/packages/xmame/xmame_0.100.bb
new file mode 100644
index 0000000000..34090d33a8
--- /dev/null
+++ b/packages/xmame/xmame_0.100.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Multiple Arcade Machine Emulator based on SDL"
+LICENSE = "xmame"
+SECTION = "games"
+PRIORITY = "optional"
+DEPENDS = "expat virtual/libsdl libsdl-mixer"
+
+SRC_URI = "http://x.mame.net/download/historic/xmame-${PV}.tar.bz2 file://tiny.mak"
+S = "${WORKDIR}/xmame-${PV}"
+
+inherit flow-lossage
+
+do_compile() {
+ test -z "${TINY}" && oe_runmake TARGET="mame" CC="${BUILD_CC}" maketree xmame.obj/cpu/m68000/m68kmake
+ oe_runmake TARGET="mame" JOY_SDL=1 SOUND_SDL=1 DISPLAY_METHOD=SDL \
+ CC="${CC}" CXX="${CXX}" CFLAGS="-I. -Isrc -Isrc/include -Isrc/unix ${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" LD="${CC}" LDFLAGS="${LDFLAGS}" \
+ RANLIB="${RANLIB}" MY_CPU="${TARGET_ARCH}" ARCH="${TARGET_OS}" \
+ GLLIBS="" STRIP="${STRIP}" AR="${AR}"
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 xmame.SDL ${D}${bindir}
+}
diff --git a/packages/xmame/xmame_0.86.bb b/packages/xmame/xmame_0.86.bb
index e2f343cf26..a5801e73da 100644
--- a/packages/xmame/xmame_0.86.bb
+++ b/packages/xmame/xmame_0.86.bb
@@ -1,10 +1,10 @@
DESCRIPTION = "Multiple Arcade Machine Emulator based on SDL"
LICENSE = "xmame"
-SECTION = "opie/games"
+SECTION = "games"
PRIORITY = "optional"
-DEPENDS = "expat libsdl-qpe libsdl-mixer"
+DEPENDS = "expat virtual/libsdl libsdl-mixer"
-SRC_URI = "http://x.mame.net/download/${P}.tar.bz2 \
+SRC_URI = "http://x.mame.net/download/historic/${P}.tar.bz2 \
file://${FILESDIR}/crosscompile.patch;patch=1"
inherit flow-lossage
diff --git a/packages/xmame/xmame_0.87.bb b/packages/xmame/xmame_0.87.bb
index 0a34cc7721..80924ef0c6 100644
--- a/packages/xmame/xmame_0.87.bb
+++ b/packages/xmame/xmame_0.87.bb
@@ -1,10 +1,10 @@
DESCRIPTION = "Multiple Arcade Machine Emulator based on SDL"
LICENSE = "xmame"
-SECTION = "opie/games"
+SECTION = "games"
PRIORITY = "optional"
-DEPENDS = "expat libsdl-qpe libsdl-mixer"
+DEPENDS = "expat virtual/libsdl libsdl-mixer"
-SRC_URI = "http://x.mame.net/download/${P}.tar.bz2"
+SRC_URI = "http://x.mame.net/download/historic/${P}.tar.bz2"
inherit flow-lossage
diff --git a/packages/xmame/xmame_0.95.bb b/packages/xmame/xmame_0.95.bb
index 76f2384dcd..80924ef0c6 100644
--- a/packages/xmame/xmame_0.95.bb
+++ b/packages/xmame/xmame_0.95.bb
@@ -4,7 +4,7 @@ SECTION = "games"
PRIORITY = "optional"
DEPENDS = "expat virtual/libsdl libsdl-mixer"
-SRC_URI = "http://x.mame.net/download/${P}.tar.bz2"
+SRC_URI = "http://x.mame.net/download/historic/${P}.tar.bz2"
inherit flow-lossage