33# homebrew/restorekit.rb). The plain `restorekit` snap name is the desktop
44# app; the CLI ships separately as `restorekit-cli` (see .goreleaser.yaml).
55#
6- # base core22 must match the runner the .deb is built on (ubuntu-22 .04) —
6+ # base core24 must match the runner the .deb is built on (ubuntu-24 .04) —
77# bump both together.
8+ #
9+ # core24 is load-bearing, not housekeeping: on core24 the gnome extension
10+ # resolves to gnome-46-2404 and plugs `gpu-2404`, which hands the snap a
11+ # self-consistent Mesa userspace from the mesa-2404 content snap. A core22
12+ # build has no gpu-2404 and instead borrows the *host's* DRI drivers through
13+ # the plain `opengl` interface. Once the host's Mesa outruns the runtime's
14+ # (Ubuntu 26.04 ships Mesa 26; gnome-42-2204 carries 25.2), the two disagree
15+ # about the driver-loading interface and the app dies at startup with
16+ # "libEGL fatal: did not find extension DRI_Mesa version 1". No environment
17+ # variable works around it — the failure is under the app, in EGL.
818name : restorekit
919title : RestoreKit
10- base : core22
20+ base : core24
1121version : " VERSION_PLACEHOLDER"
1222summary : Restore Apple Silicon Macs with one click
1323description : |
@@ -20,10 +30,11 @@ license: Apache-2.0
2030grade : stable
2131confinement : strict
2232
23- # WebKit looks up its subprocess binaries at the host path.
33+ # WebKit looks up its subprocess binaries at the host path. core24 dropped
34+ # $CRAFT_ARCH_TRIPLET in favour of the explicit build-for spelling.
2435layout :
25- /usr/lib/$CRAFT_ARCH_TRIPLET /webkit2gtk-4.1 :
26- bind : $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET /webkit2gtk-4.1
36+ /usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR /webkit2gtk-4.1 :
37+ bind : $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR /webkit2gtk-4.1
2738
2839apps :
2940 restorekit :
3950 source-type : deb
4051 # GTK3 comes from the gnome extension; webkit2gtk does not. Neither does
4152 # libusb — restorekit-desktop links it dynamically, and it's in neither
42- # core22 nor gnome-42-2204 , so the app dies at exec with
53+ # core24 nor gnome-46-2404 , so the app dies at exec with
4354 # "libusb-1.0.so.0: cannot open shared object file".
4455 stage-packages :
4556 - libwebkit2gtk-4.1-0
0 commit comments