From 558ae7a666bfbca1f46d896247848127cb3e6aef Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Tue, 5 Aug 2025 11:49:44 +0200 Subject: [PATCH] x11-terms/ptyxis: Fix gtk X/wayland magic dependency. Closes: https://bugs.gentoo.org/958434 Signed-off-by: Pacho Ramos --- x11-terms/ptyxis/ptyxis-48.5.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/x11-terms/ptyxis/ptyxis-48.5.ebuild b/x11-terms/ptyxis/ptyxis-48.5.ebuild index bc5d9e7085d81..f631123522d3b 100644 --- a/x11-terms/ptyxis/ptyxis-48.5.ebuild +++ b/x11-terms/ptyxis/ptyxis-48.5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit gnome.org gnome2-utils meson xdg +inherit flag-o-matic gnome.org gnome2-utils meson xdg DESCRIPTION="A terminal for a container-oriented desktop" HOMEPAGE="https://gitlab.gnome.org/chergert/ptyxis" @@ -11,12 +11,12 @@ HOMEPAGE="https://gitlab.gnome.org/chergert/ptyxis" LICENSE="LGPL-3+" SLOT="0" KEYWORDS="~amd64" -IUSE="test" +IUSE="X test" RESTRICT="!test? ( test )" RDEPEND=" >=dev-libs/glib-2.80:2 - >=gui-libs/gtk-4.12.2:4 + >=gui-libs/gtk-4.12.2:4[X?] >=gui-libs/libadwaita-1.6:1 >=gui-libs/vte-0.79:2.91-gtk4 dev-libs/libportal[gtk] @@ -36,6 +36,7 @@ BDEPEND=" " src_configure() { + use X || append-cflags -DGENTOO_GTK_HIDE_X11 local emesonargs=( -Ddevelopment=false -Dgeneric=terminal