commit: 78bc7c60e0fbeaa7c6a1747d6e87b62b5e8590b3 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Fri Aug 1 15:03:24 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Fri Aug 1 15:11:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78bc7c60
gnome-extra/tecla: Fix automagic dep on gtk[wayland] Closes: https://bugs.gentoo.org/958296 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> gnome-extra/tecla/tecla-48.0.2.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnome-extra/tecla/tecla-48.0.2.ebuild b/gnome-extra/tecla/tecla-48.0.2.ebuild index 2fb57e0e1f78..3b0114ef9039 100644 --- a/gnome-extra/tecla/tecla-48.0.2.ebuild +++ b/gnome-extra/tecla/tecla-48.0.2.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="Tecla is a keyboard layout viewer" HOMEPAGE="https://gitlab.gnome.org/GNOME/tecla" @@ -11,9 +11,10 @@ HOMEPAGE="https://gitlab.gnome.org/GNOME/tecla" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +IUSE="wayland" RDEPEND=" - gui-libs/gtk:4[introspection] + gui-libs/gtk:4[introspection,wayland?] >=gui-libs/libadwaita-1.4_alpha:1 x11-libs/libxkbcommon " @@ -24,6 +25,11 @@ BDEPEND=" virtual/pkgconfig " +src_configure() { + use wayland || append-cppflags -DGENTOO_GTK_HIDE_WAYLAND + meson_src_configure +} + pkg_postinst() { xdg_pkg_postinst gnome2_schemas_update
