blob: b64ac1d93bec7168c75bc7c623d5161f7396fab6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
require scummvm.inc
DEPENDS = "virtual/libsdl libvorbis libogg zlib \
${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad mpeg2dec', d)}"
SRC_URI += "file://makefile-nostrip.patch;patch=1 \
file://scummvm-targetcheck.patch;patch=1"
SRC_URI_append_openmoko = " file://openmoko-scummvm \
file://scummvm.desktop"
SRC_URI_OVERRIDES_PACKAGE_ARCH = "1"
EXTRA_OECONF += "--enable-lure \
--enable-agi \
--enable-cine \
"
do_install_append() {
if [ -f ${WORKDIR}/openmoko-scummvm ]; then
install -d ${D}${bindir}
install -m 0755 ${WORKDIR}/openmoko-scummvm ${D}${bindir}/openmoko-scummvm
fi
if [ -f ${WORKDIR}/scummvm.desktop ]; then
install -d ${D}${datadir}/applications
install -m 0644 ${WORKDIR}/scummvm.desktop ${D}${datadir}/applications
fi
install -d ${D}${datadir}/scummvm
install -m 0644 gui/themes/modern.ini ${D}${datadir}/scummvm/
install -m 0644 gui/themes/modern.zip ${D}${datadir}/scummvm/
}
|