timsueberkrueb / veloren-snap

Snap packaging for Veloren, an open-source multiplayer voxel RPG

Home Page:https://veloren.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Snap package for Veloren

This repository contains snap packaging for Veloren.

Please note that this is an alpha version of Veloren.

Build

You need snapcraft, the meta-build tool for creating snaps in order to build the package yourself. Snapcraft can be easily installed using snap:

snap install snapcraft --classic

From the root of the repository, run:

snapcraft

For more information, please refer to the snapcraft documentation.

Install

To install a locally built snap package, run:

sudo snap install --dangerous veloren*.snap

Troubleshooting

If you receive errors similar to this one:

error: failed to compile `veloren-voxygen vX.Y.Z (/root/parts/veloren/build/voxygen)`,
intermediate artifacts can be found at `/root/parts/veloren/build/target`

Caused by:
  could not compile `veloren-voxygen`.

...

Caused by:
  process didn't exit successfully
 (signal: 9, SIGKILL: kill)
Failed to build 'veloren'.

You may want to allocate more RAM to the multipass VM that is being launched by snapcraft in the background (at the time of this writing, it defaults to 2GB).

To do so, set the following environment variable before running snapcraft:

export SNAPCRAFT_BUILD_ENVIRONMENT_MEMORY=8G

Note, that this will only work if the VM does not exist, yet. To delete an existing VM, use multipass list to find the VM name (should be something like snapcraft-veloren) and multipass delete <name> to delete it.

License

Veloren is licensed under the GPL 3.

About

Snap packaging for Veloren, an open-source multiplayer voxel RPG

https://veloren.net/


Languages

Language:Shell 100.0%