author | Jan de Groot
<jgc@archlinux.org> 2010-09-29 17:34:26 UTC |
committer | Jan de Groot
<jgc@archlinux.org> 2010-09-29 17:34:26 UTC |
parent | 0abdb9438cf4c27346b563cfaaf467da5ba0bd89 |
PKGBUILD | +10 | -7 |
introspection.patch | +17 | -0 |
diff --git a/PKGBUILD b/PKGBUILD index fa41c82..ac8ec42 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=avahi pkgver=0.6.27 -pkgrel=3 +pkgrel=4 pkgdesc='A multicast/unicast DNS-SD framework' arch=('i686' 'x86_64') url='http://www.avahi.org/' @@ -16,25 +16,28 @@ optdepends=('gtk2: avahi-discover-standalone' 'mono: mono bindings' 'dbus-python: avahi-discover' 'nss-mdns: NSS support for mDNS') -makedepends=('qt' 'qt3' 'pygtk' 'mono' 'intltool' 'dbus-python' 'gtk-sharp-2') +makedepends=('qt' 'qt3' 'pygtk' 'mono' 'intltool' 'dbus-python' 'gtk-sharp-2' 'gobject-introspection') backup=(etc/avahi/avahi-daemon.conf etc/avahi/services/{sftp-,}ssh.service) install=avahi.install conflicts=('howl' 'mdnsresponder') provides=('howl' 'mdnsresponder') replaces=('howl' 'mdnsresponder') options=('!libtool') -source=("http://www.avahi.org/download/avahi-${pkgver}.tar.gz" - 'avahi-daemon-dbus.patch' - 'gnome-nettool.png') +source=(http://www.avahi.org/download/avahi-${pkgver}.tar.gz + avahi-daemon-dbus.patch + gnome-nettool.png + introspection.patch) sha1sums=('e763bbeba92fd5b3ba3e2af5fc85aaf99b406c8b' '41e9f23efa0b5a5f7b0f14a86cfb0677ece84c61' - 'cf56387c88aed246b9f435efc182ef44de4d52f3') + 'cf56387c88aed246b9f435efc182ef44de4d52f3' + '9a585c2b851641511705ac9b423311ac650653cc') build() { cd "${srcdir}/${pkgname}-${pkgver}" sed -i 's/netdev/network/g' avahi-daemon/avahi-dbus.conf - patch -p0 < ../avahi-daemon-dbus.patch + patch -Np0 -i "${srcdir}/avahi-daemon-dbus.patch" + patch -Np1 -i "${srcdir}/introspection.patch" ./configure \ --prefix=/usr \ diff --git a/introspection.patch b/introspection.patch new file mode 100644 index 0000000..147e015 --- /dev/null +++ b/introspection.patch @@ -0,0 +1,17 @@ +--- avahi-0.6.27/avahi-gobject/AvahiCore-0.6.gir 2010-06-27 02:38:43.018291433 +0200 ++++ avahi-0.6.27-introspection/avahi-gobject/AvahiCore-0.6.gir 2010-09-29 19:08:53.503339092 +0200 +@@ -1,10 +1,12 @@ + <?xml version="1.0"?> +-<repository version="1.0" ++<repository version="1.2" + xmlns="http://www.gtk.org/introspection/core/1.0" + xmlns:c="http://www.gtk.org/introspection/c/1.0" + xmlns:glib="http://www.gtk.org/introspection/glib/1.0"> + <namespace name="AvahiCore" version="0.6" shared-library="avahi-core"> +- <alias name="IfIndex" target="int" c:type="AvahiIfIndex"/> ++ <alias name="IfIndex" target="int"> ++ <type name="AvahiIfIndex" c:type="AvahiIfIndex"/> ++ </alias> + <enumeration name="Protocol" c:type="AvahiProtocol"> + <member name="inet" + value="0"