[oe] fixing scummvm

GNUtoo at no-log.org GNUtoo at no-log.org
Wed Jan 21 17:59:42 UTC 2009


Hello,
the last scummvm(0.12) and maybe others scummvm version are broken because
of that:

do_compile() {
oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \
CXXFLAGS="${CXXFLAGS}" \
LDFLAGS="${LDFLAGS} ${@base_conditional('ENTERPRISE_DISTRO', '1', '',
'-lmpeg2', d)}" \
DEFINES="-DUNIX -DSCUMM_NEED_ALIGNMENT -DUSE_VORBIS -DUSE_ZLIB -DUSE_MPEG2
${@base_conditional('ENTERPRISE_DISTRO', '1', '', '-DUSE_MAD -DUSE_MPEG2',
d)}"
}

I was told that was triggered by a script(which goal is obvious...remove
mp3 support because of software patents(because openmoko company had a
problem with patents:
http://lists.openmoko.org/pipermail/community/2008-November/035618.html
and
http://lists.openmoko.org/pipermail/community/2008-November/035635.html))

the solution would be to remove that and to remplace it by:
EXTRA_OECONF = "--host=${HOST_SYS} \
		--backend=sdl \
		--with-sdl-prefix=${STAGING_BINDIR_CROSS} \
		--disable-alsa \
		--prefix=${prefix} \
		--with-ogg-prefix=${STAGING_LIBDIR}/.. \
		--with-vorbis-prefix=${STAGING_LIBDIR}/.. \
		${@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)} \
		"
in scummvm.inc

I contacted the maintainer but I had on response yet...

what should I do?
fix all recipes and commit them?





More information about the Openembedded-devel mailing list