summaryrefslogtreecommitdiff
path: root/flatpak
diff options
context:
space:
mode:
authorJacob Sandlund <jacob@jacobsandlund.com>2025-08-21 21:13:40 -0400
committerJacob Sandlund <jacob@jacobsandlund.com>2025-08-21 21:13:40 -0400
commit90832d89b3c0b36c4c83989dca2d51f66af20f2e (patch)
tree74606d2d406307ad99e81d98bb0a18430ce831b0 /flatpak
parent8f0785e90aaf4ab71b184307e986a3c62facb74a (diff)
parent298f11166d4762741dd84fb48c8f96a09d0fb326 (diff)
Merge remote-tracking branch 'upstream/main' into jacob/uucode
Diffstat (limited to 'flatpak')
-rw-r--r--flatpak/com.mitchellh.ghostty-debug.yml4
-rw-r--r--flatpak/com.mitchellh.ghostty.yml4
-rw-r--r--flatpak/dependencies.yml18
-rw-r--r--flatpak/zig-packages.json6
4 files changed, 23 insertions, 9 deletions
diff --git a/flatpak/com.mitchellh.ghostty-debug.yml b/flatpak/com.mitchellh.ghostty-debug.yml
index fe4722ef5..51c41931b 100644
--- a/flatpak/com.mitchellh.ghostty-debug.yml
+++ b/flatpak/com.mitchellh.ghostty-debug.yml
@@ -2,8 +2,6 @@ app-id: com.mitchellh.ghostty-debug
runtime: org.gnome.Platform
runtime-version: "48"
sdk: org.gnome.Sdk
-sdk-extensions:
- - org.freedesktop.Sdk.Extension.ziglang
default-branch: tip
command: ghostty
rename-icon: com.mitchellh.ghostty
@@ -37,7 +35,7 @@ modules:
- name: ghostty
buildsystem: simple
build-options:
- append-path: /usr/lib/sdk/ziglang
+ append-path: /app/zig
build-commands:
- zig build
-Doptimize=Debug
diff --git a/flatpak/com.mitchellh.ghostty.yml b/flatpak/com.mitchellh.ghostty.yml
index 1b119c11b..f5af4235d 100644
--- a/flatpak/com.mitchellh.ghostty.yml
+++ b/flatpak/com.mitchellh.ghostty.yml
@@ -2,8 +2,6 @@ app-id: com.mitchellh.ghostty
runtime: org.gnome.Platform
runtime-version: "48"
sdk: org.gnome.Sdk
-sdk-extensions:
- - org.freedesktop.Sdk.Extension.ziglang
default-branch: tip
command: ghostty
finish-args:
@@ -36,7 +34,7 @@ modules:
- name: ghostty
buildsystem: simple
build-options:
- append-path: /usr/lib/sdk/ziglang
+ append-path: /app/zig
build-commands:
- zig build
-Doptimize=ReleaseFast
diff --git a/flatpak/dependencies.yml b/flatpak/dependencies.yml
index efb5851e9..0ff0784c2 100644
--- a/flatpak/dependencies.yml
+++ b/flatpak/dependencies.yml
@@ -3,6 +3,24 @@ buildsystem: simple
build-commands:
- true
modules:
+ - name: zig
+ buildsystem: simple
+ cleanup:
+ - "*"
+ build-commands:
+ - mkdir -p /app/zig
+ - cp -r ./* /app/zig
+ - chmod a+x /app/zig/zig
+ sources:
+ - type: archive
+ sha256: 24aeeec8af16c381934a6cd7d95c807a8cb2cf7df9fa40d359aa884195c4716c
+ url: https://ziglang.org/download/0.14.1/zig-x86_64-linux-0.14.1.tar.xz
+ only-arches: [x86_64]
+ - type: archive
+ sha256: f7a654acc967864f7a050ddacfaa778c7504a0eca8d2b678839c21eea47c992b
+ url: https://ziglang.org/download/0.14.1/zig-aarch64-linux-0.14.1.tar.xz
+ only-arches: [aarch64]
+
- name: bzip2-redirect
buildsystem: simple
build-commands:
diff --git a/flatpak/zig-packages.json b/flatpak/zig-packages.json
index cdf566fda..02d5ea1c7 100644
--- a/flatpak/zig-packages.json
+++ b/flatpak/zig-packages.json
@@ -61,9 +61,9 @@
},
{
"type": "archive",
- "url": "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/3cbeca99efa10beba24b0efe86331736f09f9ed1.tar.gz",
- "dest": "vendor/p/N-V-__8AABemXQQj_VhMpwuOSOiSzywW_yGD6aEL9YGI9uBu",
- "sha256": "825e3634e679f6893eba61c21db7414215828055698f93c06435468494696e20"
+ "url": "https://github.com/mbadolato/iTerm2-Color-Schemes/archive/8b639f0c2605557bd23ba1b940842c67bbfd4ed0.tar.gz",
+ "dest": "vendor/p/N-V-__8AAAlgXwSghpDmXBXZM4Rpd80WKOXVWTrcL0ucVmls",
+ "sha256": "3f249617ff4800ae0364291de4546989a225e9eb76426eadf082824f387f5dad"
},
{
"type": "archive",