Github messages for voidlinux
 help / color / mirror / Atom feed
From: felix <felix@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] pipewire: Add XDG autostart desktop files
Date: Sat, 22 Jan 2022 11:00:50 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35171@inbox.vuxu.org> (raw)

[-- 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() {

             reply	other threads:[~2022-01-22 10:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-22 10:00 felix [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35171@inbox.vuxu.org \
    --to=felix@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    --subject='Re: [PR PATCH] pipewire: Add XDG autostart desktop files' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).