Commit 5d49e51c authored by Ken VanDine's avatar Ken VanDine Committed by Jeremy Bicha
parent 4c500414
name: gnome-tetravex
version: git
summary: Reorder tiles to fit a square
description: |
Each square piece has a number on each side. Position the pieces on the left
side of the board so that the same numbers are next to each other. If the
numbers don't match, you can't put the piece there. Move quickly: you're
being timed!
You can make the game easier or harder by changing the size of the board.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
base: core18
plugs:
gnome-3-28-1804:
interface: content
target: $SNAP/gnome-platform
default-provider: gnome-3-28-1804
gtk-3-themes:
interface: content
target: $SNAP/data-dir/themes
default-provider: gtk-common-themes
icon-themes:
interface: content
target: $SNAP/data-dir/icons
default-provider: gtk-common-themes
slots:
# for GtkApplication registration
gnome-tetravex:
interface: dbus
bus: session
name: org.gnome.Tetravex
apps:
gnome-tetravex:
command: desktop-launch gnome-tetravex
plugs:
- desktop
- desktop-legacy
- gsettings
- unity7
- wayland
desktop: usr/share/applications/org.gnome.Tetravex.desktop
parts:
desktop-gnome-platform:
source: https://github.com/ubuntu/snapcraft-desktop-helpers.git
source-subdir: gtk
plugin: make
make-parameters: ["FLAVOR=gtk3"]
build-packages:
- build-essential
- libgtk-3-dev
override-build: |
snapcraftctl build
mkdir -pv $SNAPCRAFT_PART_INSTALL/gnome-platform
gnome-tetravex:
after: [desktop-gnome-platform]
source: .
source-type: git
override-build: |
sed -i.bak -e 's|Icon=org.gnome.Tetravex$|Icon=${SNAP}/meta/gui/org.gnome.Tetravex.png|g' data/org.gnome.Tetravex.desktop.in
snapcraftctl build
mkdir -p $SNAPCRAFT_PART_INSTALL/meta/gui/
cp ../src/data/icons/hicolor/48x48/org.gnome.Tetravex.png $SNAPCRAFT_PART_INSTALL/meta/gui/
cp ../install/snap/gnome-tetravex/current/usr/share/applications/org.gnome.Tetravex.desktop $SNAPCRAFT_PART_INSTALL/meta/gui/
plugin: meson
meson-parameters: [--prefix=/snap/gnome-tetravex/current/usr]
organize:
snap/gnome-tetravex/current/usr: usr
build-packages:
- gettext
- itstool
- libglib2.0-dev
- libgtk-3-dev
- valac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment