Skip to content

Commit 8996398

Browse files
committed
deps: Enable building gtk4-layer-shell without system integration
1 parent da0bb6a commit 8996398

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

snap/snapcraft.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,10 @@ parts:
7979
- git
8080
- patchelf
8181
- gettext
82+
# TODO: Remove -fno-sys=gtk4-layer-shell when we upgrade to a version that packages it Ubuntu 24.10+
8283
override-build: |
8384
craftctl set version=$(git describe --abbrev=8)
84-
$CRAFT_PART_SRC/../../zig/src/zig build -Dpatch-rpath=\$ORIGIN/../usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/core24/current/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR -Doptimize=ReleaseFast
85+
$CRAFT_PART_SRC/../../zig/src/zig build -Dpatch-rpath=\$ORIGIN/../usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR:/snap/core24/current/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR -Doptimize=ReleaseFast -fno-sys=gtk4-layer-shell
8586
cp -rp zig-out/* $CRAFT_PART_INSTALL/
8687
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
8788

0 commit comments

Comments
 (0)