diff options
author | James Meyer <james.meyer@operamail.com> | 2010-09-08 07:33:44 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2010-09-08 07:33:44 (GMT) |
commit | 525753e4a1a139e088d8ac120b19fbab6c0aaaa6 (patch) | |
tree | 35cef28abb613da4f58e83f6abbe4bd4cfa244bf /abs/core-testing/avahi/PKGBUILD | |
parent | 592e3cad43ef12c53f523145d0fd981b54f2a049 (diff) | |
parent | b172f79fadb565ecfbcec9508f9377d8618a4f4c (diff) | |
download | linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.zip linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.gz linhes_pkgbuild-525753e4a1a139e088d8ac120b19fbab6c0aaaa6.tar.bz2 |
Merge branch 'HEAD' of ssh://jams@knoppmyth.net/mount/repository/LinHES-PKGBUILD
Diffstat (limited to 'abs/core-testing/avahi/PKGBUILD')
-rw-r--r-- | abs/core-testing/avahi/PKGBUILD | 51 |
1 files changed, 29 insertions, 22 deletions
diff --git a/abs/core-testing/avahi/PKGBUILD b/abs/core-testing/avahi/PKGBUILD index c448d16..f3d15bf 100644 --- a/abs/core-testing/avahi/PKGBUILD +++ b/abs/core-testing/avahi/PKGBUILD @@ -1,31 +1,37 @@ -# $Id: PKGBUILD 23159 2009-01-04 04:58:11Z douglas $ -# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org> +# $Id: PKGBUILD 70504 2010-02-27 03:24:54Z dgriffiths $ +# Contributor: Douglas Soares de Andrade <douglas@archlinux.org> pkgname=avahi -pkgver=0.6.24 -pkgrel=2 +pkgver=0.6.25 +pkgrel=3 pkgdesc="A multicast/unicast DNS-SD framework" arch=('i686' 'x86_64') url="http://www.avahi.org/" license=('LGPL') -depends=('dbus>=1.1.20-1' 'libcap' 'libdaemon>=0.11' 'gdbm' 'glib2' 'expat') -optdepends=('qt3:Qt3 UI support' 'libglade:Avahi-discover-standalone' - 'nss-mdns:NSS support for mDNS') +depends=('dbus>=1.1.20-1' 'libcap>=2.16' 'libdaemon>=0.11' 'gdbm' 'glib2' 'expat') +optdepends=('qt3: Qt3 UI support' + 'libglade: avahi-discover-standalone' + 'nss-mdns: NSS support for mDNS' + 'pygtk: avahi-discover' + 'dbus-python: avahi-discover') makedepends=('mono' 'pygtk' 'gtk-sharp-2' 'dbus-python' 'qt3' 'libglade' 'intltool') -backup=(etc/avahi/avahi-daemon.conf) +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 gnome-nettool.png) +source=(http://www.avahi.org/download/avahi-${pkgver}.tar.gz gnome-nettool.png avahi-daemon-dbus.patch) build() { [ -z "${QTDIR}" ] && . /etc/profile.d/qt3.sh - export MONO_SHARED_DIR=${startdir}/src/.wabi + export MONO_SHARED_DIR=${srcdir}/.wabi mkdir -p ${MONO_SHARED_DIR} - cd ${startdir}/src/${pkgname}-${pkgver} + cd ${srcdir}/${pkgname}-${pkgver} + + sed -i 's|Requires.private|Requires|' avahi-qt3.pc.in + ./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ @@ -42,23 +48,24 @@ build() { --with-autoipd-group=avahi make || return 1 - make DESTDIR=${startdir}/pkg install + make DESTDIR=${pkgdir} install rm -rf ${MONO_SHARED_DIR} - #fix capability - sed -i -e 's|$DAEMON -D |modprobe capability > /dev/null 2>\&1 ; $DAEMON -D |' ${startdir}/pkg/etc/rc.d/avahi-daemon - - sed -i -e 's/netdev/network/g' ${startdir}/pkg/etc/dbus-1/system.d/avahi-dbus.conf + sed -i -e 's/netdev/network/g' ${pkgdir}/etc/dbus-1/system.d/avahi-dbus.conf # howl and mdnsresponder compatability - cd ${startdir}/pkg/usr/include + cd ${pkgdir}/usr/include ln -s avahi-compat-libdns_sd/dns_sd.h dns_sd.h ln -s avahi-compat-howl howl - cd ${startdir}/pkg/usr/lib/pkgconfig + cd ${pkgdir}/usr/lib/pkgconfig ln -s avahi-compat-howl.pc howl.pc - mkdir -p ${startdir}/pkg/usr/share/pixmaps - install -m 644 ${startdir}/src/gnome-nettool.png ${startdir}/pkg/usr/share/pixmaps/gnome-nettool.png + mkdir -p ${pkgdir}/usr/share/pixmaps + install -m 644 ${srcdir}/gnome-nettool.png ${pkgdir}/usr/share/pixmaps/gnome-nettool.png + + cd ${pkgdir} + patch -p0 < ${srcdir}/avahi-daemon-dbus.patch || return 1 } -md5sums=('068c1d220b07037e64caf87d4a7a0504' - '42c2905307c7a5dc6ac4b75f4c3d65a3') +md5sums=('a83155a6e29e3988f07e5eea3287b21e' + '42c2905307c7a5dc6ac4b75f4c3d65a3' + '0e1f5900b56fcfa1bffddb4f233f539f') |