commit:     64f361e879253404c93c89551dbafa7c22378083
Author:     Lukas Schmelting <lschmelting <AT> posteo <DOT> com>
AuthorDate: Wed Jul 30 21:36:34 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Sun Sep  7 20:25:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64f361e8

x11-terms/ptyxis: enforce binary dependency on gtk x11 backend

```
 * QA Notice: binaries depend on Gtk's x11-specific ABI without USE dep:
 *
 *   /usr/bin/ptyxis
```

Closes: https://bugs.gentoo.org/958434
Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/43235
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 x11-terms/ptyxis/{ptyxis-47.13.ebuild => ptyxis-47.13-r1.ebuild} | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/x11-terms/ptyxis/ptyxis-47.13.ebuild 
b/x11-terms/ptyxis/ptyxis-47.13-r1.ebuild
similarity index 85%
rename from x11-terms/ptyxis/ptyxis-47.13.ebuild
rename to x11-terms/ptyxis/ptyxis-47.13-r1.ebuild
index 5f69ac787498..a269d55f36cb 100644
--- a/x11-terms/ptyxis/ptyxis-47.13.ebuild
+++ b/x11-terms/ptyxis/ptyxis-47.13-r1.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.78.0:2.91-gtk4
        dev-libs/libportal[gtk]
@@ -36,6 +36,8 @@ BDEPEND="
 "
 
 src_configure() {
+       use X || append-cppflags -DGENTOO_GTK_HIDE_X11
+
        local emesonargs=(
                -Ddevelopment=false
                -Dgeneric=terminal

Reply via email to