mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
flatpak: build GTK version
This commit is contained in:
@ -604,6 +604,9 @@ fn addDeps(
|
|||||||
try glfw.link(b, step, glfw_opts);
|
try glfw.link(b, step, glfw_opts);
|
||||||
|
|
||||||
step.linkSystemLibrary("gtk4");
|
step.linkSystemLibrary("gtk4");
|
||||||
|
|
||||||
|
// This is for Flatpak
|
||||||
|
step.addLibraryPath("/usr/lib/aarch64-linux-gnu");
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
app-id: com.mitchellh.ghostty
|
app-id: com.mitchellh.ghostty
|
||||||
runtime: org.freedesktop.Platform
|
runtime: org.gnome.Platform
|
||||||
runtime-version: '22.08'
|
runtime-version: '43'
|
||||||
sdk: org.freedesktop.Sdk
|
sdk: org.gnome.Sdk
|
||||||
platform-extensions:
|
platform-extensions:
|
||||||
- org.freedesktop.Platform.GL.default
|
- org.freedesktop.Platform.GL.default
|
||||||
default-branch: tip
|
default-branch: tip
|
||||||
@ -64,7 +64,7 @@ modules:
|
|||||||
- name: ghostty
|
- name: ghostty
|
||||||
buildsystem: simple
|
buildsystem: simple
|
||||||
build-commands:
|
build-commands:
|
||||||
- MACH_SDK_PATH="$(pwd)/vendor/mach-sdk" zig build -Dcpu=baseline --prefix /app
|
- MACH_SDK_PATH="$(pwd)/vendor/mach-sdk" zig build -Doptimize=ReleaseFast -Dcpu=baseline -Dapp-runtime=gtk --prefix /app
|
||||||
sources:
|
sources:
|
||||||
- type: dir
|
- type: dir
|
||||||
path: .
|
path: .
|
||||||
|
Reference in New Issue
Block a user