sdlquake: add 1.0.9
authorKoen Kooi <koen@openembedded.org>
Mon, 11 Aug 2008 19:00:11 +0000 (19:00 +0000)
committerKoen Kooi <koen@openembedded.org>
Mon, 11 Aug 2008 19:00:11 +0000 (19:00 +0000)
packages/quake/sdlquake/.mtn2git_empty [new file with mode: 0644]
packages/quake/sdlquake/sdlquake-no-x86-asm.diff [new file with mode: 0644]
packages/quake/sdlquake_1.0.9.bb [new file with mode: 0644]

diff --git a/packages/quake/sdlquake/.mtn2git_empty b/packages/quake/sdlquake/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/quake/sdlquake/sdlquake-no-x86-asm.diff b/packages/quake/sdlquake/sdlquake-no-x86-asm.diff
new file mode 100644 (file)
index 0000000..e87094b
--- /dev/null
@@ -0,0 +1,35 @@
+--- /tmp/Makefile.am   2008-08-11 20:31:09.000000000 +0200
++++ sdlquake-1.0.9/Makefile.am 2008-08-11 20:55:00.263198000 +0200
+@@ -33,7 +33,6 @@
+       crc.h                   \
+       cvar.c                  \
+       cvar.h                  \
+-      d_copy.S                \
+       d_edge.c                \
+       d_fill.c                \
+       d_iface.h               \
+@@ -48,7 +47,6 @@
+       d_sprite.c              \
+       d_surf.c                \
+       d_zpoint.c              \
+-      dosasm.S                \
+       dosisms.h               \
+       draw.c                  \
+       draw.h                  \
+@@ -103,7 +101,6 @@
+       r_sprite.c              \
+       r_surf.c                \
+       r_vars.c                \
+-      r_varsa.S               \
+       render.h                \
+       resource.h              \
+       sbar.c                  \
+@@ -136,7 +133,7 @@
+       world.h                 \
+       zone.c                  \
+       zone.h                  \
+-      $(X86_SRCS) $(NONX86_SRCS)
++      $(NONX86_SRCS)
+ X86_SRCS =                    \
+       snd_mixa.S              \
diff --git a/packages/quake/sdlquake_1.0.9.bb b/packages/quake/sdlquake_1.0.9.bb
new file mode 100644 (file)
index 0000000..2fe2699
--- /dev/null
@@ -0,0 +1,21 @@
+DESCRIPTION = "Quake 1"
+SECTION = "x11/games"
+PRIORITY = "optional"
+DEPENDS = "libsdl-x11 libsdl-mixer libsdl-net zlib libxau"
+LICENSE = "GPL"
+
+SRC_URI = "http://www.libsdl.org/projects/quake/src/sdlquake-${PV}.tar.gz \
+          file://sdlquake-no-x86-asm.diff;patch=1 \
+          "    
+
+inherit autotools
+
+# Fix up broken autofoo
+do_configure_prepend() {
+       touch INSTALL NEWS README AUTHORS ChangeLog
+       echo "AM_PROG_AS" >> configure.in
+}
+
+
+
+