From 93d9414463301e08cf81ec11be10d8cd02c61df3 Mon Sep 17 00:00:00 2001 From: sin-ack Date: Fri, 27 Dec 2024 17:14:02 +0000 Subject: [PATCH] x11-terms/ghostty: require gui-libs/gtk[X] for gtk backend Closes: https://bugs.gentoo.org/947032 Signed-off-by: sin-ack Closes: https://github.com/gentoo/gentoo/pull/39867 Signed-off-by: Sam James --- .../{ghostty-1.0.0.ebuild => ghostty-1.0.0-r1.ebuild} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) rename x11-terms/ghostty/{ghostty-1.0.0.ebuild => ghostty-1.0.0-r1.ebuild} (97%) diff --git a/x11-terms/ghostty/ghostty-1.0.0.ebuild b/x11-terms/ghostty/ghostty-1.0.0-r1.ebuild similarity index 97% rename from x11-terms/ghostty/ghostty-1.0.0.ebuild rename to x11-terms/ghostty/ghostty-1.0.0-r1.ebuild index 9f4bb852cc55c..9a7504bcf72d5 100644 --- a/x11-terms/ghostty/ghostty-1.0.0.ebuild +++ b/x11-terms/ghostty/ghostty-1.0.0-r1.ebuild @@ -63,9 +63,12 @@ KEYWORDS="~amd64" # TODO: simdutf integration (missing Gentoo version) # TODO: spirv-cross integration (missing Gentoo package) # TODO: glfw integration (no option from upstream) +# NOTE: gtk backend requires X right now since ghostty unconditionally +# includes gdk/x11/gdkx.h. +# https://github.com/ghostty-org/ghostty/issues/3477 RDEPEND=" adwaita? ( gui-libs/libadwaita:1= ) - gtk? ( gui-libs/gtk:4= ) + gtk? ( gui-libs/gtk:4=[X] ) system-fontconfig? ( >=media-libs/fontconfig-2.14.2:= ) system-freetype? ( >=media-libs/freetype-2.13.2:=[bzip2] )