2009-12-08 09:51:53 +00:00
|
|
|
# Template file for 'avahi'
|
|
|
|
pkgname=avahi
|
2012-02-22 05:11:37 +00:00
|
|
|
version=0.6.31
|
2013-02-16 15:20:49 +00:00
|
|
|
revision=9
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-07-04 08:06:51 +00:00
|
|
|
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc
|
2012-10-10 07:39:18 +00:00
|
|
|
--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=netdev --with-autoipd-user=avahi
|
|
|
|
--with-autoipd-group=avahi --with-distro=none --disable-xmltoman
|
|
|
|
--disable-dbm --with-systemdsystemunitdir=/usr/lib/systemd/system
|
2013-02-16 15:20:49 +00:00
|
|
|
--disable-static ssp_cv_lib=no"
|
2009-12-08 09:51:53 +00:00
|
|
|
short_desc="Multicast DNS Service Discovery"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-11-10 11:57:15 +00:00
|
|
|
license="LGPL-2.1"
|
2012-07-09 15:53:20 +00:00
|
|
|
homepage="http://www.avahi.org"
|
|
|
|
distfiles="$homepage/download/avahi-$version.tar.gz"
|
2012-02-22 05:11:37 +00:00
|
|
|
checksum=8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48
|
2009-12-08 09:51:53 +00:00
|
|
|
|
2012-10-10 07:39:18 +00:00
|
|
|
depends="dbus"
|
2013-02-16 15:20:49 +00:00
|
|
|
makedepends="pkg-config intltool dbus-devel libcap-devel
|
|
|
|
libdaemon-devel gdbm-devel dbus-python pygtk-devel
|
2012-10-10 07:39:18 +00:00
|
|
|
gtk+3-devel>=3.6.0_5 gobject-introspection"
|
|
|
|
|
2009-12-11 11:05:56 +00:00
|
|
|
# Create avahi and netdev system accounts.
|
|
|
|
system_accounts="avahi netdev"
|
2012-06-11 10:14:06 +00:00
|
|
|
systemd_services="avahi-daemon.service on"
|
2012-10-10 07:39:18 +00:00
|
|
|
|
2012-02-22 05:11:37 +00: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 09:51:53 +00:00
|
|
|
|
2012-10-10 07:39:18 +00: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 15:20:49 +00:00
|
|
|
|
|
|
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
|
|
|
# XXX glib, gtk, introspection and python
|
|
|
|
makedepends="automake gettext-devel glib-devel pkg-config intltool"
|
|
|
|
crossmakedepends="dbus-devel libcap-devel libdaemon-devel gdbm-devel"
|
|
|
|
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
|
|
|
|
--disable-python --disable-pygtk
|
|
|
|
PKG_CONFIG_SYSROOT_DIR=/usr/$XBPS_CROSS_TRIPLET
|
|
|
|
PKG_CONFIG_LIBDIR=/usr/$XBPS_CROSS_TRIPLET/lib/pkgconfig"
|
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|