summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/krfb/Manifest1
-rw-r--r--kde-apps/krfb/krfb-22.08.3.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/kde-apps/krfb/Manifest b/kde-apps/krfb/Manifest
index e0c2d67d6d18..6dae81cd9b60 100644
--- a/kde-apps/krfb/Manifest
+++ b/kde-apps/krfb/Manifest
@@ -1,2 +1,3 @@
DIST krfb-22.04.3.tar.xz 1301788 BLAKE2B 697d775132dad6a2e83cb3a4fbb4531b137745295f92a03f8881962f47ec2cf612f341592bacdecbe4b8b3a1206888f7d0e2cdcf9733a18615d9f0b15b018c64 SHA512 cf82dfa43422b4d4acb1c8471d527fa308496ae806a834e83bd4f6f1f1c0dfa393215b798369eaeff426fe25946d9a69043189816a15bbd14d7b6723552691b9
DIST krfb-22.08.2.tar.xz 1295960 BLAKE2B 06b7462aa05cf188c2fc5071e1302129c4f9976f0bd2c74627ac436ef689977b5139a8f486db43147eaabb8c507adf34590d291b955d9bbe4c2c29fb4829f124 SHA512 999f656a5a574d42204f7778cd09e9cd49ec5cd68022c26061960aa09b4c3d4d0e2c3be7cd7772b12c23dd2cbe0b6ed18b9e94e540161d1e6e71688768d0a23b
+DIST krfb-22.08.3.tar.xz 1296316 BLAKE2B 90e9687d93c72c222f123dd71e648ea0c4df781c3dae8618411795d0274b5b85e1caa380b4099b7e80df439b7a9f035d1ab63686dfbb0790379d9b5e09ebbeb3 SHA512 cf766f8806cec058cb9ce770ce6a465eaf38f0b1ba2e8f9421058c32f0272389d8d61ae15ed99cafe0c52122a66d8f6827b550454481cd821df6646e8c64e372
diff --git a/kde-apps/krfb/krfb-22.08.3.ebuild b/kde-apps/krfb/krfb-22.08.3.ebuild
new file mode 100644
index 000000000000..412a74b43939
--- /dev/null
+++ b/kde-apps/krfb/krfb-22.08.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.96.0
+QTMIN=5.15.5
+inherit ecm gear.kde.org
+
+DESCRIPTION="VNC-compatible server to share Plasma desktops"
+HOMEPAGE="https://apps.kde.org/krfb/"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+IUSE="wayland"
+
+COMMON_DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtnetwork-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtx11extras-${QTMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kconfigwidgets-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/kdbusaddons-${KFMIN}:5
+ >=kde-frameworks/kdnssd-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/kxmlgui-${KFMIN}:5
+ >=net-libs/libvncserver-0.9.9
+ x11-libs/libX11
+ x11-libs/libxcb
+ x11-libs/libXtst
+ x11-libs/xcb-util-image
+ wayland? (
+ dev-libs/wayland
+ || (
+ >=dev-qt/qtgui-${QTMIN}:5[libinput]
+ >=dev-qt/qtgui-${QTMIN}:5[X]
+ )
+ >=dev-qt/qtwayland-${QTMIN}:5
+ >=kde-frameworks/kwayland-${KFMIN}:5
+ media-libs/libepoxy
+ media-libs/mesa[gbm(+)]
+ >=media-video/pipewire-0.3:=
+ )
+"
+DEPEND="${COMMON_DEPEND}
+ wayland? (
+ >=dev-libs/plasma-wayland-protocols-1.5.0
+ media-libs/libglvnd
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ wayland? ( sys-apps/xdg-desktop-portal[screencast] )
+"
+BDEPEND="wayland? ( >=dev-qt/qtwaylandscanner-${QTMIN}:5 )"
+
+src_configure() {
+ local mycmakeargs=(
+ -DDISABLE_PIPEWIRE=$(usex !wayland)
+ $(cmake_use_find_package wayland PlasmaWaylandProtocols)
+ $(cmake_use_find_package wayland gbm)
+ $(cmake_use_find_package wayland EGL)
+ $(cmake_use_find_package wayland epoxy)
+ )
+ ecm_src_configure
+}