Skip to content

Commit

Permalink
Add snap packaging recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
sameer sharma committed Apr 24, 2024
1 parent 9525b1c commit ed9c8fc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: spedread
base: core22
adopt-info: spedread
grade: stable
confinement: strict
compression: lzo
architectures:
- build-on: amd64
- build-on: armhf
- build-on: arm64

slots:
spedread:
interface: dbus
bus: session
name: com.github.Darazaki.Spedread

apps:
spedread:
command: usr/bin/spedread
extensions: [gnome]
common-id: com.github.Darazaki.Spedread
desktop: usr/share/applications/com.github.Darazaki.Spedread.desktop

parts:
spedread:
source: .
source-tag: v2.4.7-fixed
plugin: meson
parse-info: [usr/share/appdata/com.github.Darazaki.Spedread.appdata.xml]
meson-parameters:
- -Dprefix=/usr
- -Dadw_1_2=true
override-pull: |
craftctl default
sed -e 's|Icon=com.github.Darazaki.Spedread|Icon=${SNAP}/usr/share/icons/hicolor/scalable/apps/com.github.Darazaki.Spedread.svg|' -i data/com.github.Darazaki.Spedread.desktop.in

0 comments on commit ed9c8fc

Please sign in to comment.