Skip to content

Commit

Permalink
kde-plasma/xdg-desktop-portal-kde: Fix .desktop file
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/739676
Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Sep 4, 2020
1 parent f25a7a4 commit b23bfef
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 79cc80a2b6140e2136db24896f97e6ecd212bba0 Mon Sep 17 00:00:00 2001
From: Jan Grulich <[email protected]>
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

Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b23bfef

Please sign in to comment.