diff options
| author | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
|---|---|---|
| committer | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
| commit | 4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch) | |
| tree | 58590463ada82a27eca0889312c32450358249a8 /scummvm | |
| download | qipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz | |
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target
Gforth, removing strange emacs-dependencies that cropped up earlier.
Image file can now be built on the nanonote using 'gforth-update-image'
command. Also, Gforth is now run through a wrapper that calls
'gforth-update-image' automatically, if necessary.
Also first attempts at supporting libcc C-interface libraries pre-compiled on
the host.
Tested to compile on amd64 and i386.
Diffstat (limited to 'scummvm')
| -rw-r--r-- | scummvm/Makefile | 46 | ||||
| -rw-r--r-- | scummvm/patches/001_del_wrong_param_check_configure.patch | 24 |
2 files changed, 70 insertions, 0 deletions
diff --git a/scummvm/Makefile b/scummvm/Makefile new file mode 100644 index 0000000..eec7a0b --- /dev/null +++ b/scummvm/Makefile @@ -0,0 +1,46 @@ +# Copyright (C) 2010 tuxbrain.com +# +# This is free software, licensed under the GNU General Public License v2. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=scummvm +PKG_VERSION:=1.1.1 +PKG_RELEASE:=2 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=@SF/$(PKG_NAME) +PKG_CAT:=bzcat +PKG_BUILD_DEPENDS:=+libiconv +libsdl +libsdl_sound +libsdl_mixer +DEPENDS:=libiconv libsdl libsdl_sound libsdl_mixer + +include $(INCLUDE_DIR)/package.mk + +define Package/scummvm + TITLE:=free implementation of LucasArts SCUMM interpreter + SECTION:=games + CATEGORY:=Games + DEPENDS:=@BROKEN + URL:=http://www.scummvm.org/ +endef +PKG_BUILD_DIR:=$(BUILD_DIR)/scummvm-$(PKG_VERSION) + +define Package/scummvm/description + ScummVM is a program which allows you to run certain classic graphical point-and-click adventure games, provided you already have their data files. The clever part about this: ScummVM just replaces the executables shipped with the games, allowing you to play them on systems for which they were never designed! +endef + +MAKE_FLAGS += AR="mipsel-openwrt-linux-uclibc-ar cru" + +TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL + +define Build/Configure + $(call Build/Configure/Default, --enable-all-engines --disable-nasm --disable-mad --disable-vorbis --disable-scalers --disable-mt32emu --disable-hq-scalers --disable-indeo3) + +endef +define Package/scummvm/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/scummvm $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,scummvm)) diff --git a/scummvm/patches/001_del_wrong_param_check_configure.patch b/scummvm/patches/001_del_wrong_param_check_configure.patch new file mode 100644 index 0000000..fb3e925 --- /dev/null +++ b/scummvm/patches/001_del_wrong_param_check_configure.patch @@ -0,0 +1,24 @@ +diff -cB scummvm-1.1.1/configure scummvm-1.1.1.mod/configure +*** scummvm-1.1.1/configure 2010-04-01 00:51:54.000000000 +0200 +--- scummvm-1.1.1.mod/configure 2010-06-15 22:34:20.735635566 +0200 +*************** +*** 696,701 **** +--- 696,703 ---- + --disable-keymapper) _keymapper=no ;; + --enable-text-console) _text_console=yes ;; + --disable-text-console) _text_console=no ;; ++ --disable-nls) ;; ++ --disable-ipv6) ;; + --with-fluidsynth-prefix=*) + arg=`echo $ac_option | cut -d '=' -f 2` + FLUIDSYNTH_CFLAGS="-I$arg/include" +*************** +*** 810,816 **** + engine_disable `echo $ac_option | cut -d '-' -f 4-` + ;; + *) +- option_error + ;; + esac; + done; +--- 812,817 ---- |
