summaryrefslogtreecommitdiff
path: root/packages/scummvm/scummvm_0.9.0.bb
blob: 9719ee200e0ad0f70a5776ac287bb6645f4e9f99 (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 libmpeg2"
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"
}