| 1 | = Flatpak = |
| 2 | You will need to install '''flatpak''' using your package manager. Please refer to the official [https://docs.flatpak.org/ documentation] if you need help. |
| 3 | |
| 4 | == Installing from repository == |
| 5 | |
| 6 | == Building from source and packaging in repository == |
| 7 | |
| 8 | If you want to build a flatpak repository from the orxonox source, you will first need to install '''flatpak-builder'''. |
| 9 | Download orxonox source code, flatpak manifest file and dependencies: |
| 10 | {{{ |
| 11 | svn co http://svn.orxonox.net/downloads/linux/flatpak/ |
| 12 | cd flatpak |
| 13 | mkdir orxonox && cd orxonox |
| 14 | svn co http://svn.orxonox.net/game/code/trunk code |
| 15 | svn co http://svn.orxonox.net/game/data/data_extern |
| 16 | }}} |
| 17 | |
| 18 | Then run the build from the folder '''flatpak''': |
| 19 | {{{ |
| 20 | flatpak-builder --install-deps-from=flathub --keep-build-dirs --force-clean --install build net.orxonox.Orxonox.json |
| 21 | }}} |
| 22 | |
| 23 | The build will fail. You need to manually change the directory of '''CEGUI''' in the file located under '''flatpak/orxonox/code/cmake/'''. |
| 24 | |