summaryrefslogtreecommitdiff
path: root/packages/scummvm/scummvm_0.9.0.bb
blob: 0403e6ae905457f1777f4804a6f7ec1aae2820c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require scummvm.inc
DEPENDS = "virtual/libsdl libmad libvorbis libogg zlib mpeg2dec"
SRC_URI += "file://sh3-arch-0.9.0+.patch;patch=1"

EXTRA_OECONF += "--enable-lure \
		 --enable-agi \
		 --enable-cine \
		 "

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"
}