commit:     5f0567d8e24c48e247b5e0fe5b2510c10324c031
Author:     Steffen Winter <steffen.winter <AT> proton <DOT> me>
AuthorDate: Wed Feb  7 12:36:58 2024 +0000
Commit:     Steffen Winter <stffn.mobil <AT> freenet <DOT> de>
CommitDate: Wed Feb  7 12:36:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f0567d8

gui-libs/xdg-desktop-portal-hyprland: Depend on either qt5 or qt6

Signed-off-by: Steffen Winter <steffen.winter <AT> proton.me>

 .../xdg-desktop-portal-hyprland-1.3.1.ebuild            | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git 
a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild 
b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild
index 6c155b2200..59600e480d 100644
--- 
a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild
+++ 
b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1.ebuild
@@ -22,7 +22,7 @@ fi
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="elogind systemd"
+IUSE="elogind qt6 systemd"
 REQUIRED_USE="?? ( elogind systemd )"
 
 DEPEND="
@@ -30,11 +30,16 @@ DEPEND="
        dev-cpp/sdbus-c++
        dev-libs/inih
        dev-libs/wayland
-       dev-qt/qtbase
-       dev-qt/qtcore
-       dev-qt/qtgui
-       dev-qt/qtwayland:6
-       dev-qt/qtwidgets
+       qt6? (
+               dev-qt/qtbase:6[gui,widgets]
+               dev-qt/qtwayland:6
+       )
+       !qt6? (
+               dev-qt/qtcore
+               dev-qt/qtgui
+               dev-qt/qtwidgets
+               dev-qt/qtwayland:5
+       )
        media-libs/mesa
        sys-apps/util-linux
        x11-libs/libdrm

Reply via email to