Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] pipewire: Add XDG autostart desktop files
@ 2022-01-22 10:00 felix
  2022-01-22 11:19 ` paper42
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: felix @ 2022-01-22 10:00 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

There is a new pull request by felix against master on the void-packages repository

https://github.com/felix/void-packages pipewire-desktop
https://github.com/void-linux/void-packages/pull/35171

pipewire: Add XDG autostart desktop files
This adds XDG desktop files for pipewire for session autostart

#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (amd64-libc)


A patch file from https://github.com/void-linux/void-packages/pull/35171.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pipewire-desktop-35171.patch --]
[-- Type: text/x-diff, Size: 2580 bytes --]

From bc2504f93b5fe04dbb3d4fb683f90347ebcddbef Mon Sep 17 00:00:00 2001
From: Felix Hanley <felix@userspace.com.au>
Date: Sat, 22 Jan 2022 09:06:26 +1100
Subject: [PATCH] Add pipewire autostart desktop files

---
 srcpkgs/pipewire/files/pipewire-pulse.desktop   |  9 +++++++++
 srcpkgs/pipewire/files/pipewire-session.desktop | 10 ++++++++++
 srcpkgs/pipewire/files/pipewire.desktop         | 10 ++++++++++
 srcpkgs/pipewire/template                       |  1 +
 4 files changed, 30 insertions(+)
 create mode 100644 srcpkgs/pipewire/files/pipewire-pulse.desktop
 create mode 100644 srcpkgs/pipewire/files/pipewire-session.desktop
 create mode 100644 srcpkgs/pipewire/files/pipewire.desktop

diff --git a/srcpkgs/pipewire/files/pipewire-pulse.desktop b/srcpkgs/pipewire/files/pipewire-pulse.desktop
new file mode 100644
index 000000000000..76d6a2dd8b54
--- /dev/null
+++ b/srcpkgs/pipewire/files/pipewire-pulse.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Version=1.0
+Name=PipeWire Pulse
+Comment=Start the PipeWire Pulse
+Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire-pulse
+Terminal=false
+Type=Application
+X-GNOME-Autostart-Phase=Initialization
+X-KDE-autostart-phase=1
diff --git a/srcpkgs/pipewire/files/pipewire-session.desktop b/srcpkgs/pipewire/files/pipewire-session.desktop
new file mode 100644
index 000000000000..2485811a4e29
--- /dev/null
+++ b/srcpkgs/pipewire/files/pipewire-session.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Name=PipeWire Media Session
+Comment=Start the PipeWire Media Session
+Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire-media-session
+Terminal=false
+Type=Application
+X-GNOME-Autostart-Phase=Initialization
+X-KDE-autostart-phase=1
+
diff --git a/srcpkgs/pipewire/files/pipewire.desktop b/srcpkgs/pipewire/files/pipewire.desktop
new file mode 100644
index 000000000000..2c6f463b207a
--- /dev/null
+++ b/srcpkgs/pipewire/files/pipewire.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Name=PipeWire Media System
+Comment=Start the PipeWire Media System
+Exec=/sbin/dbus-launch --exit-with-session /usr/bin/pipewire
+Terminal=false
+Type=Application
+X-GNOME-Autostart-Phase=Initialization
+X-KDE-autostart-phase=1
+
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index cb2aac730c29..92701ea39495 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -61,6 +61,7 @@ post_install() {
 	vdoc "${FILESDIR}/README.voidlinux"
 	vsv pipewire
 	vsv pipewire-pulse
+	install -Dm644 $FILESDIR/*.desktop -t $DESTDIR/etc/xdg/autostart
 }
 
 libpipewire_package() {

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-15  8:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-22 10:00 [PR PATCH] pipewire: Add XDG autostart desktop files felix
2022-01-22 11:19 ` paper42
2022-01-22 21:03 ` [PR PATCH] [Closed]: " paper42
2022-02-06  0:14 ` teldra
2022-05-15  8:28 ` paper42

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).