summaryrefslogtreecommitdiff
path: root/packages/scummvm/scummvm_0.6.1b.bb
blob: 313737bc9257fa5632b455b1bb5fe548575a1ad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include scummvm.inc
DEPENDS = "virtual/libsdl libmad tremor libogg zlib libmpeg2"
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"
}