working on debian trixie
parent
6b1e9f9215
commit
7927e9ce77
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#Script to build ghostty from source. It automatically grabs required zig version binary.
|
#Script to build ghostty from source. It automatically grabs required zig version binary.
|
||||||
#v1.0.4
|
#v1.0.5
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
|
@ -179,12 +179,6 @@ install_deps_linux() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Verify critical header files instead of pkg-config
|
|
||||||
#[[ -f /usr/include/gtk-4.0/gtk/gtk.h ]] || error "GTK4 headers not found. Install libgtk-4-dev."
|
|
||||||
#[[ -f /usr/include/adwaita-1.0/adwaita.h ]] || error "libadwaita headers not found. Install libadwaita-1-dev."
|
|
||||||
#[[ -f /usr/include/gtk-layer-shell-1.0/gtk-layer-shell.h ]] || error "GTK Layer Shell headers not found. Install libgtk4-layer-shell-dev."
|
|
||||||
#[[ -f /usr/include/harfbuzz/harfbuzz.h ]] || error "Harfbuzz headers not found. Install libharfbuzz-dev."
|
|
||||||
|
|
||||||
elif command_exists pacman; then
|
elif command_exists pacman; then
|
||||||
sudo pacman -Sy --noconfirm \
|
sudo pacman -Sy --noconfirm \
|
||||||
git gtk4 gtk4-layer-shell libadwaita gettext pkgconf curl tar xz g++ blueprint-compiler harfbuzz
|
git gtk4 gtk4-layer-shell libadwaita gettext pkgconf curl tar xz g++ blueprint-compiler harfbuzz
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue