summaryrefslogtreecommitdiff
path: root/packages/scummvm
diff options
context:
space:
mode:
Diffstat (limited to 'packages/scummvm')
-rw-r--r--packages/scummvm/scummvm.inc3
-rw-r--r--packages/scummvm/scummvm_0.9.0.bb10
2 files changed, 11 insertions, 2 deletions
diff --git a/packages/scummvm/scummvm.inc b/packages/scummvm/scummvm.inc
index 88c6f13d9d..e39397be06 100644
--- a/packages/scummvm/scummvm.inc
+++ b/packages/scummvm/scummvm.inc
@@ -3,8 +3,7 @@ SECTION = "games"
PRIORITY = "optional"
LICENSE = "GPL"
-SRC_URI = "${SOURCEFORGE_MIRROR}/scummvm/scummvm-${PV}.tar.bz2 \
- file://tremor.patch;patch=1"
+SRC_URI = "http://puzzle.dl.sourceforge.net/scummvm/scummvm-${PV}.tar.bz2"
inherit autotools
diff --git a/packages/scummvm/scummvm_0.9.0.bb b/packages/scummvm/scummvm_0.9.0.bb
new file mode 100644
index 0000000000..fd89e8fa1c
--- /dev/null
+++ b/packages/scummvm/scummvm_0.9.0.bb
@@ -0,0 +1,10 @@
+include scummvm.inc
+DEPENDS = "virtual/libsdl libmad tremor libogg zlib libmpeg2"
+SRC_URI += "file://sh3-arch-0.9.0+.patch;patch=1"
+
+do_compile() {
+ oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} -lmpeg2" \
+ DEFINES="-DUNIX -DSCUMM_NEED_ALIGNMENT -DUSE_MAD -DUSE_VORBIS -DUSE_ZLIB -DUSE_MPEG2"
+}
+
+