main/avahi-ui: streamline dependencies

Remove dependencies where not necessary, avahi-tools has no
dependency on any python stuff, all files are ELF binaries, not
python scripts.

Move gtk+3.0-dev and avahi-dev to makedepends since they are
automatically detected by pc:
This commit is contained in:
Leo 2019-11-22 14:28:08 +01:00
parent ca2a7d108d
commit 3d3764529e

View File

@ -1,16 +1,15 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avahi-ui
pkgver=0.7
pkgrel=1
pkgrel=2
pkgdesc="Gtk user interface library for Avahi"
url="http://www.avahi.org/"
arch="all"
license="LGPL-2.0-or-later"
depends_dev="gtk+3.0-dev gdbm-dev avahi-dev"
depends_dev="gdbm-dev"
makedepends="$depends_dev py3-gobject3-dev py-dbus-dev intltool
gobject-introspection-dev expat-dev libdaemon-dev glib-dev dbus-dev
libcap-dev py-gdbm python3-dev
autoconf automake libtool"
libcap-dev python3-dev autoconf automake libtool avahi-dev gtk+3.0-dev"
subpackages="$pkgname-dev $pkgname-tools $pkgname-gtk3"
source="http://www.avahi.org/download/avahi-$pkgver.tar.gz
system-avahi.patch
@ -62,8 +61,8 @@ package() {
}
tools() {
depends=""
pkgdesc="UI tools for mDNS browsing"
depends="py-dbus py-gdbm py2-avahi"
mkdir -p "$subpkgdir"/usr/bin
cd "$pkgdir"/usr/bin
mv b* "$subpkgdir"/usr/bin/