summaryrefslogtreecommitdiff
path: root/extra/avahi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/avahi/PKGBUILD')
-rw-r--r--extra/avahi/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/avahi/PKGBUILD b/extra/avahi/PKGBUILD
index dc4bdc6e4..0c9438d9c 100644
--- a/extra/avahi/PKGBUILD
+++ b/extra/avahi/PKGBUILD
@@ -10,6 +10,7 @@ arch=('i686' 'x86_64' 'mips64el')
url='http://www.avahi.org/'
license=('LGPL')
depends=('expat' 'libdaemon' 'glib2' 'dbus' 'libcap' 'gdbm')
+[ "$CARCH" = "mips64el" ] || {
optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
'gtk2: gtk2 bindings'
'qt3: qt3 bindings'
@@ -21,6 +22,18 @@ optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
'nss-mdns: NSS support for mDNS')
makedepends=('qt' 'qt3' 'pygtk' 'mono' 'intltool' 'dbus-python'
'gtk-sharp-2' 'gobject-introspection' 'gtk3')
+}
+
+[ "$CARCH" = "mips64el" ] && {
+optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
+ 'gtk2: gtk2 bindings'
+ 'pygtk: avahi-bookmarks, avahi-discover'
+ 'twisted: avahi-bookmarks'
+ 'dbus-python: avahi-discover'
+ 'nss-mdns: NSS support for mDNS')
+makedepends=('pygtk' 'intltool' 'dbus-python'
+ 'gobject-introspection' 'gtk3')
+}
backup=(etc/avahi/avahi-daemon.conf etc/avahi/services/{sftp-,}ssh.service)
install=avahi.install
conflicts=('howl' 'mdnsresponder')