summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-02-03 10:54:51 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2022-02-03 18:10:51 +0100
commita09861ca18ab53e711bf52236a0323cf385e7e19 (patch)
tree3802ad86c8a5ec580a50bba63f53b9a9fae4546b
parentkde-apps/krdc: 21.12.2 version bump (diff)
downloadgentoo-a09861ca18ab53e711bf52236a0323cf385e7e19.tar.gz
gentoo-a09861ca18ab53e711bf52236a0323cf385e7e19.tar.bz2
gentoo-a09861ca18ab53e711bf52236a0323cf385e7e19.zip
kde-apps/krfb: 21.12.2 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/krfb/Manifest1
-rw-r--r--kde-apps/krfb/files/krfb-21.12.2-optional-pipewire.patch28
-rw-r--r--kde-apps/krfb/krfb-21.12.2.ebuild75
3 files changed, 104 insertions, 0 deletions
diff --git a/kde-apps/krfb/Manifest b/kde-apps/krfb/Manifest
index e4f45b96360b..19f288b55089 100644
--- a/kde-apps/krfb/Manifest
+++ b/kde-apps/krfb/Manifest
@@ -1,2 +1,3 @@
DIST krfb-21.08.3.tar.xz 1293896 BLAKE2B a7d162e087b1792e68dbd18ca047e6d50256f0c1103665bcd57c5f7e2171aeba610f06dd92ff84a437b1ca79c0e48e4e5c5555e4cbbc872dcfe84c5d2eed5573 SHA512 2386b5bb08ce6e45d5ea43043a3b73aff52f0b82e6f464a2c8f29a5e82a90f745ae59716747e5f977f1099fb655bb4427c51a3f3498a1e42dc84e1e5fef40728
DIST krfb-21.12.1.tar.xz 1302128 BLAKE2B f2e777ed6bcbe025e9f85ba30fb6621f75c934649a037d707fb9ae0b3eabddef8b0654bc97e9910badbb868b7416859402df2a5c229eabe2eca462fff2155336 SHA512 b11e3d8747af042ed2f958379f107e3428e02e16a5848ac00c0d096181581cd273f2a5c4f23663e3b069fd8dfb34d3f575853add88b03e0797f191f588e97272
+DIST krfb-21.12.2.tar.xz 1302152 BLAKE2B 66f52ad71f17f66b6701f20682bb3d14d4f421643c7c4396e2a277125a15b4d23fbe14fcec6e0bfb117f445a32dd87e7f257cb926fab900b24815e679496d60d SHA512 5759a803b50ca50afa4da8181740498c816932799c6f2e86f19f1b47ec780ba00195715c7679657b0cba6575991b3819acfb6dbcc77d0010c9a3a45273ccc708
diff --git a/kde-apps/krfb/files/krfb-21.12.2-optional-pipewire.patch b/kde-apps/krfb/files/krfb-21.12.2-optional-pipewire.patch
new file mode 100644
index 000000000000..42efc93ee685
--- /dev/null
+++ b/kde-apps/krfb/files/krfb-21.12.2-optional-pipewire.patch
@@ -0,0 +1,28 @@
+From 1222c2067ccaeef69878bd3101fc579011b3e191 Mon Sep 17 00:00:00 2001
+From: Luke Dashjr <luke-jr+git@utopios.org>
+Date: Mon, 24 Jan 2022 01:35:21 +0000
+Subject: [PATCH] Add CMake option DISABLE_PIPEWIRE to skip dependency check
+
+---
+ CMakeLists.txt | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4f8241f..01e6f57 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -79,7 +79,10 @@ include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} )
+ find_package(LibVNCServer REQUIRED)
+
+
+-pkg_check_modules(PipeWire IMPORTED_TARGET libpipewire-0.3)
++option(DISABLE_PIPEWIRE "Disable PipeWire support." OFF)
++if(NOT DISABLE_PIPEWIRE)
++ pkg_check_modules(PipeWire IMPORTED_TARGET libpipewire-0.3)
++endif()
+ add_feature_info(PipeWire PipeWire_FOUND "Required for pipewire screencast plugin")
+ find_package(PlasmaWaylandProtocols 1.5.0)
+
+--
+GitLab
+
diff --git a/kde-apps/krfb/krfb-21.12.2.ebuild b/kde-apps/krfb/krfb-21.12.2.ebuild
new file mode 100644
index 000000000000..eddcd8ff9b4d
--- /dev/null
+++ b/kde-apps/krfb/krfb-21.12.2.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.88.0
+QTMIN=5.15.2
+inherit ecm 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
+ 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] )
+"
+
+PATCHES=( "${FILESDIR}/${P}-optional-pipewire.patch" )
+
+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
+}