Skip to content

Commit

Permalink
Add required source-depth and metadata for automation
Browse files Browse the repository at this point in the history
  • Loading branch information
Heather Ellsworth committed May 23, 2023
1 parent 33fa42e commit 44c1581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,11 @@ apps:

parts:
lightsoff:
# ext:updatesnap
source: https://gitlab.gnome.org/GNOME/lightsoff.git
source-type: git
source-tag: '40.0.1'
source-depth: 1
parse-info: [usr/share/metainfo/org.gnome.LightsOff.appdata.xml]
override-build: |
sed -i.bak -e 's|Icon=org.gnome.LightsOff$|Icon=${SNAP}/meta/gui/org.gnome.LightsOff.svg|g' $CRAFT_PART_SRC/data/org.gnome.LightsOff.desktop.in
Expand Down

0 comments on commit 44c1581

Please sign in to comment.