aboutsummaryrefslogtreecommitdiffstats
path: root/main/avahi
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-05-14 14:54:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-05-14 15:04:30 +0000
commitd47fd4efdbbbb95011b1001c2053413310a061a4 (patch)
tree9c84b27246f303f448877f4e4152e49ca65bf8d5 /main/avahi
parent06d09d0b0c143d259aca764d9bce716d920f87fd (diff)
downloadaports-d47fd4efdbbbb95011b1001c2053413310a061a4.tar.bz2
aports-d47fd4efdbbbb95011b1001c2053413310a061a4.tar.xz
main/avahi: remove avahi-bookmarks and split out python bindings
avahi-bookmarks is provided by avahi-ui-utils package
Diffstat (limited to 'main/avahi')
-rw-r--r--main/avahi/APKBUILD27
-rw-r--r--main/avahi/gnome-nettool.pngbin4509 -> 0 bytes
2 files changed, 17 insertions, 10 deletions
diff --git a/main/avahi/APKBUILD b/main/avahi/APKBUILD
index 34ebfbd98c..8512335697 100644
--- a/main/avahi/APKBUILD
+++ b/main/avahi/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=avahi
pkgver=0.6.31
-pkgrel=6
+pkgrel=7
pkgdesc="A multicast/unicast DNS-SD framework"
url="http://www.avahi.org/"
arch="all"
@@ -15,12 +15,13 @@ pkgusers="avahi"
pkggroups="avahi"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-glib
$pkgname-libs $pkgname-compat-howl:howl
- $pkgname-compat-libdns_sd:lidns_sd $pkgname-lang"
+ $pkgname-compat-libdns_sd:lidns_sd $pkgname-lang
+ py-avahi:py"
patches="initscripts.patch
musl-fix.patch"
source="http://www.avahi.org/download/avahi-$pkgver.tar.gz
$patches
- gnome-nettool.png"
+ "
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -52,6 +53,7 @@ build() {
--disable-xmltoman \
--enable-compat-libdns_sd \
--enable-compat-howl \
+ --enable-python \
--with-distro="gentoo" \
--with-systemdsystemunitdir=/lib/systemd/system \
|| return 1
@@ -66,7 +68,8 @@ package() {
ln -s avahi-compat-libdns_sd.pc \
"$pkgdir"/usr/lib/pkgconfig/libdns_sd.pc
ln -s avahi-compat-libdns_sd/dns_sd.h "$pkgdir"/usr/include/
- rm -f "$pkgdir"/usr/lib/*.la
+ rm -r "$pkgdir"/usr/lib/*.la "$pkgdir"/usr/bin/avahi-bookmarks \
+ || return 1
}
dev() {
@@ -113,15 +116,19 @@ lidns_sd() {
"$subpkgdir"/usr/lib/
}
+py() {
+ pkgdesc="python bindings for avahi"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/py* "$subpkgdir"/usr/lib/
+}
+
+
md5sums="2f22745b8f7368ad5a0a3fddac343f2d avahi-0.6.31.tar.gz
0f8cd64789585731adbeb3e3efd55b21 initscripts.patch
-9557450128d0e4324405af2c625dc8c7 musl-fix.patch
-42c2905307c7a5dc6ac4b75f4c3d65a3 gnome-nettool.png"
+9557450128d0e4324405af2c625dc8c7 musl-fix.patch"
sha256sums="8372719b24e2dd75de6f59bb1315e600db4fd092805bd1201ed0cb651a2dab48 avahi-0.6.31.tar.gz
a3c9ace33195393b078b7dae2f7e133795012304aaea5541e8c00ba62975d40d initscripts.patch
-c43a60cf9cddb3cc8c88c13d78dbf0c6a7f1e3ff1f73e1305d465547cadd6a58 musl-fix.patch
-88cbac3316fd0ad10bb7d054dcd53ab822517a1d9bbb70a31cd754dcd59e94b9 gnome-nettool.png"
+c43a60cf9cddb3cc8c88c13d78dbf0c6a7f1e3ff1f73e1305d465547cadd6a58 musl-fix.patch"
sha512sums="53eb00d570a274d841e1e6ad07da077950089ae39b4f7aa21fcd21cc5320b30b506b43e7e57e56198e155cc7bd289b779a48b2b2fc002dc6194a946110451858 avahi-0.6.31.tar.gz
31e1c7f469c80f537672880989eeef6493fa8b667965ca2d5b88dc58ba0e9a156aaf6531a85a0688ced0f6c9865cddf5195fe1b7f678bad4527f4d8ea990b445 initscripts.patch
-09ae19b3c8641cdbeaabf1af69852e297d7445dfaf259b43d9de8a04c5d31722ecb2fb921feb44925a5364e69bd514c47be90f532493b087879abf9f53a8fe11 musl-fix.patch
-d8e92fcdd82759f8de536ebfa356fe208c27b2d998ce5bb51d585dffc163dc16228be4a7108644fe1a11defbe750244bc8105a430b1397297cdef4cb83ab0db5 gnome-nettool.png"
+09ae19b3c8641cdbeaabf1af69852e297d7445dfaf259b43d9de8a04c5d31722ecb2fb921feb44925a5364e69bd514c47be90f532493b087879abf9f53a8fe11 musl-fix.patch"
diff --git a/main/avahi/gnome-nettool.png b/main/avahi/gnome-nettool.png
deleted file mode 100644
index 227d0678a3..0000000000
--- a/main/avahi/gnome-nettool.png
+++ /dev/null
Binary files differ