summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-apps/krfb/Manifest1
-rw-r--r--kde-apps/krfb/krfb-22.12.3.ebuild75
2 files changed, 76 insertions, 0 deletions
diff --git a/kde-apps/krfb/Manifest b/kde-apps/krfb/Manifest
index 9a331b833be7..75e962f89321 100644
--- a/kde-apps/krfb/Manifest
+++ b/kde-apps/krfb/Manifest
@@ -1,2 +1,3 @@
DIST krfb-22.08.3.tar.xz 1296316 BLAKE2B 90e9687d93c72c222f123dd71e648ea0c4df781c3dae8618411795d0274b5b85e1caa380b4099b7e80df439b7a9f035d1ab63686dfbb0790379d9b5e09ebbeb3 SHA512 cf766f8806cec058cb9ce770ce6a465eaf38f0b1ba2e8f9421058c32f0272389d8d61ae15ed99cafe0c52122a66d8f6827b550454481cd821df6646e8c64e372
DIST krfb-22.12.2.tar.xz 1322732 BLAKE2B f5eb1155cbf8dfbcf4c06b8bf8cf04ea7482369c3d1fd12bf607d247110dd8388934e62f965941149c338eb793fc470d77966b7e2585e67fb6b93cc70b451893 SHA512 1842433771143328936469aa655ede26de944a00da243d289c1862e3f8eb5bddd8a46adc9feff30e03fe66ae70f744eaa180c8e004bef96fed3dfe507518fa56
+DIST krfb-22.12.3.tar.xz 1324320 BLAKE2B e48fbf0068da652d4188973b54d6c30f2b001c97ed86de4377f366c10f2d14375c6e9405188fafc106a65065ffaf950add8bafd2006df350c3b5c9b639da34c9 SHA512 195a05253bf3a05ee67adb2e9044eabdc2a0e2f3a5cfa3a52a2733b5543ae3e8a406e438812d6929c98fc3d0a61f3ebf2e2b13622973c9c2b6c4e252081d20b1
diff --git a/kde-apps/krfb/krfb-22.12.3.ebuild b/kde-apps/krfb/krfb-22.12.3.ebuild
new file mode 100644
index 000000000000..b33f348e66b4
--- /dev/null
+++ b/kde-apps/krfb/krfb-22.12.3.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ECM_HANDBOOK="forceoptional"
+KFMIN=5.101.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
+}