kind: autotools
description: PulseAudio System
depends:
- bluetooth.bst
- sound-server-pulseaudio/avahi.bst
- sound-server-pulseaudio/libsndfile.bst
- sound-server-pulseaudio/libatomic_ops.bst
- sound-server-pulseaudio/speex.bst
- sound-server-pulseaudio/alsa-lib.bst
- sound-server-pulseaudio/sbc.bst
- sound-server-pulseaudio/webrtc-audio-processing.bst
sources:
- kind: git
  url: upstream:pulseaudio
  track: v10.0
  ref: 84952e6a092b6a0c5b153bd7a4f6e490810681c8
config:
  configure-commands:
  - NOCONFIGURE=1 ./bootstrap.sh
  - ./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
public:
  bst:
    integration-commands:
    - 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
