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