summaryrefslogtreecommitdiffstats
path: root/extra/avahi/Pkgfile
diff options
context:
space:
mode:
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}
}