commit:     b23bfef880afe9ff83f7f782507301c9aa2a902e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  3 20:23:42 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Sep  4 08:44:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b23bfef8

kde-plasma/xdg-desktop-portal-kde: Fix .desktop file

Closes: https://bugs.gentoo.org/739676
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 ...ktop-portal-kde-5.19.5-valid-desktop-file.patch | 24 ++++++++++++++++++++++
 ...ild => xdg-desktop-portal-kde-5.19.5-r1.ebuild} |  2 ++
 2 files changed, 26 insertions(+)

diff --git 
a/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.19.5-valid-desktop-file.patch
 
b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.19.5-valid-desktop-file.patch
new file mode 100644
index 00000000000..71482afb5e6
--- /dev/null
+++ 
b/kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.19.5-valid-desktop-file.patch
@@ -0,0 +1,24 @@
+From 79cc80a2b6140e2136db24896f97e6ecd212bba0 Mon Sep 17 00:00:00 2001
+From: Jan Grulich <jgrul...@redhat.com>
+Date: Mon, 31 Aug 2020 11:10:30 +0200
+Subject: [PATCH] Add "Name" entry into the desktop file
+
+BUG: 426004
+---
+ data/org.freedesktop.impl.portal.desktop.kde.desktop.in | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/data/org.freedesktop.impl.portal.desktop.kde.desktop.in 
b/data/org.freedesktop.impl.portal.desktop.kde.desktop.in
+index 082f625..9195f45 100644
+--- a/data/org.freedesktop.impl.portal.desktop.kde.desktop.in
++++ b/data/org.freedesktop.impl.portal.desktop.kde.desktop.in
+@@ -1,5 +1,6 @@
+ [Desktop Entry]
+ Type=Application
++Name=Portal
+ Exec=@CMAKE_INSTALL_FULL_LIBEXECDIR@/xdg-desktop-portal-kde
+ 
X-KDE-Wayland-Interfaces=org_kde_kwin_fake_input,org_kde_kwin_remote_access_manager,org_kde_plasma_window_management
+ NoDisplay=true
+-- 
+GitLab
+

diff --git 
a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.19.5.ebuild 
b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.19.5-r1.ebuild
similarity index 95%
rename from 
kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.19.5.ebuild
rename to 
kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.19.5-r1.ebuild
index d5c931956e5..eb804c803a1 100644
--- a/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.19.5.ebuild
+++ b/kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.19.5-r1.ebuild
@@ -43,6 +43,8 @@ RDEPEND="${COMMON_DEPEND}
        sys-apps/xdg-desktop-portal[screencast?]
 "
 
+PATCHES=( "${FILESDIR}"/${P}-valid-desktop-file.patch )
+
 src_configure() {
        local mycmakeargs=(
                -DENABLE_PIPEWIRE=$(usex screencast)

Reply via email to