diff options
author | Thomas Zimmermann <ml@vdm-design.de> | 2009-11-27 12:22:26 +0000 |
---|---|---|
committer | Klaus Kurzmann <mok@fluxnetz.de> | 2009-11-28 10:07:40 +0100 |
commit | 38c5fb678fc9977e2e813c7869a73d175bba87f5 (patch) | |
tree | 28e6f9ee8d4f78eaf1c187bd4b98baa7ab011c74 /recipes/scummvm | |
parent | 5c0217046abddee3cd8196613866791171da1847 (diff) |
scummvm: update version to 1.0.0
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
Diffstat (limited to 'recipes/scummvm')
-rw-r--r-- | recipes/scummvm/scummvm-1.0.0/no-strip.patch | 20 | ||||
-rw-r--r-- | recipes/scummvm/scummvm_1.0.0.bb | 39 |
2 files changed, 59 insertions, 0 deletions
diff --git a/recipes/scummvm/scummvm-1.0.0/no-strip.patch b/recipes/scummvm/scummvm-1.0.0/no-strip.patch new file mode 100644 index 0000000000..c69402e469 --- /dev/null +++ b/recipes/scummvm/scummvm-1.0.0/no-strip.patch @@ -0,0 +1,20 @@ +--- scummvm-1.0.0/ports.mk~ 2009-11-27 12:51:50.000000000 +0100 ++++ scummvm-1.0.0/ports.mk 2009-11-27 12:51:50.000000000 +0100 +@@ -10,7 +10,7 @@ + # + install: all + $(INSTALL) -d "$(DESTDIR)$(BINDIR)" +- $(INSTALL) -c -s -m 755 "./$(EXECUTABLE)" "$(DESTDIR)$(BINDIR)/$(EXECUTABLE)" ++ $(INSTALL) -c -m 755 "./$(EXECUTABLE)" "$(DESTDIR)$(BINDIR)/$(EXECUTABLE)" + $(INSTALL) -d "$(DESTDIR)$(MANDIR)/man6/" + $(INSTALL) -c -m 644 "$(srcdir)/dists/scummvm.6" "$(DESTDIR)$(MANDIR)/man6/scummvm.6" + $(INSTALL) -d "$(DESTDIR)$(PREFIX)/share/pixmaps/" +@@ -21,7 +21,7 @@ + $(INSTALL) -c -m 644 $(DIST_FILES_THEMES) $(DIST_FILES_ENGINEDATA) "$(DESTDIR)$(DATADIR)/scummvm/" + ifdef DYNAMIC_MODULES + $(INSTALL) -d "$(DESTDIR)$(LIBDIR)/scummvm/" +- $(INSTALL) -c -s -m 644 $(DIST_FILES_PLUGINS) "$(DESTDIR)$(LIBDIR)/scummvm/" ++ $(INSTALL) -c -m 644 $(DIST_FILES_PLUGINS) "$(DESTDIR)$(LIBDIR)/scummvm/" + endif + + uninstall: diff --git a/recipes/scummvm/scummvm_1.0.0.bb b/recipes/scummvm/scummvm_1.0.0.bb new file mode 100644 index 0000000000..28465f409e --- /dev/null +++ b/recipes/scummvm/scummvm_1.0.0.bb @@ -0,0 +1,39 @@ +require scummvm.inc + +CCACHE = "" + +DEPENDS = "virtual/libsdl libvorbis libogg zlib \ + ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad mpeg2dec', d)}" + +SRC_URI += " file://scummvm.desktop \ + file://no-strip.patch;patch=1 \ + " + +SRC_URI_append_openmoko = " file://openmoko-scummvm " +SRC_URI_append_shr = " file://openmoko-scummvm " + +SRC_URI_OVERRIDES_PACKAGE_ARCH = "1" + +EXTRA_OECONF += " \ + --disable-scumm-7-8 \ + --disable-he \ + " + +# Workaround, because some env variables aren't recognised correctly +do_configure_append() { + sed -i "s/AS := as/AS := ${AS}/" ${S}/config.mk + sed -i "s/AR := ar cru/AR := ${AR} cru/" ${S}/config.mk + sed -i "s/STRIP := strip/STRIP := ${STRIP}/" ${S}/config.mk + sed -i "s/RANLIB := ranlib/RANLIB := ${RANLIB}/" ${S}/config.mk +} + +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 +} |