kde-plasma/krdp: Restore 6.3.5-r1 w/ freerdp:2, use r2 for freerdp:3

Bug: https://bugs.gentoo.org/955857
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2025-05-18 23:50:23 +02:00
parent 7b8812d6b7
commit d9005638e1
No known key found for this signature in database
GPG Key ID: AE591BBC73E4DD5E
2 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,50 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_EXAMPLES="true"
ECM_TEST="true"
KFMIN=6.10.0
QTMIN=6.8.1
inherit ecm flag-o-matic plasma.kde.org toolchain-funcs xdg
DESCRIPTION="Library and examples for creating an RDP server"
HOMEPAGE+=" https://quantumproductions.info/articles/2023-08/remote-desktop-using-rdp-protocol-plasma-wayland"
LICENSE="GPL-2" # TODO: CHECK
SLOT="6"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
IUSE=""
COMMON_DEPEND="
>=dev-libs/qtkeychain-0.14.2:=[qt6(+)]
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network]
>=dev-qt/qtdeclarative-${QTMIN}:6
>=dev-qt/qtwayland-${QTMIN}:6
>=kde-frameworks/kcmutils-${KFMIN}:6
>=kde-frameworks/kconfig-${KFMIN}:6
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/kcrash-${KFMIN}:6
>=kde-frameworks/kdbusaddons-${KFMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kstatusnotifieritem-${KFMIN}:6
>=kde-plasma/kpipewire-${KDE_CATV}:6
>=net-misc/freerdp-2.10:2[server]
x11-libs/libxkbcommon
"
DEPEND="${COMMON_DEPEND}
dev-libs/plasma-wayland-protocols
"
RDEPEND="${COMMON_DEPEND}
>=kde-frameworks/kirigami-${KFMIN}:6
"
BDEPEND=">=kde-frameworks/kcmutils-${KFMIN}:6"
src_configure() {
# std::jthread and std::stop_token are implemented as experimental in libcxx
# enable these experimental libraries on clang systems
# https://libcxx.llvm.org/Status/Cxx20.html#note-p0660
[[ $(tc-get-cxx-stdlib) == 'libc++' ]] && append-cxxflags -fexperimental-library
ecm_src_configure
}

View File

@ -3,6 +3,8 @@
EAPI=8
# NOTE: Stabilise this *in sync with* the first KDE Gear 25.04.x release (kde-apps/krdc freerdp:3)
PATCHSET="${PN}-6.3.4-patchset"
ECM_EXAMPLES="true"
ECM_TEST="true"