[Bug 4958] New: scummvm does't build the engines(needed for playing games)
bugzilla-daemon at amethyst.openembedded.net
bugzilla-daemon at amethyst.openembedded.net
Thu Jan 1 23:10:05 UTC 2009
http://bugs.openembedded.net/show_bug.cgi?id=4958
Summary: scummvm does't build the engines(needed for playing
games)
Classification: Unclassified
Product: Openembedded
Version: unspecified
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: org.openembedded.dev
AssignedTo: openembedded-issues at lists.openembedded.org
ReportedBy: GNUtoo at no-log.org
scummvm does't build the engines 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)}"
}
the -D flag for the engines aren't passed to the compiler:
for instance -DENABLE_SCUMM=STATIC_PLUGIN enables the scumm engine
(-DENABLE_ENGINENAME=STATIC_PLUGIN)
the solution is to do it in scummvm.inc and do:
${@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)} \
(http://bec-systems.com/oe/html/recipes_advanced_python.html for the
explanation of base_conditional)
i'll attach the bb recipe and lacking file(for the openmoko a file is lacking)
--
Configure bugmail: http://bugs.openembedded.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-issues
mailing list