commit:     0bfa9822e76d07ebbea5e811024acae92068f2ea
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 22 16:02:27 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Jun 22 16:06:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bfa9822

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 <AT> gentoo.org>

 .../files/rsibreak-0.12.10-desktopentry.patch      | 31 ++++++++++++++++++++++
 ...k-0.12.10.ebuild => rsibreak-0.12.10-r1.ebuild} |  2 ++
 2 files changed, 33 insertions(+)

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 00000000000..7d552f92f98
--- /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 <[email protected]>
+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
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 db6c4817908..b65ba4d4125 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" )

Reply via email to