Github messages for voidlinux
 help / color / mirror / Atom feed
From: paper42 <paper42@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] pipewire: add autostart .desktop files
Date: Sun, 17 Jul 2022 23:59:28 +0200	[thread overview]
Message-ID: <20220717215928.p3CdCCo_dEf7u2aSrFL4ecGAoIhzNjz2c3nT9g5Q4a4@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-37822@inbox.vuxu.org>

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

There is an updated pull request by paper42 against master on the void-packages repository

https://github.com/paper42/void-packages pipewire-autostart-desktop
https://github.com/void-linux/void-packages/pull/37822

pipewire: add autostart .desktop files
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **NO** (I have been using these files on my system, but not when symlinked from docs yet)

@st3r4g

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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

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

From bb77c9afa25a42a4c90f04d5d412843a44a4e6b4 Mon Sep 17 00:00:00 2001
From: Michal Vasilek <michal@vasilek.cz>
Date: Sun, 3 Jul 2022 23:41:12 +0200
Subject: [PATCH] pipewire: add autostart .desktop files

---
 srcpkgs/pipewire/files/pipewire-pulse.desktop | 8 ++++++++
 srcpkgs/pipewire/files/pipewire.desktop       | 8 ++++++++
 srcpkgs/pipewire/template                     | 5 ++++-
 3 files changed, 20 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/pipewire/files/pipewire-pulse.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..e869d5452b89
--- /dev/null
+++ b/srcpkgs/pipewire/files/pipewire-pulse.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=PipeWire pulse
+Comment=Start the PipeWire pulse server
+Icon=pipewire-pulse
+Exec=pipewire-pulse
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/pipewire/files/pipewire.desktop b/srcpkgs/pipewire/files/pipewire.desktop
new file mode 100644
index 000000000000..027bd5e4a7b4
--- /dev/null
+++ b/srcpkgs/pipewire/files/pipewire.desktop
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=PipeWire
+Comment=Start PipeWire
+Icon=pipewire
+Exec=pipewire
+Terminal=false
+Type=Application
+NoDisplay=true
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index e9ff4af833ab..ab461f99111e 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,7 +1,7 @@
 # Template file for 'pipewire'
 pkgname=pipewire
 version=0.3.55
-revision=1
+revision=2
 _pms_version=0.4.1
 build_style=meson
 configure_args="
@@ -63,6 +63,9 @@ post_install() {
 	vdoc "${FILESDIR}/README.voidlinux"
 	vsv pipewire
 	vsv pipewire-pulse
+	vmkdir usr/share/applications
+	cp "${FILESDIR}/pipewire.desktop" ${DESTDIR}/usr/share/applications/pipewire.desktop
+	cp "${FILESDIR}/pipewire-pulse.desktop" ${DESTDIR}/usr/share/applications/pipewire-pulse.desktop
 }
 
 libpipewire_package() {

  parent reply	other threads:[~2022-07-17 21:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-03 21:53 [PR PATCH] " paper42
2022-07-04 13:21 ` paper42
2022-07-04 22:29 ` [PR REVIEW] " st3r4g
2022-07-17 21:59 ` paper42 [this message]
2022-07-17 21:59 ` paper42
2022-07-20 21:35 ` [PR PATCH] [Merged]: " 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=20220717215928.p3CdCCo_dEf7u2aSrFL4ecGAoIhzNjz2c3nT9g5Q4a4@z \
    --to=paper42@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).