blob: e6c3672a3a34d633a4770f6ce6323f7e8aee49d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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
--with-system-user=pulse --with-system-group=pulse --with-access-group=pulse-access
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"
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
|