aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-10-26 07:00:36 -0400
committerEugene Sandulenko2014-10-26 07:00:36 -0400
commitd4c687ddc8b5e4075c8085b7e761a9da3f2cbe74 (patch)
treed0407e9e37c2ec320f76b363c7c18d8b05464313
parent123e52f441619d5c866b9f6e05fcc2775a405830 (diff)
downloadscummvm-rg350-d4c687ddc8b5e4075c8085b7e761a9da3f2cbe74.tar.gz
scummvm-rg350-d4c687ddc8b5e4075c8085b7e761a9da3f2cbe74.tar.bz2
scummvm-rg350-d4c687ddc8b5e4075c8085b7e761a9da3f2cbe74.zip
GCW0: Further work on the port
-rw-r--r--backends/platform/dingux/dingux.mk28
-rwxr-xr-xdists/gcw0/scummvm.sh2
-rw-r--r--dists/gcw0/scummvmrc4
-rw-r--r--ports.mk16
4 files changed, 32 insertions, 18 deletions
diff --git a/backends/platform/dingux/dingux.mk b/backends/platform/dingux/dingux.mk
index 48a9347143..f02801ea98 100644
--- a/backends/platform/dingux/dingux.mk
+++ b/backends/platform/dingux/dingux.mk
@@ -1,6 +1,7 @@
DINGUX_EXE_STRIPPED := scummvm_stripped$(EXEEXT)
bundle_name = dingux-dist/scummvm
+gcw0_bundle = gcw0-opk
all: $(DINGUX_EXE_STRIPPED)
@@ -30,3 +31,30 @@ endif
$(CP) $(srcdir)/backends/platform/dingux/scummvm.gpe $(bundle_name)/
$(CP) $(srcdir)/backends/platform/dingux/README.DINGUX $(bundle_name)/
$(CP) $(srcdir)/backends/platform/dingux/scummvm.png $(bundle_name)/
+
+# Special target for generationg GCW-Zero OPK bundle
+gcw0-opk: all
+ $(MKDIR) $(gcw0_bundle)
+ $(CP) $(DIST_FILES_DOCS) $(gcw0_bundle)/
+ $(MKDIR) $(gcw0_bundle)/themes
+ $(CP) $(DIST_FILES_THEMES) $(gcw0_bundle)/themes/
+ifdef DIST_FILES_ENGINEDATA
+ $(MKDIR) $(gcw0_bundle)/engine-data
+ $(CP) $(DIST_FILES_ENGINEDATA) $(gcw0_bundle)/engine-data/
+endif
+ifdef DYNAMIC_MODULES
+ $(MKDIR) $(gcw0_bundle)/plugins
+ $(CP) $(PLUGINS) $(gcw0_bundle)/plugins/
+ $(STRIP) $(gcw0_bundle)/plugins/*
+endif
+ $(STRIP) $(EXECUTABLE) -o $(gcw0_bundle)/scummvm
+
+ $(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip $(gcw0_bundle)/
+ $(CP) $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip $(gcw0_bundle)/
+
+ $(CP) $(srcdir)/dists/gcw0/scummvm.png $(gcw0_bundle)/
+ $(CP) $(srcdir)/dists/gcw0/default.gcw0.desktop $(gcw0_bundle)/
+ $(CP) $(srcdir)/dists/gcw0/scummvmrc $(gcw0_bundle)/
+ $(CP) $(srcdir)/dists/gcw0/scummvm.sh $(gcw0_bundle)/
+ ./dists/gcw0/opk_make.sh -d $(gcw0_bundle) -o scummvm
+
diff --git a/dists/gcw0/scummvm.sh b/dists/gcw0/scummvm.sh
index c12a3030cc..5ad7a8579a 100755
--- a/dists/gcw0/scummvm.sh
+++ b/dists/gcw0/scummvm.sh
@@ -3,7 +3,7 @@
cd `dirname $0`
if [ ! -f $HOME/.scummvmrc ] ; then
- cp ./scummvmrc $HOME/.scummvmrc
+ cp /mnt/ScummVM/scummvmrc $HOME/.scummvmrc
fi
exec ./scummvm
diff --git a/dists/gcw0/scummvmrc b/dists/gcw0/scummvmrc
index afa295e4b6..87b97c191c 100644
--- a/dists/gcw0/scummvmrc
+++ b/dists/gcw0/scummvmrc
@@ -2,5 +2,7 @@
fullscreen=true
gfx_mode=1x
aspect_ratio=true
-themepath=/mnt/scummvm
+themepath=/mnt/ScummVM/themes
browser_lastpath=/media
+extrapath=/mnt/ScummVM/engine-data
+pluginspath=/mnt/ScummVM/plugins
diff --git a/ports.mk b/ports.mk
index ce6bf38ab2..97b43fe92e 100644
--- a/ports.mk
+++ b/ports.mk
@@ -293,22 +293,6 @@ win32setup: $(EXECUTABLE)
makensis -V2 -Dtop_srcdir="../.." -Dstaging_dir="../../$(STAGINGPATH)" -Darch=$(ARCH) $(srcdir)/dists/win32/scummvm.nsi
-# Special target for generationg GCW-Zero OPK bundle
-gcw0-opk:
- mkdir gcw0-opk
- cp $(DIST_FILES_DOCS) gcw0-opk/
- cp $(DIST_FILES_THEMES) gcw0-opk/
-ifdef DIST_FILES_ENGINEDATA
- cp $(DIST_FILES_ENGINEDATA) gcw0-opk/
-endif
- $(STRIP) scummvm
- chmod 755 scummvm
- cp scummvm gcw0-opk/
- cp $(srcdir)/dists/gcw0/scummvm.png gcw0-opk/
- cp $(srcdir)/dists/gcw0/default.gcw0.desktop gcw0-opk/
- cp $(srcdir)/dists/gcw0/scummvmrc gcw0-opk/
- cp $(srcdir)/dists/gcw0/scummvm.sh gcw0-opk/
- ./dists/gcw0/opk_make.sh -d gcw0-opk -o scummvm.opk
#
# Special target to generate project files for various IDEs
# Mainly Win32-specific