Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions recipes/ghostty/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#! /bin/bash

set -ex

zig build \
--prefix $PREFIX \
-Doptimize=ReleaseFast \
-Dcpu=baseline
15 changes: 15 additions & 0 deletions recipes/ghostty/patches/0001-iterm2-color-schemes.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/build.zig.zon b/build.zig.zon
index f8d8c1676..571450335 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -113,8 +113,8 @@
// Other
.apple_sdk = .{ .path = "./pkg/apple-sdk" },
.iterm2_themes = .{
- .url = "https://github.com/mbadolato/iTerm2-Color-Schemes/releases/download/release-20251002-142451-4a5043e/ghostty-themes.tgz",
- .hash = "N-V-__8AALIsAwDyo88G5mGJGN2lSVmmFMx4YePfUvp_2o3Y",
+ .url = "https://github.com/mbadolato/iTerm2-Color-Schemes/releases/download/release-20251110-150531-d5f3d53/ghostty-themes.tgz",
+ .hash = "N-V-__8AAPZCAwDJ0OsIn2nbr3FMvBw68oiv-hC2pFuY1eLN",
.lazy = true,
},
},
41 changes: 41 additions & 0 deletions recipes/ghostty/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# yaml-language-server: $schema=https://raw.githubusercontent.com/prefix-dev/recipe-format/main/schema.json
schema_version: 1

context:
version: "1.2.3"

package:
name: ghostty
version: ${{ version }}

source:
url: https://release.files.ghostty.org/${{ version }}/ghostty-${{ version }}.tar.gz
sha256: 559770fe9773161e93e3dd9177d916e27037d7f548edcf6186eabc571c0e520b
patches:
patches/0001-iterm2-color-schemes.patch

build:
number: 0
skip: not linux

requirements:
build:
- zig =0.14.1
- pkg-config
host:
- gtk4
- glib
- zlib
- expat
- gtk4-layer-shell
- gettext

about:
license: MIT
license_file: LICENSE
homepage: https://github.com/ghostty-org/ghostty
summary: Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration

extra:
recipe-maintainers:
- davidbrochart
Loading