-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsnapcraft.yaml
53 lines (47 loc) · 1.56 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: gnome-hitori
adopt-info: gnome-hitori
summary: Play the Hitori puzzle game
description: |
Hitori is a logic game similar to the popular game of Sudoku.
You play the game against the clock, aiming to eliminate all the duplicate
numbers in each row and column in the fastest time.
Multiple sizes of game board are supported, and you can place markers on
cells to help work out the solution.
If you get stuck, the game can give you a hint.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
base: core24
slots:
# for GtkApplication registration
gnome-hitori:
interface: dbus
bus: session
name: org.gnome.Hitori
layout:
/usr/share/help:
symlink: $SNAP/usr/share/help
apps:
gnome-hitori:
command: usr/bin/hitori
extensions: [ gnome ]
common-id: org.gnome.Hitori
desktop: usr/share/applications/org.gnome.Hitori.desktop
parts:
gnome-hitori:
source: https://gitlab.gnome.org/GNOME/hitori.git
source-type: git
source-tag: '44.0'
source-depth: 1
# ext:updatesnap
# version-format:
# lower-than: '46'
# no-9x-revisions: true
plugin: meson
parse-info: [usr/share/metainfo/org.gnome.Hitori.appdata.xml]
meson-parameters:
- --prefix=/usr
override-build: |
sed -i.bak -e 's|=org.gnome.Hitori$|=${SNAP}/meta/gui/org.gnome.Hitori.svg|g' $CRAFT_PART_SRC/data/org.gnome.Hitori.desktop.in
craftctl default
mkdir -p $CRAFT_PART_INSTALL/meta/gui/
cp $CRAFT_PART_SRC/data/icons/scalable/org.gnome.Hitori.svg $CRAFT_PART_INSTALL/meta/gui/