summaryrefslogtreecommitdiffstats
path: root/extra/avahi/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-20 14:01:22 +0100
committersibel <lesibel@free.fr>2011-01-20 14:01:22 +0100
commite317cc945d0076b3028e7bd712479e7c80f59db1 (patch)
tree4b473cebb10ac405fa51e03ef511b0b300c1b93d /extra/avahi/Pkgfile
parent161c7930202758cb86c11d9cbf162a66d7aaf1d8 (diff)
downloadnutyx-extra-e317cc945d0076b3028e7bd712479e7c80f59db1.tar.gz
nutyx-extra-e317cc945d0076b3028e7bd712479e7c80f59db1.tar.bz2
nutyx-extra-e317cc945d0076b3028e7bd712479e7c80f59db1.tar.xz
nutyx-extra-e317cc945d0076b3028e7bd712479e7c80f59db1.zip
avahi, maj 0.6.28-4
Diffstat (limited to 'extra/avahi/Pkgfile')
-rw-r--r--extra/avahi/Pkgfile45
1 files changed, 23 insertions, 22 deletions
diff --git a/extra/avahi/Pkgfile b/extra/avahi/Pkgfile
index 732c34cc0..103efbb68 100644
--- a/extra/avahi/Pkgfile
+++ b/extra/avahi/Pkgfile
@@ -2,39 +2,40 @@
# URL: http://www.avahi.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-# Depends on: libdaemon, dbus, dbus-python, nss-mdns, libglade, libcap, pygtk
-# Run on: libdaemon,dbus,dbus-python,nss-mdns,libglade,libcap,pygtk
+# Depends on: libdaemon, dbus, dbus-python, nss-mdns, libglade, libcap, pygtk, qt
+# Run on: libdaemon,dbus,dbus-python,nss-mdns,libglade,libcap,gtk
name=avahi
version=0.6.28
release=4
source=(http://www.avahi.org/download/avahi-$version.tar.gz\
- network-wired.png)
+ network-wired.png
+ avahi-0.6.28-daemon-dbus.patch)
build() {
cd $name-$version
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var/lib \
+ sed -i 's/netdev/network/g' avahi-daemon/avahi-dbus.conf
+ patch -Np0 -i ../avahi-0.6.28-daemon-dbus.patch
+
+ PYTHON=python2 ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-gtk3 \
--disable-qt3 \
- --disable-qt4 \
- --disable-gtk3 \
- --disable-monodoc \
- --disable-doxygen-doc \
- --disable-xmltoman \
- --enable-compat-libdns_sd \
- --enable-compat-howl \
- --with-distro=none \
- --disable-gdbm \
+ --disable-monodoc \
+ --disable-doxygen-doc \
+ --disable-xmltoman \
--disable-mono \
- --with-avahi-priv-access-group=network \
- --enable-autoipd \
- --with-autoipd-user=avahi \
- --with-autoipd-group=avahi \
- --with-systemdsystemunitdir=/lib/systemd/system
-
+ --enable-compat-libdns_sd \
+ --enable-compat-howl \
+ --with-distro=archlinux \
+ --with-avahi-priv-access-group=network \
+ --with-autoipd-user=avahi \
+ --with-autoipd-group=avahi \
+ --with-systemdsystemunitdir=/lib/systemd/system
make
make DESTDIR=$PKG install
@@ -45,6 +46,6 @@ build() {
$PKG/usr/share/pixmaps/network-wired.png
rm -r $PKG/{etc/avahi,var,usr/share/man/man8,usr/sbin}
-# sed -i '1c #!/usr/bin/python2' $PKG/usr/bin/avahi-{bookmarks,discover}
+ sed -i '1c #!/usr/bin/python2' $PKG/usr/bin/avahi-{bookmarks,discover}
}