40
edits
m (Added compiler options for Pixi support.) |
(Updated build instructions) |
||
Line 165: | Line 165: | ||
./configure \ | ./configure \ | ||
--host=webos \ | --host=webos \ | ||
--enable-plugins \ | --enable-plugins \ | ||
--default-dynamic \ | |||
--enable-release \ | |||
--enable-zlib \ | --enable-zlib \ | ||
--enable-tremor \ | --enable-tremor \ | ||
Line 173: | Line 174: | ||
make | make | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Building the WebOS package == | == Building the WebOS package == | ||
In the simplest case just type this: | |||
<syntaxhighlight type="bash"> | <syntaxhighlight type="bash"> | ||
make | make package | ||
</syntaxhighlight> | </syntaxhighlight> | ||
This | This creates a release package in the ''portdist'' directory under the current working directory. | ||
You can specify a custom destination dir if needed: | |||
<syntaxhighlight type="bash"> | <syntaxhighlight type="bash"> | ||
make | make package DIST=/tmp/webos | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== Distributing on App Catalog == | |||
=== Increasing the package version === | |||
''VER_PACKAGE'' in ''backends/platforms/webos/webos.mk'' must be set to a number which is higher than the currently used package version in the app catalog. So when creating an updated package for ScummVM 1.3.9 and the current ScummVM package in the app catalog is version 1.3.0902 then you must set VER_PACKAGE to 3 to create the ScummVM package with version 1.3.0903. Yeah, I know that's ugly but WebOS package version numbers are restricted to three numeric components. | |||
=== App ID and name === | |||
As long as Palm doesn't support Team-maintained apps the uploaded packages '''must not''' be packaged with the default ''org.scummvm'' base id. Instead apps must be uploaded with a user-specific base id. A good practice is using the github user as base id: ''com.github.<username>''. It is also necessary to use a user-specific app name when submitting the created package to the Palm app catalog because the app name must be unique. Use ''ScummVM (<username>)'' instead of ''ScummVM'' and ''ScummVM Beta (<username>)'' instead of ''ScummVM Beta''. | |||
The app id is automatically parsed from the installation prefix. So add a configure parameter like this to prepare a build of a package for the Palm App Catalog: | |||
<syntaxhighlight type="bash"> | |||
--prefix=/media/cryptofs/apps/usr/palm/applications/com.github.kayahr.scummvm | |||
</syntaxhighlight> | |||
To build a package for the Palm Beta App Catalog add "-beta" to the prefix: | |||
<syntaxhighlight type="bash"> | |||
--prefix=/media/cryptofs/apps/usr/palm/applications/com.github.kayahr.scummvm-beta | |||
</syntaxhighlight> |
edits