commit:     e7c5be0b11edb4cb05923d27d9f1e615880991ab
Author:     Lukas Schmelting <lschmelting <AT> posteo <DOT> com>
AuthorDate: Wed Jul 30 22:22:22 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 16 08:15:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c5be0b

media-libs/clutter: enforce binary dependency on gtk wayland backend

```
 * QA Notice: binaries depend on Gtk's wayland-specific ABI without USE dep:
 *
 *   /usr/lib64/libclutter-1.0.so.0.2600.4

 * QA Notice: binaries depend on Gtk's x11-specific ABI without USE dep:
 *
 *   /usr/lib64/libclutter-1.0.so.0.2600.4
 ```

Closes: https://bugs.gentoo.org/957838
Closes: https://bugs.gentoo.org/957839
Signed-off-by: Lukas Schmelting <lschmelting <AT> posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/43235
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{clutter-1.26.4-r1.ebuild => clutter-1.26.4-r2.ebuild}    | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/media-libs/clutter/clutter-1.26.4-r1.ebuild 
b/media-libs/clutter/clutter-1.26.4-r2.ebuild
similarity index 90%
rename from media-libs/clutter/clutter-1.26.4-r1.ebuild
rename to media-libs/clutter/clutter-1.26.4-r2.ebuild
index 069d800fd1da..431d67833198 100644
--- a/media-libs/clutter/clutter-1.26.4-r1.ebuild
+++ b/media-libs/clutter/clutter-1.26.4-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-inherit gnome2 virtualx
+inherit flag-o-matic gnome2 virtualx
 
 DESCRIPTION="Clutter is a library for creating graphical user interfaces"
 HOMEPAGE="https://wiki.gnome.org/Projects/Clutter";
@@ -11,7 +11,7 @@ HOMEPAGE="https://wiki.gnome.org/Projects/Clutter";
 LICENSE="LGPL-2.1+ FDL-1.1+"
 SLOT="1.0"
 KEYWORDS="~alpha amd64 ~arm arm64 ~loong ~mips ppc ppc64 ~riscv ~sparc x86"
-IUSE="aqua debug doc egl gtk +introspection test wayland X"
+IUSE="X aqua debug doc egl gtk +introspection test wayland"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="
        || ( aqua wayland X )
@@ -38,7 +38,7 @@ RDEPEND="
                >=dev-libs/libgudev-136
                x11-libs/libxkbcommon
        )
-       gtk? ( >=x11-libs/gtk+-3.22.6:3[aqua?] )
+       gtk? ( >=x11-libs/gtk+-3.22.6:3[X?,aqua?,wayland?] )
        introspection? ( >=dev-libs/gobject-introspection-1.39:= )
        X? (
                media-libs/fontconfig
@@ -80,6 +80,9 @@ src_prepare() {
 }
 
 src_configure() {
+       use X || append-cppflags -DGENTOO_GTK_HIDE_X11
+       use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND
+
        # XXX: Conformance test suite (and clutter itself) does not work under 
Xvfb
        # (GLX error blabla)
        # XXX: coverage disabled for now

Reply via email to