name: five-or-more adopt-info: five-or-more summary: GNOME five-or-more description: | Five or More is the GNOME port of the once popular Windows game called Color Lines. The game's objective is to align as often as possible five or more objects of the same color and shape causing them to disappear. grade: stable # must be 'stable' to release into candidate/stable channels confinement: strict base: core24 layout: /usr/share/five-or-more/themes: bind: $SNAP/usr/share/five-or-more/themes slots: # for GtkApplication registration five-or-more: interface: dbus bus: session name: org.gnome.five-or-more apps: five-or-more: command: usr/bin/five-or-more extensions: [ gnome ] desktop: usr/share/applications/org.gnome.five-or-more.desktop parts: five-or-more: source: https://gitlab.gnome.org/GNOME/five-or-more.git source-type: git source-tag: '3.32.3' source-depth: 1 override-pull: | craftctl default craftctl set version=$(git describe --tags --abbrev=0) override-build: | sed -i.bak -e 's|Icon=org.gnome.five-or-more$|Icon=${SNAP}/meta/gui/org.gnome.five-or-more.png|g' $CRAFT_PART_SRC/data/org.gnome.five-or-more.desktop.in craftctl default mkdir -p $CRAFT_PART_INSTALL/meta/gui/ cp ../src/data/icons/hicolor/256x256/org.gnome.five-or-more.png $CRAFT_PART_INSTALL/meta/gui/ cp ../install/usr/share/applications/org.gnome.five-or-more.desktop $CRAFT_PART_INSTALL/meta/gui/ plugin: meson meson-parameters: [--prefix=/usr] build-packages: - libgnome-games-support-1-dev stage-packages: - libgnome-games-support-1-3 parse-info: [usr/share/metainfo/org.gnome.SwellFoop.appdata.xml] organize: snap/five-or-more/current/usr: usr