kind: autotools
depends:
- bluetooth.bst
- sound-server-pulseaudio/libdaemon.bst
sources:
- kind: git
  url: upstream:avahi
  track: v0.6.31
  ref: 4c0b4cbf9c597f6df6a3220dec5438f4fe9e551b
config:
  configure-commands:
  - |
    ./autogen.sh --prefix="%{prefix}" --sysconfdir=/etc --localstatedir=/var --disable-werror \
                 --with-distro=none --disable-qt3 --disable-qt4 --disable-gtk --disable-gtk3 \
                 --disable-pygtk --disable-python-dbus --disable-mono --disable-manpages
public:
  bst:
    integration-commands:
    - groupadd -fg 86 netdev
    - groupadd -fg 84 avahi
    - useradd -c "Avahi Daemon Owner" -d /var/run/avahi-daemon -u 84 -g avahi -s /bin/false
      avahi
    - systemctl enable avahi-daemon
