summaryrefslogtreecommitdiff
path: root/strata/sound-server-pulseaudio/pulseaudio.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/sound-server-pulseaudio/pulseaudio.morph')
-rw-r--r--strata/sound-server-pulseaudio/pulseaudio.morph18
1 files changed, 18 insertions, 0 deletions
diff --git a/strata/sound-server-pulseaudio/pulseaudio.morph b/strata/sound-server-pulseaudio/pulseaudio.morph
new file mode 100644
index 00000000..dfaa9b0d
--- /dev/null
+++ b/strata/sound-server-pulseaudio/pulseaudio.morph
@@ -0,0 +1,18 @@
+name: pulseaudio
+kind: chunk
+description: PulseAudio System
+build-system: autotools
+pre-configure-commands:
+- NOCONFIGURE=1 ./bootstrap.sh
+configure-commands:
+- ./configure --prefix="$PREFIX" --localstatedir=/var --sysconfdir=/etc --with-database=simple
+ --with-systemduserunitdir=/usr/lib/systemd/user
+ --with-system-user=pulse --with-system-group=pulse --with-access-group=pulse-access
+ --enable-webrtc-aec
+system-integration:
+ pulseaudio-misc:
+ 00-add-pulse-users:
+ - groupadd -rf pulse-access
+ - groupadd -rf pulse-rt
+ - groupadd -f -g 171 -r pulse
+ - useradd -r -g pulse -d /var/run/pulse -s /bin/false -c "PulseAudio System Daemon" pulse || exit 0