summaryrefslogtreecommitdiff
path: root/extra/avahi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/avahi/PKGBUILD')
-rw-r--r--extra/avahi/PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/extra/avahi/PKGBUILD b/extra/avahi/PKGBUILD
index f9f628d40..dbe9af7b7 100644
--- a/extra/avahi/PKGBUILD
+++ b/extra/avahi/PKGBUILD
@@ -8,7 +8,7 @@ pkgrel=7
pkgdesc='Multicast/unicast DNS-SD framework'
url='http://www.avahi.org/'
license=('LGPL')
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
options=('!libtool' '!emptydirs')
depends=('expat' 'libdaemon' 'glib2' 'libcap' 'gdbm')
optdepends=('dbus: communicating with client applications'
@@ -17,12 +17,13 @@ optdepends=('dbus: communicating with client applications'
'qt3: qt3 bindings'
'qt4: qt4 bindings'
'pygtk: avahi-bookmarks, avahi-discover'
- 'twisted: avahi-bookmarks'
- 'mono: mono bindings'
- 'python2-dbus: avahi-discover'
+ 'twisted: avahi-bookmarks')
+[ "$CARCH" != "mips64el" ] && optdepends+=('mono: mono bindings')
+optdepends+=('dbus-python: avahi-discover'
'nss-mdns: NSS support for mDNS')
-makedepends=('qt3' 'qt4' 'pygtk' 'mono' 'intltool' 'python2-dbus'
- 'gtk-sharp-2' 'gobject-introspection' 'gtk3' 'xmltoman')
+makedepends=('qt3' 'qt4' 'pygtk' 'intltool' 'python2-dbus'
+ 'gobject-introspection' 'gtk3' 'xmltoman')
+[ "$CARCH" != "mips64el" ] && makedepends+=('mono' 'gtk-sharp-2')
backup=('etc/avahi/hosts'
'etc/avahi/avahi-daemon.conf'
'etc/avahi/services/ssh.service'
@@ -45,6 +46,9 @@ build() {
sed -i 's/netdev/network/g' avahi-daemon/avahi-dbus.conf
patch -p1 -i ../rc.d.patch
+ [ "$CARCH" = "mips64el" ] && \
+ extra="--disable-mono"
+
export MOC_QT3=/usr/bin/moc-qt3
export MOC_QT4=/usr/bin/moc-qt4
@@ -62,6 +66,7 @@ build() {
--with-avahi-priv-access-group=network \
--with-autoipd-user=avahi \
--with-autoipd-group=avahi \
+ $extra \
--with-systemdsystemunitdir=/usr/lib/systemd/system \
make