1 |
commit: 53b24cf50996d78646160aeaa3bcb02dcc81a3bc |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 17 18:53:59 2022 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue May 17 19:01:49 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53b24cf5 |
7 |
|
8 |
kde-plasma/xdg-desktop-portal-kde: Show screensharing notifier |
9 |
|
10 |
...more prominently |
11 |
|
12 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
13 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
14 |
|
15 |
...how-screenshare-notifier-more-prominently.patch | 32 +++++++++++++++ |
16 |
.../xdg-desktop-portal-kde-5.24.5-r1.ebuild | 48 ++++++++++++++++++++++ |
17 |
2 files changed, 80 insertions(+) |
18 |
|
19 |
diff --git a/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.24.5-show-screenshare-notifier-more-prominently.patch b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.24.5-show-screenshare-notifier-more-prominently.patch |
20 |
new file mode 100644 |
21 |
index 000000000000..6b771bfede1e |
22 |
--- /dev/null |
23 |
+++ b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.24.5-show-screenshare-notifier-more-prominently.patch |
24 |
@@ -0,0 +1,32 @@ |
25 |
+From bbff465e6a005c737ee2e53eb5e072da006d9b4b Mon Sep 17 00:00:00 2001 |
26 |
+From: Aleix Pol <aleixpol@×××.org> |
27 |
+Date: Fri, 13 May 2022 16:47:36 +0200 |
28 |
+Subject: [PATCH] screenshare: Show the screen sharing notifier more |
29 |
+ prominently |
30 |
+ |
31 |
+Sets it as active, otherwise it got buried in the extended view of the |
32 |
+system tray. |
33 |
+ |
34 |
+BUG: 452980 |
35 |
+ |
36 |
+ |
37 |
+(cherry picked from commit 3d61dae1fa334a9f3dadc505a038f75aa5846588) |
38 |
+--- |
39 |
+ src/waylandintegration.cpp | 1 + |
40 |
+ 1 file changed, 1 insertion(+) |
41 |
+ |
42 |
+diff --git a/src/waylandintegration.cpp b/src/waylandintegration.cpp |
43 |
+index e125578..b1b2d4d 100644 |
44 |
+--- a/src/waylandintegration.cpp |
45 |
++++ b/src/waylandintegration.cpp |
46 |
+@@ -292,6 +292,7 @@ bool WaylandIntegration::WaylandIntegrationPrivate::startStreaming(Screencasting |
47 |
+ } |
48 |
+ item->setOverlayIconByName("media-record"); |
49 |
+ item->setToolTip(item->iconName(), item->title(), i18n("Press to cancel")); |
50 |
++ item->setStatus(KStatusNotifierItem::Active); |
51 |
+ connect(item, &KStatusNotifierItem::activateRequested, stream, [=] { |
52 |
+ stopStreaming(nodeid); |
53 |
+ stream->deleteLater(); |
54 |
+-- |
55 |
+GitLab |
56 |
+ |
57 |
|
58 |
diff --git a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.24.5-r1.ebuild b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.24.5-r1.ebuild |
59 |
new file mode 100644 |
60 |
index 000000000000..302a1ac2c35e |
61 |
--- /dev/null |
62 |
+++ b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.24.5-r1.ebuild |
63 |
@@ -0,0 +1,48 @@ |
64 |
+# Copyright 1999-2022 Gentoo Authors |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+ |
67 |
+EAPI=8 |
68 |
+ |
69 |
+KFMIN=5.90.0 |
70 |
+PVCUT=$(ver_cut 1-3) |
71 |
+QTMIN=5.15.2 |
72 |
+inherit ecm kde.org |
73 |
+ |
74 |
+DESCRIPTION="Backend implementation for xdg-desktop-portal that is using Qt/KDE Frameworks" |
75 |
+ |
76 |
+LICENSE="LGPL-2+" |
77 |
+SLOT="5" |
78 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
79 |
+IUSE="" |
80 |
+ |
81 |
+COMMON_DEPEND=" |
82 |
+ >=dev-libs/wayland-1.15 |
83 |
+ >=dev-qt/qtdbus-${QTMIN}:5 |
84 |
+ >=dev-qt/qtdeclarative-${QTMIN}:5 |
85 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
86 |
+ >=dev-qt/qtprintsupport-${QTMIN}:5[cups] |
87 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
88 |
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
89 |
+ >=kde-frameworks/kconfig-${KFMIN}:5 |
90 |
+ >=kde-frameworks/kdeclarative-${KFMIN}:5 |
91 |
+ >=kde-frameworks/ki18n-${KFMIN}:5 |
92 |
+ >=kde-frameworks/kio-${KFMIN}:5 |
93 |
+ >=kde-frameworks/kirigami-${KFMIN}:5 |
94 |
+ >=kde-frameworks/knotifications-${KFMIN}:5 |
95 |
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 |
96 |
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5 |
97 |
+ >=kde-frameworks/kwayland-${KFMIN}:5 |
98 |
+ >=kde-frameworks/plasma-${KFMIN}:5 |
99 |
+" |
100 |
+DEPEND="${COMMON_DEPEND} |
101 |
+ >=dev-libs/plasma-wayland-protocols-1.1.1 |
102 |
+ >=dev-qt/qtconcurrent-${QTMIN}:5 |
103 |
+" |
104 |
+RDEPEND="${COMMON_DEPEND} |
105 |
+ sys-apps/xdg-desktop-portal |
106 |
+" |
107 |
+BDEPEND=">=dev-qt/qtwaylandscanner-${QTMIN}:5" |
108 |
+ |
109 |
+PATCHES=( |
110 |
+ "${FILESDIR}"/${P}-show-screenshare-notifier-more-prominently.patch # KDE-bug 452980 |
111 |
+) |