[crux-commits] ports/contrib (refs/remotes/origin/3.6): pipewire: enable alsa sessions by default

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:03 UTC 2021


commit c52f8689d6d04a138eca88f73d633d776aa33d05
Author: Tim Biermann <tbier at posteo.de>
Date:   Thu Jan 14 12:11:02 2021 +0000

    pipewire: enable alsa sessions by default

diff --git a/pipewire/.footprint b/pipewire/.footprint
index 8af3e77f2..d8d184a14 100644
--- a/pipewire/.footprint
+++ b/pipewire/.footprint
@@ -1,8 +1,12 @@
 drwxr-xr-x	root/root	etc/
+drwxr-xr-x	root/root	etc/alsa/
+drwxr-xr-x	root/root	etc/alsa/conf.d/
+lrwxrwxrwx	root/root	etc/alsa/conf.d/99-pipewire-default.conf -> /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
 drwxr-xr-x	root/root	etc/pipewire/
 drwxr-xr-x	root/root	etc/pipewire/media-session.d/
 -rw-r--r--	root/root	etc/pipewire/media-session.d/alsa-monitor.conf
 -rw-r--r--	root/root	etc/pipewire/media-session.d/media-session.conf
+-rw-r--r--	root/root	etc/pipewire/media-session.d/with-alsa (EMPTY)
 -rw-r--r--	root/root	etc/pipewire/media-session.d/with-jack (EMPTY)
 -rw-r--r--	root/root	etc/pipewire/media-session.d/with-pulseaudio (EMPTY)
 -rw-r--r--	root/root	etc/pipewire/pipewire.conf
diff --git a/pipewire/.signature b/pipewire/.signature
index 5bc8693ec..a98f55d7b 100644
--- a/pipewire/.signature
+++ b/pipewire/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3/k9XGEhPzLsdNDLps/oHLRDr9uLdXqziWo15ZI7Xby3mKpGZftLrYDnpvKE4ewCjCFDUIT8QJjxJoQHU1+dzgw=
-SHA256 (Pkgfile) = 5eb6ff941c6a672259cba6b1ae915722950c22d96bf62fa69a0ffbbc77daaa7b
-SHA256 (.footprint) = 224bd8a6a357eeff91704cef7b219f58c4a5365cf6bd83ec5c87cef46f234dce
+RWSagIOpLGJF32FA3ix7KTNP4cl3YfeW4LJD0Sav72Nyu5AtheZzn1GmK8Gd7tia/AoDi07bdD7/pQJbJs9oovIN6enjqbk1Ygc=
+SHA256 (Pkgfile) = 1e207472e02eeb4319e93bcbaf17cfa9d4db92546fa6e57bc646bd3e10edd0a5
+SHA256 (.footprint) = f54144d25918dc9d2407242a924dd0ca7bdb135f01cfcc70270660cdbb35e94c
 SHA256 (pipewire-0.3.19.tar.gz) = de2e757a57ff313362341f4b18b976c707d397d853c0cd2032975b76d0c540dc
diff --git a/pipewire/Pkgfile b/pipewire/Pkgfile
index c83a7d9ed..5fb91cb94 100644
--- a/pipewire/Pkgfile
+++ b/pipewire/Pkgfile
@@ -6,7 +6,7 @@
 
 name=pipewire
 version=0.3.19
-release=2
+release=3
 source=(https://github.com/PipeWire/pipewire/archive/$version/$name-$version.tar.gz)
 
 build() {
@@ -28,4 +28,9 @@ build() {
 
   meson compile -C build
   DESTDIR=$PKG meson install -C build
+
+  # enable alsa by default
+  mkdir -p $PKG/etc/alsa/conf.d
+  touch $PKG/etc/pipewire/media-session.d/with-alsa
+  ln -st $PKG/etc/alsa/conf.d /usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
 }


More information about the crux-commits mailing list