[arch-commits] Commit in avahi/repos/staging-x86_64 (PKGBUILD PKGBUILD)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 11 06:55:29 UTC 2020


    Date: Wednesday, November 11, 2020 @ 06:55:28
  Author: foutrelis
Revision: 400240

archrelease: copy trunk to staging-x86_64

Added:
  avahi/repos/staging-x86_64/PKGBUILD
    (from rev 400239, avahi/trunk/PKGBUILD)
Deleted:
  avahi/repos/staging-x86_64/PKGBUILD

----------+
 PKGBUILD |  160 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 80 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-11 06:55:25 UTC (rev 400239)
+++ PKGBUILD	2020-11-11 06:55:28 UTC (rev 400240)
@@ -1,80 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
-
-pkgname=avahi
-pkgver=0.8+15+ge8a3dd0
-pkgrel=2
-pkgdesc='Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour'
-url='https://github.com/lathiat/avahi'
-license=(LGPL)
-arch=(x86_64)
-depends=(expat libdaemon glib2 libcap gdbm dbus)
-makedepends=(git gobject-introspection gtk3 qt5-base xmltoman python-dbus
-             python-gobject doxygen graphviz libevent)
-optdepends=('gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc'
-            'qt5-base: qt5 bindings'
-            'libevent: libevent bindings'
-            'nss-mdns: NSS support for mDNS'
-            'python-twisted: avahi-bookmarks'
-            'python-gobject: avahi-bookmarks, avahi-discover'
-            'python-dbus: avahi-bookmarks, avahi-discover')
-provides=(libavahi-client.so libavahi-common.so libavahi-core.so
-          libavahi-glib.so libavahi-gobject.so libavahi-libevent.so
-          libavahi-qt5.so libavahi-ui-gtk3.so libdns_sd.so)
-backup=(etc/avahi/{hosts,avahi-daemon.conf,avahi-{autoip,dnsconf}d.action}
-        usr/lib/avahi/service-types.db)
-_commit=e8a3dd0d480a754318e312e6fa66fea249808187  # master
-source=("git+https://github.com/lathiat/avahi#commit=$_commit")
-sha512sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-
-  ./configure \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --localstatedir=/var \
-    --sbindir=/usr/bin \
-    with_dbus_sys=/usr/share/dbus-1/system.d \
-    --disable-mono \
-    --enable-compat-libdns_sd \
-    --with-distro=archlinux \
-    --with-avahi-priv-access-group=network \
-    --with-autoipd-user=avahi \
-    --with-autoipd-group=avahi \
-    --with-systemdsystemunitdir=/usr/lib/systemd/system
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-
-  make
-}
-
-package() {
-  depends+=(libdbus-1.so)
-
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-
-  rmdir "$pkgdir/run"
-
-  # mdnsresponder compat
-  ln -s avahi-compat-libdns_sd/dns_sd.h "$pkgdir/usr/include/dns_sd.h"
-
-  # move example services https://bugs.archlinux.org/task/47822
-  install -d "$pkgdir/usr/share/doc/$pkgname"
-  mv "$pkgdir"/etc/avahi/services/{,sftp-}ssh.service \
-    "$pkgdir/usr/share/doc/$pkgname/"
-
-  echo 'u avahi - "Avahi mDNS/DNS-SD daemon"' |
-    install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
-}

Copied: avahi/repos/staging-x86_64/PKGBUILD (from rev 400239, avahi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-11 06:55:28 UTC (rev 400240)
@@ -0,0 +1,80 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Douglas Soares de Andrade <douglas at archlinux.org>
+
+pkgname=avahi
+pkgver=0.8+15+ge8a3dd0
+pkgrel=3
+pkgdesc='Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour'
+url='https://github.com/lathiat/avahi'
+license=(LGPL)
+arch=(x86_64)
+depends=(expat libdaemon glib2 libcap gdbm dbus)
+makedepends=(git gobject-introspection gtk3 qt5-base xmltoman python-dbus
+             python-gobject doxygen graphviz libevent)
+optdepends=('gtk3: avahi-discover, avahi-discover-standalone, bshell, bssh, bvnc'
+            'qt5-base: qt5 bindings'
+            'libevent: libevent bindings'
+            'nss-mdns: NSS support for mDNS'
+            'python-twisted: avahi-bookmarks'
+            'python-gobject: avahi-bookmarks, avahi-discover'
+            'python-dbus: avahi-bookmarks, avahi-discover')
+provides=(libavahi-client.so libavahi-common.so libavahi-core.so
+          libavahi-glib.so libavahi-gobject.so libavahi-libevent.so
+          libavahi-qt5.so libavahi-ui-gtk3.so libdns_sd.so)
+backup=(etc/avahi/{hosts,avahi-daemon.conf,avahi-{autoip,dnsconf}d.action}
+        usr/lib/avahi/service-types.db)
+_commit=e8a3dd0d480a754318e312e6fa66fea249808187  # master
+source=("git+https://github.com/lathiat/avahi#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+
+  ./configure \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --localstatedir=/var \
+    --sbindir=/usr/bin \
+    with_dbus_sys=/usr/share/dbus-1/system.d \
+    --disable-mono \
+    --enable-compat-libdns_sd \
+    --with-distro=archlinux \
+    --with-avahi-priv-access-group=network \
+    --with-autoipd-user=avahi \
+    --with-autoipd-group=avahi \
+    --with-systemdsystemunitdir=/usr/lib/systemd/system
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
+  make
+}
+
+package() {
+  depends+=(libdbus-1.so)
+
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+
+  rmdir "$pkgdir/run"
+
+  # mdnsresponder compat
+  ln -s avahi-compat-libdns_sd/dns_sd.h "$pkgdir/usr/include/dns_sd.h"
+
+  # move example services https://bugs.archlinux.org/task/47822
+  install -d "$pkgdir/usr/share/doc/$pkgname"
+  mv "$pkgdir"/etc/avahi/services/{,sftp-}ssh.service \
+    "$pkgdir/usr/share/doc/$pkgname/"
+
+  echo 'u avahi - "Avahi mDNS/DNS-SD daemon"' |
+    install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+}



More information about the arch-commits mailing list