kde-misc/rsibreak: Add support for Plasma 5.16 notifications
authorAndreas Sturmlechner <asturm@gentoo.org>
Sat, 22 Jun 2019 16:02:27 +0000 (18:02 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sat, 22 Jun 2019 16:06:57 +0000 (18:06 +0200)
Package-Manager: Portage-2.3.67, Repoman-2.3.15
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
kde-misc/rsibreak/files/rsibreak-0.12.10-desktopentry.patch [new file with mode: 0644]
kde-misc/rsibreak/rsibreak-0.12.10-r1.ebuild [moved from kde-misc/rsibreak/rsibreak-0.12.10.ebuild with 95% similarity]

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 (file)
index 0000000..7d552f9
--- /dev/null
@@ -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
similarity index 95%
rename from kde-misc/rsibreak/rsibreak-0.12.10.ebuild
rename to kde-misc/rsibreak/rsibreak-0.12.10-r1.ebuild
index db6c48179083ce36a8e4c725edf743c01d134a31..b65ba4d41255cdce1c65d3441a65debc75734d75 100644 (file)
@@ -41,3 +41,5 @@ DEPEND="
 RDEPEND="${DEPEND}
        $(add_frameworks_dep frameworkintegration)
 "
+
+PATCHES=( "${FILESDIR}/${P}-desktopentry.patch" )