summaryrefslogtreecommitdiff
path: root/packages/scummvm/scummvm_0.6.1b.bb
blob: a1d3dce944e4a124c12a4d5d66435d8288a077f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require scummvm.inc
DEPENDS = "virtual/libsdl libmad tremor libogg zlib mpeg2dec"
SRC_URI += " file://mouse.patch;patch=1 \
             file://gcc-4.x.x-accept.patch;patch=1 \
	     file://sh3-linux-new-arch.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"
}