From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] pipewire, wireplumber: add example config snippets for launching pipewire-pulse, wireplumber directly
Date: Mon, 29 May 2023 21:44:56 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-44144@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 609 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages pwp-wp-config-snippets
https://github.com/void-linux/void-packages/pull/44144
pipewire, wireplumber: add example config snippets for launching pipewire-pulse, wireplumber directly
hopefully this can simplify the documentation
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
A patch file from https://github.com/void-linux/void-packages/pull/44144.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pwp-wp-config-snippets-44144.patch --]
[-- Type: text/x-diff, Size: 3252 bytes --]
From 46d10e42cf434b3f11b6611dd70359a268c8706c Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 29 May 2023 15:36:33 -0400
Subject: [PATCH 1/2] pipewire: add example config snippet for launching
pipewire-pulse
---
srcpkgs/pipewire/files/20-pipewire-pulse.conf | 5 +++++
srcpkgs/pipewire/template | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/pipewire/files/20-pipewire-pulse.conf
diff --git a/srcpkgs/pipewire/files/20-pipewire-pulse.conf b/srcpkgs/pipewire/files/20-pipewire-pulse.conf
new file mode 100644
index 000000000000..0a1c391f64dc
--- /dev/null
+++ b/srcpkgs/pipewire/files/20-pipewire-pulse.conf
@@ -0,0 +1,5 @@
+# copy or symlink this file to /etc/pipewire/pipewire.conf.d (system configuration)
+# or ${XDG_CONFIG_HOME}/pipewire/pipewire.conf.d (per-user configuration)
+# to configure pipewire to launch pipewire-pulse directly
+
+context.exec = [ { path = "/usr/bin/pipewire" args = "-c pipewire-pulse.conf" } ]
diff --git a/srcpkgs/pipewire/template b/srcpkgs/pipewire/template
index 92feaab2a6d7..7ad92c87fa3b 100644
--- a/srcpkgs/pipewire/template
+++ b/srcpkgs/pipewire/template
@@ -1,7 +1,7 @@
# Template file for 'pipewire'
pkgname=pipewire
version=0.3.71
-revision=1
+revision=2
build_style=meson
configure_args="
--auto-features=enabled
@@ -60,6 +60,7 @@ post_install() {
vsv pipewire-pulse
vinstall "${FILESDIR}/pipewire.desktop" 644 usr/share/applications
vinstall "${FILESDIR}/pipewire-pulse.desktop" 644 usr/share/applications
+ vsconf "${FILESDIR}/20-pipewire-pulse.conf"
}
libpipewire_package() {
From 3b9766294f99f0e0678924c39f2a97213656adaa Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Mon, 29 May 2023 15:36:57 -0400
Subject: [PATCH 2/2] wireplumber: add example config snippet for launching
wireplumber
---
srcpkgs/wireplumber/files/10-wireplumber.conf | 5 +++++
srcpkgs/wireplumber/template | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/wireplumber/files/10-wireplumber.conf
diff --git a/srcpkgs/wireplumber/files/10-wireplumber.conf b/srcpkgs/wireplumber/files/10-wireplumber.conf
new file mode 100644
index 000000000000..e1fdf5dac30a
--- /dev/null
+++ b/srcpkgs/wireplumber/files/10-wireplumber.conf
@@ -0,0 +1,5 @@
+# copy or symlink this file to /etc/pipewire/pipewire.conf.d (system configuration)
+# or ${XDG_CONFIG_HOME}/pipewire/pipewire.conf.d (per-user configuration)
+# to configure pipewire to launch wireplumber directly
+
+context.exec = [ { path = "/usr/bin/wireplumber" args = "" } ]
diff --git a/srcpkgs/wireplumber/template b/srcpkgs/wireplumber/template
index 80f8f1b7845f..3584bf374a64 100644
--- a/srcpkgs/wireplumber/template
+++ b/srcpkgs/wireplumber/template
@@ -1,7 +1,7 @@
# Template file for 'wireplumber'
pkgname=wireplumber
version=0.4.14
-revision=3
+revision=4
build_style=meson
build_helper=gir
configure_args="-Dintrospection=enabled -Dsystem-lua=true"
@@ -22,6 +22,7 @@ post_install() {
vlicense LICENSE
vsv wireplumber
vinstall "${FILESDIR}/wireplumber.desktop" 644 usr/share/applications
+ vsconf "${FILESDIR}/10-wireplumber.conf"
}
wireplumber-devel_package() {
next reply other threads:[~2023-05-29 19:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-29 19:44 classabbyamp [this message]
2023-05-29 21:37 ` [PR PATCH] [Merged]: " classabbyamp
-- strict thread matches above, loose matches on Subject: below --
2023-05-29 19:38 [PR PATCH] " classabbyamp
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-44144@inbox.vuxu.org \
--to=classabbyamp@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).