Skip to content

Commit c24a500

Browse files
authored
build: migrate dev to core22 (#94)
1 parent 6b26492 commit c24a500

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

snap/snapcraft.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,10 @@ issues: https://github.com/snapcrafters/sublime-text/issues
1515
website: https://www.sublimetext.com/
1616
license: Proprietary
1717

18-
# Do not rev to core22. The upstream binary appears to be built on/against Ubuntu 20.04
19-
# so moving to core22 will likely break this, as the new core will ship newer incompatible
20-
# libc - as seen in issue #47
21-
base: core20
18+
base: core22
2219
architectures:
23-
- build-on: arm64
24-
- build-on: amd64
20+
- arm64
21+
- amd64
2522

2623
grade: stable
2724
confinement: classic
@@ -31,6 +28,8 @@ apps:
3128
subl:
3229
command: opt/sublime_text/sublime_text
3330
desktop: usr/share/applications/sublime_text.desktop
31+
environment:
32+
LD_LIBRARY_PATH: $SNAP/usr/lib/x86_64-linux-gnu:$SNAP/usr/lib/aarch64-linux-gnu
3433

3534
parts:
3635
sublime-text:
@@ -46,6 +45,7 @@ parts:
4645
stage-packages:
4746
- libbsd0
4847
- libffi7
48+
- libgl1
4949
- libgtk-3-0
5050
- libpcre3
5151
- libx11-6

0 commit comments

Comments
 (0)