39 lines
1.0 KiB
Bash
Raw Normal View History

2024-12-26 23:46:15 +01:00
# Template file for 'ghostty'
pkgname=ghostty
2025-02-14 18:09:42 +01:00
version=1.1.2
2025-01-01 04:36:52 +01:00
revision=1
2024-12-26 23:46:15 +01:00
build_style=zig-build
configure_args="
-Doptimize=ReleaseFast
-Dpie
-Dversion-string=${version}
-fsys=freetype
-fsys=fontconfig
-fsys=harfbuzz"
hostmakedepends="pkg-config glib-devel pandoc"
makedepends="fontconfig-devel freetype-devel harfbuzz-devel gtk4-devel libadwaita-devel"
depends="ghostty-terminfo-${version}_${revision}"
2024-12-26 23:46:15 +01:00
short_desc="Fast and feature-rich terminal emulator that uses GPU acceleration"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="MIT"
homepage="https://ghostty.org/"
distfiles="https://github.com/ghostty-org/ghostty/archive/refs/tags/v${version}.tar.gz"
2025-02-14 18:09:42 +01:00
checksum=54d74a49df9f2e4b9a8b7c88372bdb78f4e3c4f072f6cee197c873e90ba27d19
2024-12-26 23:46:15 +01:00
2025-02-01 15:22:05 +01:00
case "${XBPS_TARGET_MACHINE}" in
armv*) broken="src/apprt/gtk/cgroup.zig:70:14: error: expected type 'usize', found 'u64'" ;;
esac
2024-12-26 23:46:15 +01:00
post_install() {
vlicense LICENSE
rm -f ${DESTDIR}/usr/share/man/.placeholder
}
ghostty-terminfo_package() {
short_desc+=" - terminfo data"
pkg_install() {
vmove usr/share/terminfo
}
2024-12-26 23:46:15 +01:00
}