From dcdb7921a4a3a556a47ac543767be3c1a0dd2df3 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 20 Aug 2014 11:55:17 +0200 Subject: [PATCH] avahi: added systemd build option. --- srcpkgs/avahi/template | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/srcpkgs/avahi/template b/srcpkgs/avahi/template index 784e34448f..a91d3256f4 100644 --- a/srcpkgs/avahi/template +++ b/srcpkgs/avahi/template @@ -1,17 +1,16 @@ # Template file for 'avahi' pkgname=avahi version=0.6.31 -revision=16 +revision=17 build_style=gnu-configure configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc --disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl --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-dbm --with-systemdsystemunitdir=/usr/lib/systemd/system --disable-static ssp_cv_lib=no --disable-python --disable-pygtk --disable-glib --disable-gobject --disable-gtk --disable-gtk3 - --disable-introspection" + --disable-dbm --disable-introspection" short_desc="Multicast DNS Service Discovery" maintainer="Juan RP " license="LGPL-2.1" @@ -22,7 +21,6 @@ checksum=8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48 hostmakedepends="pkg-config intltool" makedepends="dbus-devel libcap-devel libdaemon-devel gdbm-devel" depends="dbus" -systemd_services="avahi-daemon.service on" conf_files=" /etc/avahi/services/ssh.service /etc/avahi/services/sftp-ssh.service @@ -31,6 +29,12 @@ conf_files=" /etc/avahi/avahi-dnsconfd.action" system_accounts="avahi:23" +build_options="systemd" +if [ "$build_option_systemd" ]; then + configure_args+=" --with-systemdsystemunitdir=/usr/lib/systemd/system" + systemd_services="avahi-daemon.service on" +fi + if [ "$CROSS_BUILD" ]; then hostmakedepends+=" libtool glib-devel" pre_configure() {