Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
ghostty
Commits:
f6f09034 by Caleb Maclennan at 2025-01-11T15:29:46+03:00
upgpkg: 1.0.1-3: Add missing dependency, fixup odds and ends
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = ghostty
pkgdesc = Fast, native, feature-rich terminal emulator pushing modern
features
pkgver = 1.0.1
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/ghostty-org/ghostty
arch = x86_64
arch = aarch64
@@ -22,6 +22,7 @@ pkgbase = ghostty
depends = libgobject-2.0.so
depends = gtk4
depends = libgtk-4.so
+ depends = libx11
depends = harfbuzz
depends = libharfbuzz.so
depends = libadwaita
@@ -47,6 +48,7 @@ pkgname = ghostty
depends = libgobject-2.0.so
depends = gtk4
depends = libgtk-4.so
+ depends = libx11
depends = harfbuzz
depends = libharfbuzz.so
depends = libadwaita
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
pkgbase=ghostty
pkgname=(ghostty ghostty-shell-integration ghostty-terminfo)
pkgver=1.0.1
-pkgrel=2
+pkgrel=3
pkgdesc='Fast, native, feature-rich terminal emulator pushing modern features'
arch=(x86_64 aarch64 i686)
url="https://github.com/ghostty-org/$pkgbase"
@@ -16,6 +16,7 @@ depends=(bzip2
glibc # libc.so libm.so
glib2 libglib-2.0.so libgio-2.0.so libgobject-2.0.so
gtk4 libgtk-4.so
+ libx11 # libX11.so
harfbuzz libharfbuzz.so
libadwaita libadwaita-1.so
libpng
@@ -35,15 +36,16 @@ prepare() {
build() {
cd "$_archive"
- DESTDIR="build" zig build \
+ DESTDIR=build zig build \
--summary all \
--prefix "/usr" \
--system "$srcdir/zig-global-cache/p" \
-Doptimize=ReleaseFast \
+ -Dgtk-x11=true \
-Dcpu=baseline \
-Dpie=true \
-Demit-docs \
- -Dversion-string="$pkgver"
+ -Dversion-string="$pkgver-arch"
}
package_ghostty() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ghostty/-/commit/f6f090343ef10cb39e92f48cf501eeff9a742036
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/ghostty/-/commit/f6f090343ef10cb39e92f48cf501eeff9a742036
You're receiving this email because of your account on gitlab.archlinux.org.