kde-plasma/plasma-desktop: Add missing dependencies

- kde-frameworks/kpackage
  Used in ksplash and landingpage
  Upstream commit 8447cfdf67458768627def4f481d9f52f8d444e1
  See also:
  https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1338

- x11-libs/libXcursor and x11-libs/libxkbcommon
  Used in mouse and keyboard KCMs.

Thanks-to: Sam James <sam@gentoo.org>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2023-01-15 15:35:03 +01:00
parent 612b7f15af
commit 7c35d64267
3 changed files with 68 additions and 0 deletions
@@ -0,0 +1,24 @@
From 8447cfdf67458768627def4f481d9f52f8d444e1 Mon Sep 17 00:00:00 2001
From: Nicolas Fella <nicolas.fella@gmx.de>
Date: Mon, 28 Nov 2022 13:08:09 +0100
Subject: [PATCH] Add missing KPackage link
---
kcms/ksplash/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/kcms/ksplash/CMakeLists.txt b/kcms/ksplash/CMakeLists.txt
index ea75dd743..8bf51f997 100644
--- a/kcms/ksplash/CMakeLists.txt
+++ b/kcms/ksplash/CMakeLists.txt
@@ -28,6 +28,7 @@ target_link_libraries(kcm_splashscreen
KF5::Plasma
KF5::PlasmaQuick
KF5::NewStuff
+ KF5::Package
Qt::DBus
Qt::Widgets
--
2.39.0
@@ -0,0 +1,40 @@
From 8ad8d248b91d9357f4ee421e4933d89595faf80a Mon Sep 17 00:00:00 2001
From: Andreas Sturmlechner <asturm@gentoo.org>
Date: Sun, 15 Jan 2023 15:17:09 +0100
Subject: [PATCH] Add missing KPackage search and link
Follow-up to 8447cfdf67458768627def4f481d9f52f8d444e1
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
---
CMakeLists.txt | 1 +
kcms/landingpage/CMakeLists.txt | 1 +
2 files changed, 2 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e797efa50..ef2db360d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -74,6 +74,7 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
WidgetsAddons
Codecs
Sonnet
+ Package
KDELibs4Support # kcms/dateandtime
)
diff --git a/kcms/landingpage/CMakeLists.txt b/kcms/landingpage/CMakeLists.txt
index 215d51234..e39da9f51 100644
--- a/kcms/landingpage/CMakeLists.txt
+++ b/kcms/landingpage/CMakeLists.txt
@@ -26,6 +26,7 @@ target_link_libraries(kcm_landingpage
KF5::KCMUtils
KF5::ConfigWidgets
KF5::Declarative
+ KF5::Package
PW::KWorkspace
KF5::ActivitiesStats
--
2.39.0
@@ -63,6 +63,7 @@ COMMON_DEPEND="
>=kde-frameworks/knewstuff-${KFMIN}:5
>=kde-frameworks/knotifications-${KFMIN}:5
>=kde-frameworks/knotifyconfig-${KFMIN}:5
>=kde-frameworks/kpackage-${KFMIN}:5
>=kde-frameworks/kparts-${KFMIN}:5
>=kde-frameworks/krunner-${KFMIN}:5
>=kde-frameworks/kservice-${KFMIN}:5
@@ -78,9 +79,11 @@ COMMON_DEPEND="
>=kde-plasma/plasma-workspace-${PVCUT}:5[screencast?]
>=media-libs/phonon-4.11.0
x11-libs/libX11
x11-libs/libXcursor
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libxcb
x11-libs/libxkbcommon
x11-libs/libxkbfile
emoji? (
app-i18n/ibus[emoji]
@@ -130,6 +133,7 @@ BDEPEND="
PATCHES=(
"${WORKDIR}/${XORGHDRS}/${PN}-5.25.80-override-include-dirs.patch" # downstream patch
"${FILESDIR}"/${P}-missing-kpackage-{1,2}.patch
)
src_prepare() {