summaryrefslogtreecommitdiff
path: root/scummvm/scummvm_0.5.1.oe
diff options
context:
space:
mode:
Diffstat (limited to 'scummvm/scummvm_0.5.1.oe')
-rw-r--r--scummvm/scummvm_0.5.1.oe17
1 files changed, 13 insertions, 4 deletions
diff --git a/scummvm/scummvm_0.5.1.oe b/scummvm/scummvm_0.5.1.oe
index ebdd6bb1f3..37bccd4667 100644
--- a/scummvm/scummvm_0.5.1.oe
+++ b/scummvm/scummvm_0.5.1.oe
@@ -1,14 +1,23 @@
DESCRIPTION = "Virtual Machine for LucasArts Adventures"
SECTION = "base"
PRIORITY = "optional"
-RDEPENDS = "libc6 libsdl-qpe libmad"
-DEPENDS = "virtual/libc libsdl-qpe libmad"
+DEPENDS = "virtual/libc libsdl-qpe libmad libvorbis libogg"
-SRC_URI = "${SOURCEFORGE_MIRROR}/scummvm/scummvm-${PV}.tgz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/scummvm/scummvm-${PV}.tar.bz2"
inherit autotools libtool
-EXTRA_OECONF = "--backend=sdl"
+EXTRA_OECONF = "--backend=sdl \
+ --with-sdl-prefix=${STAGING_BINDIR}/.. \
+ --disable-alsa \
+ --with-ogg-prefix=${STAGING_LIBDIR}/.. \
+ --with-vorbis-prefix=${STAGING_LIBDIR}/.. \
+ --disable-mpeg2 \
+ --with-mad-prefix=${STAGING_BINDIR}/.."
+
+do_configure() {
+ ./configure ${EXTRA_OECONF}
+}
do_compile() {
oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" DEFINES="-DUNIX -DQTOPIA"