diff options
| author | Ken VanDine <ken.vandine@canonical.com> | 2025-01-09 14:26:59 -0500 |
|---|---|---|
| committer | Mitchell Hashimoto <m@mitchellh.com> | 2025-02-15 07:06:40 -0800 |
| commit | 48f94e6fcc3b0b278b80fd3bacbf8bdffed50dbc (patch) | |
| tree | 93e419cedc82ed43590f86b4773270bb95c8528f /snap | |
| parent | 43b2e43a119030a835428ef7e092c77f85bcfdcb (diff) | |
Stage more depends to ensure we aren't getting leaks from the host
Diffstat (limited to 'snap')
| -rw-r--r-- | snap/snapcraft.yaml | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index d013f5bd5..a666c73dc 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -72,11 +72,31 @@ parts: - libgtk-4-dev - libadwaita-1-dev - git - stage-packages: - - libadwaita-1-0 - - libgtk-4-1 override-build: | craftctl set version=$(grep version build.zig.zon |awk -F '"' '{print $2}')-$(git describe --abbrev=8) $CRAFT_PART_SRC/../../zig/src/zig build -Doptimize=ReleaseFast cp -rp zig-out/* $CRAFT_PART_INSTALL/ sed -i 's|Icon=com.mitchellh.ghostty|Icon=/snap/ghostty/current/share/icons/hicolor/512x512/apps/com.mitchellh.ghostty.png|g' $CRAFT_PART_INSTALL/share/applications/com.mitchellh.ghostty.desktop + + libs: + plugin: nil + stage-packages: + - libadwaita-1-0 + - libgtk-4-1 + - libgtk-4-media-gstreamer + - ibus-gtk4 + - libegl1 + - libegl-mesa0 + - libgl1-mesa-dri + - libglapi-mesa + - libglu1-mesa + - libglx-mesa0 + - mesa-va-drivers + - mesa-vulkan-drivers + - libpciaccess0 + - libtinfo6 + - libedit2 + - libelf1t64 + - libsensors5 + - libllvm17 + - on amd64: [i965-va-driver,libdrm-intel1,libdrm-nouveau2,libdrm-amdgpu1,libdrm-radeon1] |
