summaryrefslogtreecommitdiff
path: root/baserock/strata/audio-bluetooth/pulseaudio.morph
diff options
context:
space:
mode:
Diffstat (limited to 'baserock/strata/audio-bluetooth/pulseaudio.morph')
-rw-r--r--baserock/strata/audio-bluetooth/pulseaudio.morph13
1 files changed, 13 insertions, 0 deletions
diff --git a/baserock/strata/audio-bluetooth/pulseaudio.morph b/baserock/strata/audio-bluetooth/pulseaudio.morph
new file mode 100644
index 00000000..be4cb557
--- /dev/null
+++ b/baserock/strata/audio-bluetooth/pulseaudio.morph
@@ -0,0 +1,13 @@
+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=/lib/systemd/system
+install-commands:
+- make DESTDIR="$DESTDIR" install
+- mkdir -p "$DESTDIR/etc/systemd/system/multi-user.target.wants"
+- ln -s /lib/systemd/system/pulseaudio.service "$DESTDIR/etc/systemd/system/multi-user.target.wants/pulseaudio.service"