git » avahi.git » commit 0a49e45

upstream update to [gnome-unstable]

author Gaetan Bisson
2011-03-09 18:25:47 UTC
committer Gaetan Bisson
2011-03-09 18:25:47 UTC
parent b471411a8654375bd495d5c445e7dbc8bd6cb572

upstream update to [gnome-unstable]

PKGBUILD +5 -4

diff --git a/PKGBUILD b/PKGBUILD
index 22a16c7..ac751dd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,14 @@
 
 pkgname=avahi
 pkgver=0.6.29
-pkgrel=1
+pkgrel=2
 pkgdesc='A multicast/unicast DNS-SD framework'
 arch=('i686' 'x86_64')
 url='http://www.avahi.org/'
 license=('LGPL')
 depends=('expat' 'libdaemon' 'glib2' 'dbus' 'libcap' 'gdbm')
-optdepends=('gtk2: avahi-discover-standalone, bshell, bssh, bvnc'
+optdepends=('gtk3: avahi-discover-standalone, bshell, bssh, bvnc'
+            'gtk2: gtk2 bindings'
             'qt3: qt3 bindings'
             'qt: qt bindings'
             'pygtk: avahi-bookmarks, avahi-discover'
@@ -18,7 +19,7 @@ optdepends=('gtk2: avahi-discover-standalone, bshell, bssh, bvnc'
             'dbus-python: avahi-discover'
             'nss-mdns: NSS support for mDNS')
 makedepends=('qt' 'qt3' 'pygtk' 'mono' 'intltool' 'dbus-python'
-             'gtk-sharp-2' 'gobject-introspection')
+             'gtk-sharp-2' 'gobject-introspection' 'gtk3')
 backup=(etc/avahi/avahi-daemon.conf etc/avahi/services/{sftp-,}ssh.service)
 install=avahi.install
 conflicts=('howl' 'mdnsresponder')
@@ -40,12 +41,12 @@ build() {
 
   # pygtk requires python2; make it explicit in case other python are installed: FS#21865
   PYTHON=python2 \
+  PKG_CONFIG_PATH=/opt/qt/lib/pkgconfig \
     ./configure \
     --prefix=/usr \
     --sysconfdir=/etc \
     --localstatedir=/var \
     --disable-static \
-    --disable-gtk3 \
     --disable-monodoc \
     --disable-doxygen-doc \
     --disable-xmltoman \