summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-09-03 22:23:42 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-09-04 10:44:44 +0200
commitb23bfef880afe9ff83f7f782507301c9aa2a902e (patch)
treed02cd7a0dd59a3837e7439400d0fcae17ccb1c70 /kde-plasma
parentprofiles: base: Restrict kde-plasma/plasma-meta[thunderbolt] mask to <5.19 (diff)
downloadgentoo-b23bfef880afe9ff83f7f782507301c9aa2a902e.tar.gz
gentoo-b23bfef880afe9ff83f7f782507301c9aa2a902e.tar.bz2
gentoo-b23bfef880afe9ff83f7f782507301c9aa2a902e.zip
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@gentoo.org>
Diffstat (limited to 'kde-plasma')
-rw-r--r--kde-plasma/xdg-desktop-portal-kde/files/xdg-desktop-portal-kde-5.19.5-valid-desktop-file.patch24
-rw-r--r--kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.19.5-r1.ebuild (renamed from kde-plasma/xdg-desktop-portal-kde/xdg-desktop-portal-kde-5.19.5.ebuild)2
2 files changed, 26 insertions, 0 deletions
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 000000000000..71482afb5e69
--- /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 <jgrulich@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
index d5c931956e5f..eb804c803a13 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)