Skip to content

Commit

Permalink
snap: Take the summary and description from the appdata.xml file
Browse files Browse the repository at this point in the history
Just avoids a bit of duplication.
  • Loading branch information
bjorn committed Jul 15, 2020
1 parent 347f74f commit 21c6034
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
name: tiled
adopt-info: tiled
summary: Your free, easy to use and flexible tile map editor.
description: |
Tiled is a free software level editor. It supports editing tile maps in
various projections (orthogonal, isometric, hexagonal) and also supports
building levels with freely positioned, rotated or scaled images or
annotating them with objects of various shapes.
license: GPL-2.0
base: core18

Expand All @@ -15,7 +9,7 @@ confinement: strict
apps:
tiled:
command: desktop-launch ${SNAP}/usr/bin/tiled
desktop: usr/share/applications/org.mapeditor.Tiled.desktop
common-id: org.mapeditor.Tiled.desktop
plugs: [home, opengl, unity7, network]
tmxviewer:
command: desktop-launch ${SNAP}/usr/bin/tmxviewer
Expand All @@ -35,6 +29,8 @@ parts:
- PREFIX=/usr
- SYSTEM_ZSTD=yes
- CONFIG+=release
parse-info:
- org.mapeditor.Tiled.appdata.xml
override-pull: |
snapcraftctl pull
snapcraftctl set-version "$(git describe | cut -c 2-)"
Expand Down

0 comments on commit 21c6034

Please sign in to comment.