2009-12-08 10:51:53 +01:00
|
|
|
# Template file for 'avahi'
|
|
|
|
pkgname=avahi
|
2012-02-22 06:11:37 +01:00
|
|
|
version=0.6.31
|
2013-02-25 20:18:44 +01:00
|
|
|
revision=10
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-07-04 10:06:51 +02:00
|
|
|
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
|
2012-10-10 09:39:18 +02:00
|
|
|
--disable-doxygen-doc --enable-compat-libdns_sd --enable-compat-howl
|
|
|
|
--with-xml=expat --with-avahi-user=avahi --with-avahi-group=avahi
|
2013-02-25 20:18:44 +01:00
|
|
|
--with-avahi-priv-access-group=network --with-autoipd-user=avahi
|
2012-10-10 09:39:18 +02:00
|
|
|
--with-autoipd-group=avahi --with-distro=none --disable-xmltoman
|
|
|
|
--disable-dbm --with-systemdsystemunitdir=/usr/lib/systemd/system
|
2013-02-16 16:20:49 +01:00
|
|
|
--disable-static ssp_cv_lib=no"
|
2009-12-08 10:51:53 +01:00
|
|
|
short_desc="Multicast DNS Service Discovery"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-10 12:57:15 +01:00
|
|
|
license="LGPL-2.1"
|
2012-07-09 17:53:20 +02:00
|
|
|
homepage="http://www.avahi.org"
|
|
|
|
distfiles="$homepage/download/avahi-$version.tar.gz"
|
2012-02-22 06:11:37 +01:00
|
|
|
checksum=8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48
|
2009-12-08 10:51:53 +01:00
|
|
|
|
2012-10-10 09:39:18 +02:00
|
|
|
depends="dbus"
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="pkg-config intltool"
|
|
|
|
makedepends="dbus-devel libcap-devel libdaemon-devel gdbm-devel dbus-python pygtk-devel
|
2012-10-10 09:39:18 +02:00
|
|
|
gtk+3-devel>=3.6.0_5 gobject-introspection"
|
|
|
|
|
2009-12-11 12:05:56 +01:00
|
|
|
# Create avahi and netdev system accounts.
|
2012-06-11 12:14:06 +02:00
|
|
|
systemd_services="avahi-daemon.service on"
|
2012-10-10 09:39:18 +02:00
|
|
|
|
2012-02-22 06:11:37 +01:00
|
|
|
conf_files="
|
|
|
|
/etc/avahi/services/ssh.service
|
|
|
|
/etc/avahi/services/sftp-ssh.service
|
|
|
|
/etc/avahi/avahi-daemon.conf
|
|
|
|
/etc/avahi/hosts
|
|
|
|
/etc/avahi/avahi-dnsconfd.action"
|
2009-12-08 10:51:53 +01:00
|
|
|
|
2012-10-10 09:39:18 +02:00
|
|
|
subpackages="avahi-autoipd avahi-discover avahi-compat-libs avahi-compat-libs-devel
|
|
|
|
avahi-libs avahi-libs-devel avahi-glib-libs avahi-glib-libs-devel
|
|
|
|
avahi-ui-libs avahi-ui-libs-gtk3 avahi-ui-libs-devel avahi-utils
|
|
|
|
avahi-ui-utils avahi-python-utils avahi-python"
|
2013-02-16 16:20:49 +01:00
|
|
|
|
2013-03-24 10:21:58 +01:00
|
|
|
if [ "$XBPS_CROSS_BUILD" ]; then
|
2013-02-16 16:20:49 +01:00
|
|
|
# XXX glib, gtk, introspection and python
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="automake gettext-devel glib-devel pkg-config intltool"
|
|
|
|
makedepends="dbus-devel libcap-devel libdaemon-devel gdbm-devel"
|
2013-02-16 16:20:49 +01:00
|
|
|
subpackages="avahi-autoipd avahi-compat-libs avahi-compat-libs-devel
|
|
|
|
avahi-libs avahi-libs-devel avahi-utils"
|
|
|
|
configure_args="${configure_args} --disable-glib --disable-gobject
|
|
|
|
--disable-gtk --disable-gtk3 --disable-introspection
|
2013-02-26 16:23:06 +01:00
|
|
|
--disable-python --disable-pygtk"
|
2013-02-16 16:20:49 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|