diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2009-01-22 15:55:12 +0100 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> | 2009-01-22 19:06:21 +0100 |
commit | fbe9f3dae3a57556e20d76b4fb76cd14e2f83b61 (patch) | |
tree | 1e1149f8d46b7c8b5e1e2d924838e664128cf986 /packages/scummvm/scummvm_0.6.1b.bb | |
parent | e9c568554b7c6a8fd091cbd2453dbf29dd35bd29 (diff) |
scummvm: fix the fact that none of the engines were builtin(so scummvm was useless) while keeping ENTERPRISE_DISTRO and minor fixes:
*took the lacking scummvm/files/openmoko/openmoko-scummvm from the openmoko wiki
*no-strip.patch for the 0.12.0 version : if you let the Makefile strip,openembedded skip stripping and so it can't copy the unstripped binaries before stripping...and so it creates an empty -dbg package
*must check the stripping for the others versions
*explanation of the main fix: most of the recipes added something like this:
DEFINES="-DUNIX -DSCUMM_NEED_ALIGNMENT -DUSE_VORBIS -DUSE_ZLIB -DUSE_MPEG2 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '-DUSE_MAD -DUSE_MPEG2', d)}"
this did override the DEFINES...and so defines such as -DENABLE_ENGINENAME=STATIC_PLUGIN were no longer defined...and so none of the engines were built...
I removed it and remplaced it by
${@base_conditional('ENTERPRISE_DISTRO', '1', '--disable-mpeg2', '--with-mpeg2-prefix=${STAGING_LIBDIR}/..', d)} \
${@base_conditional('ENTERPRISE_DISTRO', '1', '--disable-mad', '--with-mad-prefix=${STAGING_LIBDIR}/..', d)} \
I've also tested it with ENTREPRISE_DISTRO = "1" in my local.conf here are what I checked:
**the configure log:
Checking for MAD... no
Checking for libmpeg2 >= 0.3.2... no
**the run.do_configure.21902 shell script:
--disable-mpeg2 twice in oe_runconf and in do_configure ..no other matches for mpeg
same thing for --disable-mad
**the about menu inside scummvm says vorbis zlib in the "features compiled in" section
and there were no mention of mad,mp3 or mpeg2
*bump all PR
Diffstat (limited to 'packages/scummvm/scummvm_0.6.1b.bb')
-rw-r--r-- | packages/scummvm/scummvm_0.6.1b.bb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/packages/scummvm/scummvm_0.6.1b.bb b/packages/scummvm/scummvm_0.6.1b.bb index 638a39e7fd..7c85caff8e 100644 --- a/packages/scummvm/scummvm_0.6.1b.bb +++ b/packages/scummvm/scummvm_0.6.1b.bb @@ -7,9 +7,3 @@ SRC_URI += " file://mouse.patch;patch=1 \ file://tail-obselete-fix.patch;patch=1 \ file://tremor.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" -} - - |