diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-12-09 20:23:43 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2015-12-14 18:19:28 +0900 |
commit | eed583b7ebbfbcabad609a6a32bf281137332f24 (patch) | |
tree | d57b8dadabeae177fda58bb54eee492bc3c7d4ec /strata/audio-bluetooth | |
parent | 72b1b27a0ea16967378c5f64a31fa264f59aaa65 (diff) | |
download | definitions-eed583b7ebbfbcabad609a6a32bf281137332f24.tar.gz |
Adding avahi to audio-bluetooth stratum
This needs to be a dependency of pulseaudio so that higher level
applications can discover the pulseaudio service over avahi.
Added some sed magick here because avahi-ui does not build
with the deprecated symbols disabled, and this is hard-coded
into the avahi makefiles.
Change-Id: Iee6bff1d63d002e3e239fc76804e6010fa2c299b
Diffstat (limited to 'strata/audio-bluetooth')
-rw-r--r-- | strata/audio-bluetooth/avahi.morph | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/strata/audio-bluetooth/avahi.morph b/strata/audio-bluetooth/avahi.morph new file mode 100644 index 00000000..49d249d5 --- /dev/null +++ b/strata/audio-bluetooth/avahi.morph @@ -0,0 +1,18 @@ +name: avahi +kind: chunk +build-system: autotools +pre-configure-commands: +- sed -i 's/AM_CFLAGS=-I$(top_srcdir) -DG_DISABLE_DEPRECATED=1 -DGDK_DISABLE_DEPRECATED=1 -DGTK_DISABLE_DEPRECATED=1/AM_CFLAGS=-I$(top_srcdir)/g' avahi-ui/Makefile.am +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 +system-integration: + avahi-misc: + 00-add-avahi-user: + - 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 + 00-enable-avahi-service: + - systemctl enable avahi-daemon |