commit: 807e4aa76eda561156f4f58036491a657bc24c6f Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> AuthorDate: Wed Aug 6 09:28:39 2025 +0000 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> CommitDate: Wed Aug 6 09:40:09 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=807e4aa7
gnome-extra/yelp: Fix gtk X automagic dependency Closes: https://bugs.gentoo.org/957814 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> gnome-extra/yelp/yelp-42.3.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gnome-extra/yelp/yelp-42.3.ebuild b/gnome-extra/yelp/yelp-42.3.ebuild index 3cde8e4fa94a..4b7b1c833848 100644 --- a/gnome-extra/yelp/yelp-42.3.ebuild +++ b/gnome-extra/yelp/yelp-42.3.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit gnome.org gnome2-utils meson xdg +inherit flag-o-matic gnome.org gnome2-utils meson xdg DESCRIPTION="Help browser for GNOME" HOMEPAGE="https://apps.gnome.org/Yelp/" @@ -10,10 +10,11 @@ HOMEPAGE="https://apps.gnome.org/Yelp/" LICENSE="GPL-2+" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="X" RDEPEND=" >=dev-libs/glib-2.67.4:2 - >=x11-libs/gtk+-3.13.3:3 + >=x11-libs/gtk+-3.13.3:3[X?] >=gui-libs/libhandy-1.5.0:1 >=dev-libs/libxml2-2.6.5:2= >=dev-libs/libxslt-1.1.4 @@ -31,6 +32,8 @@ BDEPEND=" " src_configure() { + use X || append-cppflags -DGENTOO_GTK_HIDE_X11 + local emesonargs=( -Dlzma=enabled -Dbzip2=enabled
