add finished ghostty ebuild

This commit is contained in:
fabolous005 2024-12-27 14:17:52 +01:00
parent ef164d0d2c
commit 4f38ea2e57

View File

@ -3,7 +3,7 @@
EAPI=8 EAPI=8
inherit verify-sig edo git-r3 inherit edo git-r3
DESCRIPTION="Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration." DESCRIPTION="Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration."
HOMEPAGE="ghostty.org" HOMEPAGE="ghostty.org"
@ -16,7 +16,9 @@ EZIG_MIN="0.13"
EZIG_MAX_EXCLUSIVE="0.14" EZIG_MAX_EXCLUSIVE="0.14"
# RDEPEND="${DEPEND}" # RDEPEND="${DEPEND}"
BDEPEND="" BDEPEND="
gui-libs/gtk[X]
"
QA_FLAGS_IGNORED="usr/bin/ghostty" QA_FLAGS_IGNORED="usr/bin/ghostty"
@ -98,7 +100,9 @@ src_unpack() {
git-r3_fetch git-r3_fetch
git-r3_checkout git-r3_checkout
cd ${S} || return cd ${S} || return
edo zig build --fetch zig build --fetch 2>/dev/null
zig build --fetch 2>/dev/null
zig build --fetch 2>/dev/null
} }
src_configure() { src_configure() {
@ -107,7 +111,7 @@ src_configure() {
} }
src_compile() { src_compile() {
ezig build run -Doptimize=ReleaseFast ezig build -Doptimize=ReleaseFast
} }
src_test() { src_test() {
@ -115,7 +119,5 @@ src_test() {
} }
src_install() { src_install() {
emake PREFIX="${ED}"/usr install ezig build -p "${ED}"/usr -Doptimize=ReleaseFast
dodoc README.md ChangeLog
} }