summaryrefslogtreecommitdiff
path: root/packages/scummvm/scummvm_0.9.1.bb
blob: 5d1e2c1e271621869e8d826e0ab84aa63e8a1d7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
DEFAULT_PREFERENCE = "-1"

require scummvm.inc
DEPENDS = "virtual/libsdl libmad libvorbis libogg zlib mpeg2dec"

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