Browse Source

Initial commit

master
Noah Petherbridge 4 years ago
commit
e6ac0bb5bc
  1. 2
      .gitignore
  2. 7
      Makefile
  3. 11
      README.md
  4. 28
      com.sketchymaze.Doodle.appdata.xml
  5. 13
      com.sketchymaze.Doodle.desktop
  6. 61
      com.sketchymaze.Doodle.json
  7. BIN
      icons/1024.png
  8. BIN
      icons/128.png
  9. BIN
      icons/16.png
  10. BIN
      icons/256.png
  11. BIN
      icons/32.png
  12. BIN
      icons/512.png
  13. BIN
      icons/64.png

2
.gitignore

@ -0,0 +1,2 @@
.flatpak-builder/
build/

7
Makefile

@ -0,0 +1,7 @@
.PHONY: clean
clean:
rm -rf .flatpak-builder build
.PHONY: build
build: clean
flatpak-builder --user --install build com.sketchymaze.Doodle.json

11
README.md

@ -0,0 +1,11 @@
# Flatpak
This repo contains Flatpak manifests to distribute Sketchy Maze to Linux users.
It's a work in progress and currently tries to bundle the binary distribution
from tarball; but the binary uses glibc-2.32 which is not yet available in
the freedesktop runtime.
## Makefile
`make build` will attempt to build and install the Flatpak.

28
com.sketchymaze.Doodle.appdata.xml

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<application>
<name>Project: Doodle</name>
<id type="desktop">com.sketchymaze.Doodle.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>Proprietary</project_license>
<summary>A drawing-based maze game.</summary>
<description>
<p>
Project: Doodle is a drawing-based maze game where you can draw your
own levels freehand and play them as a platformer.
</p>
</description>
<url type="homepage">https://www.sketchymaze.com</url>
<screenshots>
<screenshot type="default">https://www.sketchymaze.com/guidebook/images/main-menu.png</screenshot>
<screenshot>https://www.sketchymaze.com/guidebook/images/about.png</screenshot>
<screenshot>https://www.sketchymaze.com/guidebook/images/palette.png</screenshot>
<screenshot>https://www.sketchymaze.com/guidebook/images/doodads.png</screenshot>
</screenshots>
<content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">moderate</content_attribute>
</content_rating>
<releases>
<release version="0.4.0" date="2020-12-01"/>
</releases>
<developer_name>Noah Petherbridge</developer_name>
</application>

13
com.sketchymaze.Doodle.desktop

@ -0,0 +1,13 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=Project: Doodle
GenericName=Project Doodle
X-GNOME-FullName=Project: Doodle - A drawing-based maze game
Comment=A drawing-based maze game.
Exec=doodle
Icon=doodle
Path=/app/share/doodle
StartupNotify=true
Keywords=game;maze;
Categories=Game;

61
com.sketchymaze.Doodle.json

@ -0,0 +1,61 @@
{
"app-id": "com.sketchymaze.Doodle",
"runtime": "org.freedesktop.Platform",
"runtime-version": "20.08",
"sdk": "org.freedesktop.Sdk",
"finish-args": [
"--device=all",
"--persist=.doodle",
"--share=ipc",
"--share=network",
"--socket=x11",
"--socket=pulseaudio"
],
"command": "doodle",
"rename-icon": "doodle",
"cleanup": [
"/include",
"/lib/pkgconfig",
"/share/aclocal",
"/share/man",
"*.la", "*.a"
],
"modules": [
{
"name": "doodle",
"buildsystem": "simple",
"build-options": {},
"build-commands": [
"find",
"install -Dm755 ./doodle /app/bin/doodle",
"install -Dm755 ./doodad /app/bin/doodad",
"mkdir -p /app/share/doodle /app/share/icons",
"cp -ra guidebook rtp *.md /app/share/doodle",
"cp -ra 256.png /app/share/icons/doodle.png",
"install -Dm644 com.sketchymaze.Doodle.desktop /app/share/applications/com.sketchymaze.Doodle.desktop",
"install -Dm644 com.sketchymaze.Doodle.appdata.xml /app/share/appdata/com.sketchymaze.Doodle.appdata.xml",
"for s in 16 32 64 128 256; do install -Dm644 ${s}.png /app/share/icons/hicolor/${s}x${s}/apps/doodle.png; done",
"find /app/share"
],
"sources": [
{
"type": "archive",
"url": "https://www.kirsle.net/projects/Doodle/v0.4.0/doodle-0.4.0-linux-64bit.tar.gz",
"sha256": "ee3755be22b953bbfe0e477bc40b7c0637e61b49ef5653b49974490cb3fa6d3b"
},
{
"type": "dir",
"path": "icons"
},
{
"type": "file",
"path": "com.sketchymaze.Doodle.desktop"
},
{
"type": "file",
"path": "com.sketchymaze.Doodle.appdata.xml"
}
]
}
]
}

BIN
icons/1024.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
icons/128.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
icons/16.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 750 B

BIN
icons/256.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
icons/32.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
icons/512.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

BIN
icons/64.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Loading…
Cancel
Save