Flatpak manifest to release Sketchy Maze for GNU/Linux.
Go to file
2020-12-28 15:03:52 -08:00
icons Initial commit 2020-12-05 18:07:33 -08:00
.gitignore WIP: Build Doodle inside Flatpak SDK 2020-12-28 15:03:52 -08:00
com.sketchymaze.Doodle.appdata.xml Initial commit 2020-12-05 18:07:33 -08:00
com.sketchymaze.Doodle.desktop Initial commit 2020-12-05 18:07:33 -08:00
com.sketchymaze.Doodle.json WIP: Build Doodle inside Flatpak SDK 2020-12-28 15:03:52 -08:00
Makefile Initial commit 2020-12-05 18:07:33 -08:00
README.md WIP: Build Doodle inside Flatpak SDK 2020-12-28 15:03:52 -08:00

Flatpak

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.

Setup

The Doodle source directory should be at a folder named "source" relative 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 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 Doodle recently you're good to go.

The source/go.mod file should have "replace" directives pointing to the appropriate path as seen in the Flatpak build environment, like:

replace git.kirsle.net/go/render => /run/build/doodle/deps/render
replace git.kirsle.net/go/ui => /run/build/doodle/deps/ui
replace git.kirsle.net/go/audio => /run/build/doodle/deps/audio

It may be possible to skip the replace directives entirely and have go get download the dependencies the usual way, but the proxy.golang.org server sometimes caches stale versions of these if they were just recently changed and, in case they had bugs, will prevent the app from building.

Makefile

make build will attempt to build and install the Flatpak.