1 | name: 2048x
|
---|
2 | title: 2048x
|
---|
3 | version: '1.4.0'
|
---|
4 | summary: A classic 2048 block sliding puzzle game
|
---|
5 | description: |
|
---|
6 | Features:
|
---|
7 | * Selectable board size (from 2x2 to 12x12).
|
---|
8 | * Six different tile color palettes.
|
---|
9 | * Last move undo.
|
---|
10 | * Keep game between application restarts.
|
---|
11 | * Localization support (English, Czech).
|
---|
12 | * High DPI support.
|
---|
13 | * Moves history recording.
|
---|
14 | * Dark and light themes.
|
---|
15 | * Tiles move, merge and creation animation.
|
---|
16 | * Selectable tile skins (linear, exponential, alpha, binary, Roman)
|
---|
17 | confinement: strict
|
---|
18 | base: core22
|
---|
19 | grade: stable
|
---|
20 | icon: "Images/Logo 64x64.png"
|
---|
21 | license: NLPL
|
---|
22 |
|
---|
23 | plugs:
|
---|
24 | gnome-3-38-2004:
|
---|
25 | interface: content
|
---|
26 | target: $SNAP/gnome-platform
|
---|
27 | default-provider: gnome-3-38-2004
|
---|
28 | gtk-3-themes:
|
---|
29 | interface: content
|
---|
30 | target: $SNAP/data-dir/themes
|
---|
31 | default-provider: gtk-common-themes
|
---|
32 | icon-themes:
|
---|
33 | interface: content
|
---|
34 | target: $SNAP/data-dir/icons
|
---|
35 | default-provider: gtk-common-themes
|
---|
36 | sound-themes:
|
---|
37 | interface: content
|
---|
38 | target: $SNAP/data-dir/sounds
|
---|
39 | default-provider: gtk-common-themes
|
---|
40 |
|
---|
41 | parts:
|
---|
42 | 2048x:
|
---|
43 | plugin: nil
|
---|
44 | source: .
|
---|
45 | source-type: local
|
---|
46 | build-packages:
|
---|
47 | - fpc
|
---|
48 | - lazarus
|
---|
49 | - lcl
|
---|
50 | - lcl-utils
|
---|
51 | override-build: |
|
---|
52 | snapcraftctl build
|
---|
53 | lazbuild --build-mode=Release Game2048.lpi
|
---|
54 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/bin
|
---|
55 | install -s -m 755 Game2048 $SNAPCRAFT_PART_INSTALL/usr/bin/Game2048
|
---|
56 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/Game2048/languages
|
---|
57 | install -m 755 Languages/*.po $SNAPCRAFT_PART_INSTALL/usr/share/Game2048/languages
|
---|
58 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
---|
59 | install -m 755 Install/snap/local/2048.desktop $SNAPCRAFT_PART_INSTALL/usr/share/applications
|
---|
60 | install -d -m 755 $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
---|
61 | install -m 755 Images/2048.png $SNAPCRAFT_PART_INSTALL/usr/share/pixmaps
|
---|
62 | stage:
|
---|
63 | - etc
|
---|
64 | - usr
|
---|
65 | - usr/bin
|
---|
66 | - usr/share/Game2048
|
---|
67 | - usr/share/applications/2048.desktop
|
---|
68 | - usr/share/pixmaps
|
---|
69 | stage-packages:
|
---|
70 | - libatk1.0-0
|
---|
71 | - libcairo2
|
---|
72 | - libdatrie1
|
---|
73 | - libfontconfig1
|
---|
74 | - libfreetype6
|
---|
75 | - libfribidi0
|
---|
76 | - libgdk-pixbuf2.0-0
|
---|
77 | - libgraphite2-3
|
---|
78 | - libgtk2.0-0
|
---|
79 | - libharfbuzz0b
|
---|
80 | - libpango-1.0-0
|
---|
81 | - libpangocairo-1.0-0
|
---|
82 | - libpangoft2-1.0-0
|
---|
83 | - libpixman-1-0
|
---|
84 | - libpng16-16
|
---|
85 | - libthai0
|
---|
86 | - libx11-6
|
---|
87 | - libxau6
|
---|
88 | - libxcb-render0
|
---|
89 | - libxcb-shm0
|
---|
90 | - libxcb1
|
---|
91 | - libxcomposite1
|
---|
92 | - libxcursor1
|
---|
93 | - libxdamage1
|
---|
94 | - libxdmcp6
|
---|
95 | - libxext6
|
---|
96 | - libxfixes3
|
---|
97 | - libxi6
|
---|
98 | - libxinerama1
|
---|
99 | - libxrandr2
|
---|
100 | - libxrender1
|
---|
101 |
|
---|
102 | apps:
|
---|
103 | 2048x:
|
---|
104 | command: usr/bin/Game2048
|
---|
105 | desktop: usr/share/applications/2048.desktop
|
---|
106 | plugs:
|
---|
107 | - desktop
|
---|
108 | - x11
|
---|
109 |
|
---|
110 | layout:
|
---|
111 | /usr/share/Game2048:
|
---|
112 | bind: $SNAP/usr/share/Game2048
|
---|