|
@ -2,8 +2,10 @@ |
|
|
|
|
|
|
|
|
This repo contains Flatpak manifests to distribute Sketchy Maze to Linux users. |
|
|
This repo contains Flatpak manifests to distribute Sketchy Maze to Linux users. |
|
|
|
|
|
|
|
|
It's a work in progress. It builds the game in the Flatpak SDK but doesn't yet |
|
|
|
|
|
handle copying the runtime environment (SFX) and things in. |
|
|
|
|
|
|
|
|
The game source is required. If you're not the developer, you won't have |
|
|
|
|
|
access to the source, but the rest of the Flatpak goodness is available for |
|
|
|
|
|
you to read and learn from in case you're also looking to package a |
|
|
|
|
|
Go SDL2 application for Linux. |
|
|
|
|
|
|
|
|
## Setup |
|
|
## Setup |
|
|
|
|
|
|
|
@ -12,7 +14,8 @@ to this flatpak repo. A symlink can work. For best results, the Doodle source |
|
|
folder should be "fully initialized" and ready to simply `go build` the app |
|
|
folder should be "fully initialized" and ready to simply `go build` the app |
|
|
and be done; this means `make doodads` has already been run, and `make bindata` |
|
|
and be done; this means `make doodads` has already been run, and `make bindata` |
|
|
to embed them in the Go sources. Generally, if you had run a `make dist` in |
|
|
to embed them in the Go sources. Generally, if you had run a `make dist` in |
|
|
Doodle recently you're good to go. |
|
|
|
|
|
|
|
|
Doodle recently you're good to go. The `guidebook/` and `rtp/` directories |
|
|
|
|
|
should also be included. |
|
|
|
|
|
|
|
|
The `source/go.mod` file should have "replace" directives pointing to the |
|
|
The `source/go.mod` file should have "replace" directives pointing to the |
|
|
appropriate path as seen in the Flatpak build environment, like: |
|
|
appropriate path as seen in the Flatpak build environment, like: |
|
@ -30,4 +33,11 @@ in case they had bugs, will prevent the app from building. |
|
|
|
|
|
|
|
|
## Makefile |
|
|
## Makefile |
|
|
|
|
|
|
|
|
`make build` will attempt to build and install the Flatpak. |
|
|
|
|
|
|
|
|
`make install` will attempt to build and install the Flatpak. |
|
|
|
|
|
|
|
|
|
|
|
`make repo` will build it and create the Flatpak repo in the directory `./repo` |
|
|
|
|
|
|
|
|
|
|
|
## To Do |
|
|
|
|
|
|
|
|
|
|
|
* GPG signature for the Flatpak. |
|
|
|
|
|
* Upload the repo to `download.sketchymaze.com` for public access. |
|
|