avahi: install service-types.db required by avahi-discover.

Thanks to @dominikh for figuring this out.
This commit is contained in:
Juan RP 2015-08-02 07:22:03 +02:00
parent 428af4f674
commit 4728e018a1

View file

@ -1,7 +1,7 @@
# Template file for 'avahi'
pkgname=avahi
version=0.6.31
revision=22
revision=23
build_pie=yes
build_style=gnu-configure
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
@ -9,9 +9,9 @@ configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
--with-xml=expat --with-avahi-user=avahi --with-avahi-group=avahi
--with-avahi-priv-access-group=network --with-autoipd-user=avahi
--with-autoipd-group=avahi --with-distro=none --disable-xmltoman
--disable-static ssp_cv_lib=no --disable-python --disable-pygtk
--disable-glib --disable-gobject --disable-gtk --disable-gtk3
--disable-dbm --disable-introspection --sbindir=/usr/bin"
--disable-static ssp_cv_lib=no --enable-python --disable-pygtk
--disable-glib --disable-python-dbus --disable-gobject --disable-gtk
--disable-gtk3 --disable-dbm --disable-introspection --sbindir=/usr/bin"
short_desc="Multicast DNS Service Discovery"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
@ -20,7 +20,7 @@ homepage="http://www.avahi.org"
distfiles="http://pkgs.fedoraproject.org/repo/pkgs/avahi/avahi-${version}.tar.gz/2f22745b8f7368ad5a0a3fddac343f2d/avahi-${version}.tar.gz"
checksum=8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48
hostmakedepends="pkg-config intltool"
hostmakedepends="pkg-config intltool python"
makedepends="dbus-devel libcap-devel libdaemon-devel gdbm-devel"
depends="dbus"
conf_files="
@ -43,6 +43,7 @@ post_extract() {
sed -e 's,\(avahi_runtime_dir=\).*,\1\"/run\",' -i ${wrksrc}/configure
}
post_install() {
rm -rf ${DESTDIR}/usr/lib/python*
# Enable 'disallow_other_stacks' option by default.
sed -e 's,\#\(disallow-other-stacks\).*,\1=yes,' -i ${DESTDIR}/etc/avahi/avahi-daemon.conf
vsv avahi-daemon