summaryrefslogtreecommitdiff
path: root/scummvm/scummvm_0.6.1b.oe
diff options
context:
space:
mode:
authorphillim@local <phillim@local>2004-10-16 02:57:52 +0000
committerphillim@local <phillim@local>2004-10-16 02:57:52 +0000
commit3589199f5f6051179240c235383e4dc785e4148f (patch)
tree8c5c0f038afc880602e084a980091ba3f75ac890 /scummvm/scummvm_0.6.1b.oe
parentfe162b66adf2f5ed6f3c9333f12f054415451213 (diff)
Incorrect mad-prefix was causing a native lib path to be included.
BKrev: 41708e30HK_8IZQf7jYaZ3YoZb70nA
Diffstat (limited to 'scummvm/scummvm_0.6.1b.oe')
-rw-r--r--scummvm/scummvm_0.6.1b.oe34
1 files changed, 34 insertions, 0 deletions
diff --git a/scummvm/scummvm_0.6.1b.oe b/scummvm/scummvm_0.6.1b.oe
index e69de29bb2..90e00baedf 100644
--- a/scummvm/scummvm_0.6.1b.oe
+++ b/scummvm/scummvm_0.6.1b.oe
@@ -0,0 +1,34 @@
+DESCRIPTION = "Virtual Machine for LucasArts Adventures for Qt/Embedded based palmtop environments w/ SDL."
+SECTION = "opie/games"
+PRIORITY = "optional"
+DEPENDS = "libsdl-qpe libmad tremor libogg zlib libmpeg2"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/scummvm/scummvm-${PV}.tar.bz2 \
+ file://tremor.patch;patch=1 \
+ file://mouse.patch;patch=1 "
+
+inherit autotools
+
+EXTRA_OECONF = "--host=${HOST_SYS} \
+ --backend=sdl \
+ --with-sdl-prefix=${STAGING_BINDIR}/.. \
+ --disable-alsa \
+ --with-ogg-prefix=${STAGING_LIBDIR}/.. \
+ --with-vorbis-prefix=${STAGING_LIBDIR}/.. \
+ --with-mpeg2-prefix=${STAGING_LIBDIR}/.. \
+ --with-mad-prefix=${STAGING_LIBDIR}/.. "
+
+do_configure() {
+ ./configure ${EXTRA_OECONF}
+}
+
+do_compile() {
+ oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS} -lmpeg2" \
+ DEFINES="-DUNIX -DSCUMM_NEED_ALIGNMENT -DQTOPIA -DUSE_MAD -DUSE_VORBIS -DUSE_ZLIB -DUSE_MPEG2"
+}
+
+do_install() {
+ install -d ${D}/${bindir}
+ install -m 0755 scummvm ${D}/${bindir}/scummvm
+}
+