summaryrefslogtreecommitdiff
path: root/strata/sound-server-pulseaudio/pulseaudio.morph
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2016-07-03 21:34:00 +0100
committerJavier Jardón <jjardon@gnome.org>2016-07-06 18:30:45 +0100
commita37bfc809f199219046a7a4ada092d395a605faf (patch)
treee9b92ce0b7a8eb2952a93ba9fd4e06750d4413cb /strata/sound-server-pulseaudio/pulseaudio.morph
parentcb16b957a1447ac3809070d8d8cdf4c019a161a2 (diff)
downloaddefinitions-a37bfc809f199219046a7a4ada092d395a605faf.tar.gz
Split bluetooth and audio-server (pulseaudio) in different stratajjardon/split
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