aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Reimer2011-05-07 17:57:50 +0200
committerKlaus Reimer2011-05-08 17:39:25 +0200
commitc7b481802535744aeeffd973afadb5d492057518 (patch)
tree4272fcf53137562948ad65764231230ea079fca5
parent4ffab87da4c7a6cfb9423e0d08c82f4bba7fceb3 (diff)
downloadscummvm-rg350-c7b481802535744aeeffd973afadb5d492057518.tar.gz
scummvm-rg350-c7b481802535744aeeffd973afadb5d492057518.tar.bz2
scummvm-rg350-c7b481802535744aeeffd973afadb5d492057518.zip
WEBOS: Added comments to explain some WebOS compile settings.
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index b45c2713c7..62c8a112e3 100755
--- a/configure
+++ b/configure
@@ -1138,7 +1138,13 @@ webos)
_host_os=webos
_host_cpu=arm
_host_alias=arm-none-linux-gnueabi
+ # The prefix is always the same on WebOS so we hardcode the default
+ # here. It is still possible to define a custom prefix which is
+ # needed when packaging the app with a user-specific app ID.
test "x$prefix" = xNONE && prefix=/media/cryptofs/apps/usr/palm/applications/org.scummvm.scummvm
+ # WebOS apps are installed into app-specific directories. The
+ # default directory structure of ScummVM makes no sense here so we
+ # hardcode WebOS specific directories here.
datarootdir='${prefix}/data'
datadir='${datarootdir}'
docdir='${prefix}/doc'
@@ -2933,6 +2939,8 @@ case $_backend in
DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"../plugins\\\""
;;
webos)
+ # The WebOS app wants the plugins in the "lib" directory
+ # without a scummvm sub directory.
DEFINES="$DEFINES -DPLUGIN_DIRECTORY=\\\"$libdir\\\""
;;
*)
@@ -3114,6 +3122,7 @@ case $_backend in
DEFINES="$DEFINES -DSDL_BACKEND"
;;
webos)
+ # There is no sdl-config in the WebOS PDK so we don't use find_sdlconfig here.
LIBS="$LIBS -lSDL -lpdl"
DEFINES="$DEFINES -DSDL_BACKEND -DWEBOS"
MODULES="$MODULES backends/platform/sdl"