Skip to content

Commit

Permalink
Initial snap packaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
divVerent committed Nov 30, 2021
1 parent 1f6bac8 commit 0904249
Show file tree
Hide file tree
Showing 3 changed files with 79 additions and 0 deletions.
9 changes: 9 additions & 0 deletions snap/gui/aaaaxy.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[Desktop Entry]
Name=AAAAXY
Comment=A nonlinear puzzle platformer taking place in non-Euclidean geometry.
Exec=aaaaxy
Icon=${SNAP}/meta/gui/aaaaxy.png
Terminal=false
Type=Application
Categories=Game;ActionGame;
StartupNotify=true
Binary file added snap/gui/aaaaxy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
70 changes: 70 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: aaaaxy
base: core20
version: git
summary: A nonlinear puzzle platformer taking place in non-Euclidean geometry.
description: |
AAAAXY is a nonlinear puzzle platformer taking place in non-Euclidean
geometry.
Although your general goal is reaching the surprising end of the game,
you are encouraged to set your own goals while playing. Exploration will
be rewarded, and secrets await you!
So jump and run around, and enjoy losing your sense of orientation in
this World of Wicked Weirdness. Find out what Van Vlijmen will make you
do. Pick a path, get inside a Klein Bottle, recognize some memes, and by
all means: don't look up.
grade: devel
confinement: strict

architectures:
- build-on: [amd64]

parts:
desktop-glib-only:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: glib-only
plugin: make
build-packages:
- libglib2.0-dev
stage-packages:
- libglib2.0-bin
part-aaaaxy:
after:
- desktop-glib-only
plugin: go
go-channel: stable
override-build: |
make BINARY="${SNAPCRAFT_PART_INSTALL}/bin/aaaaxy" BUILDTYPE=release
source: .
source-type: git
build-packages:
- graphviz
- imagemagick
- libasound2-dev
- libgl-dev
- libxcursor-dev
- libxi-dev
- libxinerama-dev
- libxrandr-dev
- libxxf86vm-dev
- pkgconf
stage-packages:
- libasound2
- libgl1
- libglu1-mesa
- libglvnd0
- libglx0
- libx11-6
- libxau6
- libxcb1
- libxdmcp6

apps:
aaaaxy:
command: bin/desktop-launch $SNAP/bin/aaaaxy
plugs:
- alsa
- opengl
- x11

0 comments on commit 0904249

Please sign in to comment.