commit:     66cc8d0489e2a392560b0c2ca61b77c9f1e3ff91
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May  8 15:47:13 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed May  8 17:55:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66cc8d04

gui-apps/eww: update dependencies

Dep on gui-libs/gtk-layer-shell is indeed conditional on USE=wayland

pkgconf expects x11-base/xorg-proto to be present at build-time --
independently of x11-libs/gtk+:3[+-X] -- even though the headers never
get included :/

Closes: https://bugs.gentoo.org/931499
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 .../{eww-0.5.0-r3.ebuild => eww-0.5.0-r4.ebuild}   | 24 ++++++++++++++--------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/gui-apps/eww/eww-0.5.0-r3.ebuild b/gui-apps/eww/eww-0.5.0-r4.ebuild
similarity index 95%
rename from gui-apps/eww/eww-0.5.0-r3.ebuild
rename to gui-apps/eww/eww-0.5.0-r4.ebuild
index 9848ca027f..4578e7ffcd 100644
--- a/gui-apps/eww/eww-0.5.0-r3.ebuild
+++ b/gui-apps/eww/eww-0.5.0-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -318,15 +318,21 @@ SLOT="0"
 IUSE="X wayland"
 REQUIRED_USE="|| ( X wayland )"
 
-DEPEND="
-       X? ( x11-libs/gtk+:3[X] )
-       wayland? ( x11-libs/gtk+:3[wayland] )
+RDEPEND="
+       dev-libs/glib:2
+       x11-libs/cairo[glib]
+       x11-libs/gdk-pixbuf:2
+       x11-libs/gtk+:3[X?,wayland?]
        x11-libs/pango
-       x11-libs/gdk-pixbuf
-       x11-libs/cairo
-       >=dev-libs/glib-2.0
-       sys-devel/gcc
-       gui-libs/gtk-layer-shell
+       wayland? ( gui-libs/gtk-layer-shell )
+"
+# transitively hard-depend on xorg-proto due to gdk-3.0.pc
+DEPEND="${RDEPEND}
+       x11-base/xorg-proto
+"
+BDEPEND="
+       virtual/pkgconfig
+       >=virtual/rust-1.74.0
 "
 
 QA_FLAGS_IGNORED="usr/bin/.*"

Reply via email to