commit:     5d8a8a451b30645c156393b5c11884ebf333afe6
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul  7 16:16:55 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul  7 16:16:55 2019 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=5d8a8a45

kde-apps/krfb: Add wayland remote desktop support (add USE wayland)

Upstream commit c05707884c17995bf22c5756075d0ad7c1046794

Closes: https://bugs.gentoo.org/686336
Package-Manager: Portage-2.3.68, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/krfb/krfb-9999.ebuild | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/kde-apps/krfb/krfb-9999.ebuild b/kde-apps/krfb/krfb-9999.ebuild
index 43a21ce9f5..b11128982c 100644
--- a/kde-apps/krfb/krfb-9999.ebuild
+++ b/kde-apps/krfb/krfb-9999.ebuild
@@ -9,7 +9,7 @@ inherit kde5
 DESCRIPTION="VNC-compatible server to share Plasma desktops"
 HOMEPAGE="https://kde.org/applications/system/krfb/";
 KEYWORDS=""
-IUSE=""
+IUSE="wayland"
 
 DEPEND="
        $(add_frameworks_dep kcompletion)
@@ -35,5 +35,16 @@ DEPEND="
        x11-libs/libxcb
        x11-libs/libXtst
        x11-libs/xcb-util-image
+       wayland? ( media-video/pipewire )
 "
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+       wayland? ( sys-apps/xdg-desktop-portal[screencast] )
+"
+
+src_configure() {
+       local mycmakeargs=(
+               $(cmake-utils_use_find_package wayland PipeWire)
+       )
+
+       kde5_src_configure
+}

Reply via email to