Skip to content

Commit

Permalink
snap: port to core24 (#666)
Browse files Browse the repository at this point in the history
  • Loading branch information
lidaobing authored Feb 16, 2025
1 parent c7c0958 commit 19fa9be
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "git" # just for humans, typically '1.2+git' or '1.3.2'
adopt-info: iptux
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots
base: core22
base: core24

slots:
dbus-iptux:
Expand Down Expand Up @@ -38,17 +38,14 @@ parts:
plugin: meson
meson-parameters: ["--prefix=/snap/iptux/current/usr"]
override-pull: |
snapcraftctl pull
craftctl default
override-build: |
snapcraftctl build
sed -i -e 's|Icon=iptux-icon|Icon=/usr/share/iptux/pixmaps/icon/iptux-icon.png|g' \
$SNAPCRAFT_PART_INSTALL/snap/iptux/current/usr/share/applications/io.github.iptux_src.iptux.desktop
# xvfb-run -a meson test -C snapbuild --verbose --no-stdsplit
craftctl default
organize:
snap/iptux/current/usr: usr
stage-packages:
- libgflags2.2
- libgoogle-glog0v5
- libgoogle-glog0v6t64
- libjsoncpp25
- libsigc++-2.0-0v5
- libayatana-appindicator3-1
Expand Down

0 comments on commit 19fa9be

Please sign in to comment.