commit: 951d783222709a34bde6d9afd4edfbd9b98453fe Author: Julien Roy <julien <AT> jroy <DOT> ca> AuthorDate: Sat Feb 17 18:15:20 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Sat Feb 17 21:03:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=951d7832
gui-libs/xdg-desktop-portal-hyprland: move hyprlang to BDEPEND Signed-off-by: Julien Roy <julien <AT> jroy.ca> ... => xdg-desktop-portal-hyprland-1.3.1-r1.ebuild} | 21 +++++++++++++-------- .../xdg-desktop-portal-hyprland-9999.ebuild | 2 +- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r1.ebuild similarity index 88% copy from gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild copy to gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r1.ebuild index af03bb435c..f09bf0c356 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-1.3.1-r1.ebuild @@ -22,19 +22,25 @@ fi LICENSE="MIT" SLOT="0" -IUSE="elogind systemd" +IUSE="elogind qt6 systemd" REQUIRED_USE="?? ( elogind systemd )" DEPEND=" >=media-video/pipewire-0.3.41:= dev-cpp/sdbus-c++ + dev-libs/hyprlang:= 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 @@ -48,7 +54,6 @@ DEPEND=" RDEPEND=" ${DEPEND} sys-apps/xdg-desktop-portal - dev-libs/hyprlang " BDEPEND=" @@ -83,7 +88,7 @@ src_unpack() { } src_prepare() { - eapply "${FILESDIR}/xdg-desktop-portal-hyprland-9999_use_sys_sdbus-c++.patch" + eapply "${FILESDIR}/xdg-desktop-portal-hyprland-1.3.1_use_sys_sdbus-c++.patch" sed -i "/add_compile_options(-O3)/d" "${S}/CMakeLists.txt" || die cmake_src_prepare } diff --git a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild index af03bb435c..ac2bb3c938 100644 --- a/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild +++ b/gui-libs/xdg-desktop-portal-hyprland/xdg-desktop-portal-hyprland-9999.ebuild @@ -28,6 +28,7 @@ REQUIRED_USE="?? ( elogind systemd )" DEPEND=" >=media-video/pipewire-0.3.41:= dev-cpp/sdbus-c++ + dev-libs/hyprlang:= dev-libs/inih dev-libs/wayland dev-qt/qtbase @@ -48,7 +49,6 @@ DEPEND=" RDEPEND=" ${DEPEND} sys-apps/xdg-desktop-portal - dev-libs/hyprlang " BDEPEND="