Skip to content

Commit

Permalink
ci: snap: revert to core20/gnome-3-38
Browse files Browse the repository at this point in the history
core22 is apparently only required for GTK4 apps
  • Loading branch information
yktoo committed Oct 2, 2023
1 parent d3644f9 commit 0bbf30f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ confinement: strict

architectures:
- build-on: amd64
run-on: amd64

apps:
ymuse:
desktop: com.yktoo.ymuse.desktop
command: ymuse
extensions:
- gnome-3-34
- gnome-3-38
plugs:
- network
slots:
Expand Down Expand Up @@ -45,7 +44,8 @@ parts:
override-build: |
set -eu
go generate
go build -ldflags "-s -w -X main.version=$(git describe --always --tags) -X main.commit=$(git rev-parse HEAD) -X main.date=$(date --iso-8601=seconds)" -o "${SNAPCRAFT_PART_INSTALL}"
CGO_LDFLAGS="-s -w -X main.version=$(git describe --always --tags) -X main.commit=$(git rev-parse HEAD) -X main.date=$(date --iso-8601=seconds)"
go build -tags "glib_2_64" -o "${SNAPCRAFT_PART_INSTALL}"
resources:
plugin: dump
Expand Down

0 comments on commit 0bbf30f

Please sign in to comment.