summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-06-22 18:02:27 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2019-06-22 18:06:57 +0200
commit0bfa9822e76d07ebbea5e811024acae92068f2ea (patch)
treef5e52c5e2ee40ab881d3d155851b40f6a0da10aa /kde-misc/rsibreak
parentsys-apps/xdg-desktop-portal: 1.4.2 version bump (diff)
downloadgentoo-0bfa9822e76d07ebbea5e811024acae92068f2ea.tar.gz
gentoo-0bfa9822e76d07ebbea5e811024acae92068f2ea.tar.bz2
gentoo-0bfa9822e76d07ebbea5e811024acae92068f2ea.zip
kde-misc/rsibreak: Add support for Plasma 5.16 notifications
Package-Manager: Portage-2.3.67, Repoman-2.3.15 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc/rsibreak')
-rw-r--r--kde-misc/rsibreak/files/rsibreak-0.12.10-desktopentry.patch31
-rw-r--r--kde-misc/rsibreak/rsibreak-0.12.10-r1.ebuild (renamed from kde-misc/rsibreak/rsibreak-0.12.10.ebuild)2
2 files changed, 33 insertions, 0 deletions
diff --git a/kde-misc/rsibreak/files/rsibreak-0.12.10-desktopentry.patch b/kde-misc/rsibreak/files/rsibreak-0.12.10-desktopentry.patch
new file mode 100644
index 000000000000..7d552f92f985
--- /dev/null
+++ b/kde-misc/rsibreak/files/rsibreak-0.12.10-desktopentry.patch
@@ -0,0 +1,31 @@
+From 80f22fe6825ac090ec259e31114371640261240d Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heirecka@exherbo.org>
+Date: Thu, 20 Jun 2019 13:59:08 +0200
+Subject: Add DesktopEntry to notifyrc
+
+Summary:
+This allows the notification KCM, that comes with Plasma 5.16, to
+identify RSIBreak as an application.
+
+Test Plan: Shows up under applications, not under system services.
+
+Reviewers: aacid
+
+Differential Revision: https://phabricator.kde.org/D21994
+---
+ src/rsibreak.notifyrc | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/rsibreak.notifyrc b/src/rsibreak.notifyrc
+index 0067fa7..c82a4ab 100644
+--- a/src/rsibreak.notifyrc
++++ b/src/rsibreak.notifyrc
+@@ -1,5 +1,6 @@
+ [Global]
+ IconName=rsibreak
++DesktopEntry=org.kde.rsibreak
+ Comment=RSIBreak
+ Comment[bg]=RSIBreak
+ Comment[ca]=RSIBreak
+--
+cgit v1.1
diff --git a/kde-misc/rsibreak/rsibreak-0.12.10.ebuild b/kde-misc/rsibreak/rsibreak-0.12.10-r1.ebuild
index db6c48179083..b65ba4d41255 100644
--- a/kde-misc/rsibreak/rsibreak-0.12.10.ebuild
+++ b/kde-misc/rsibreak/rsibreak-0.12.10-r1.ebuild
@@ -41,3 +41,5 @@ DEPEND="
RDEPEND="${DEPEND}
$(add_frameworks_dep frameworkintegration)
"
+
+PATCHES=( "${FILESDIR}/${P}-desktopentry.patch" )