-
Notifications
You must be signed in to change notification settings - Fork 3
/
snapcraft.yaml
64 lines (56 loc) · 1.81 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
54
55
56
57
58
59
60
61
62
63
64
name: gnome-sudoku
adopt-info: gnome-sudoku
summary: Test your logic skills in this number grid puzzle
description: |
Play the popular Japanese logic game. GNOME Sudoku is a must-install for
Sudoku lovers, with a simple, unobtrusive interface that makes playing
Sudoku fun for players of any skill level.
Each game is assigned a difficulty similar to those given by newspapers
and websites, so your game will be as easy or as difficult as you want it
to be.
If you like to play on paper, you can print games out. You can choose how
many games you want to print per page and what difficulty of games you
want to print: as a result, GNOME Sudoku can act a renewable Sudoku book
for you.
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict
base: core24
slots:
# for GtkApplication registration
gnome-sudoku:
interface: dbus
bus: session
name: org.gnome.Sudoku
apps:
gnome-sudoku:
extensions: [ gnome ]
command: usr/bin/gnome-sudoku
plugs:
- audio-playback
desktop: usr/share/applications/org.gnome.Sudoku.desktop
parts:
gnome-sudoku:
# ext:updatesnap
# version-format:
# lower-than: '47'
# no-9x-revisions: true
source: https://gitlab.gnome.org/GNOME/gnome-sudoku.git
source-type: git
source-tag: '46.5'
source-depth: 1
plugin: meson
parse-info: [usr/share/metainfo/org.gnome.Sudoku.appdata.xml]
meson-parameters:
- --prefix=/usr
build-packages:
- libqqwing-dev
override-pull: |
craftctl default
sed -i.bak -e 's|help_media,|help_media, symlink_media: false,|g' help/meson.build
# workaround snapcraft trying to outsmart us by copying ldd listed libraries
libraries:
plugin: nil
stage-packages:
- libqqwing2v5
prime:
- "usr/lib/*/libqqwing*"