diff options
author | Koen Kooi <koen@openembedded.org> | 2008-11-17 14:17:26 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-11-17 14:17:26 +0100 |
commit | 60b43879c4de5c271b145468875e773585087f1c (patch) | |
tree | 50b54c741eb4411e69abb5069903e31f6a79cd86 /packages | |
parent | 552db45b073dfed868aaa4509150190d9946d2af (diff) |
scummvm: update to 0.12.0
Diffstat (limited to 'packages')
-rw-r--r-- | packages/scummvm/files/openmoko/scummvm.desktop | 12 | ||||
-rw-r--r-- | packages/scummvm/files/scummvm.desktop | 2 | ||||
-rw-r--r-- | packages/scummvm/scummvm_0.12.0.bb | 40 |
3 files changed, 53 insertions, 1 deletions
diff --git a/packages/scummvm/files/openmoko/scummvm.desktop b/packages/scummvm/files/openmoko/scummvm.desktop new file mode 100644 index 0000000000..96c025050e --- /dev/null +++ b/packages/scummvm/files/openmoko/scummvm.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=ScummVM +Name[pl]=ScummVM +Comment=Interpreter for several adventure games +Comment[pl]=Interpreter graficznych gier przygodowych +Exec=openmoko-scummvm +Icon=scummvm.xpm +Terminal=false +Type=Application +Categories=Application;Game;AdventureGame; +StartupNotify=false diff --git a/packages/scummvm/files/scummvm.desktop b/packages/scummvm/files/scummvm.desktop index 96c025050e..5a0f88b355 100644 --- a/packages/scummvm/files/scummvm.desktop +++ b/packages/scummvm/files/scummvm.desktop @@ -4,7 +4,7 @@ Name=ScummVM Name[pl]=ScummVM Comment=Interpreter for several adventure games Comment[pl]=Interpreter graficznych gier przygodowych -Exec=openmoko-scummvm +Exec=scummvm Icon=scummvm.xpm Terminal=false Type=Application diff --git a/packages/scummvm/scummvm_0.12.0.bb b/packages/scummvm/scummvm_0.12.0.bb new file mode 100644 index 0000000000..8a45f0e285 --- /dev/null +++ b/packages/scummvm/scummvm_0.12.0.bb @@ -0,0 +1,40 @@ +require scummvm.inc + +CCACHE = "" + +DEPENDS = "virtual/libsdl libvorbis libogg zlib \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad mpeg2dec', d)}" + +SRC_URI += " file://scummvm.desktop " + +SRC_URI_append_openmoko = " file://openmoko-scummvm " + + +SRC_URI_OVERRIDES_PACKAGE_ARCH = "1" + +EXTRA_OECONF += " \ + --disable-scumm-7-8 \ + --disable-he \ + " + +do_compile() { + oe_runmake CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS} ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '-lmpeg2', d)}" \ + DEFINES="-DUNIX -DSCUMM_NEED_ALIGNMENT -DUSE_VORBIS -DUSE_ZLIB -DUSE_MPEG2 ${@base_conditional('ENTERPRISE_DISTRO', '1', '', '-DUSE_MAD -DUSE_MPEG2', d)}" +} + + +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/ +} |