diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2008-12-20 18:23:56 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2008-12-20 18:23:56 +0000 |
commit | 4a9b65accacda2ab06290018dcd77f5e53160d33 (patch) | |
tree | a861fe581bbc9e76e830ae6cde33aa92e7f76d33 /audio/pulseaudio | |
parent | 02f5f7643a61737da2d5ba4ca83b58b411cca91a (diff) | |
download | pkgsrc-4a9b65accacda2ab06290018dcd77f5e53160d33.tar.gz |
Add avahi support, bump PKGREVISION.
Diffstat (limited to 'audio/pulseaudio')
-rw-r--r-- | audio/pulseaudio/Makefile | 18 | ||||
-rw-r--r-- | audio/pulseaudio/PLIST | 9 |
2 files changed, 24 insertions, 3 deletions
diff --git a/audio/pulseaudio/Makefile b/audio/pulseaudio/Makefile index 3531eef0346..5a86dee5e5a 100644 --- a/audio/pulseaudio/Makefile +++ b/audio/pulseaudio/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2008/12/20 16:50:38 ahoka Exp $ +# $NetBSD: Makefile,v 1.6 2008/12/20 18:23:56 jmcneill Exp $ # DISTNAME= pulseaudio-0.9.13 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= audio MASTER_SITES= http://0pointer.de/lennart/projects/pulseaudio/ @@ -16,6 +16,12 @@ USE_TOOLS+= pkg-config gmake msgfmt intltool perl \ autoconf automake USE_DIRS+= xdg-1.4 +PKG_OPTIONS_VAR= pulseaudio +PKG_SUPPORTED_OPTIONS= avahi +PKG_SUGGESTED_OPTIONS= avahi +PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} +.include "../../mk/bsd.options.mk" + PKGCONFIG_OVERRIDE+= libpulse-browse.pc.in PKGCONFIG_OVERRIDE+= libpulse-mainloop-glib.pc.in PKGCONFIG_OVERRIDE+= libpulse-simple.pc.in @@ -73,6 +79,14 @@ BUILDLINK_TRANSFORM+= rm:-Wl,--gc-sections . endif .endif +# avahi support +.if !empty(PKG_OPTIONS:Mavahi) +.include "../../net/avahi/buildlink3.mk" +PLIST.avahi= yes +.else +CONFIGURE_ARGS+= --disable-avahi +.endif + pre-configure: cd ${WRKSRC} && autoreconf -f diff --git a/audio/pulseaudio/PLIST b/audio/pulseaudio/PLIST index 994b15e1188..e74e5541d54 100644 --- a/audio/pulseaudio/PLIST +++ b/audio/pulseaudio/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2008/12/18 14:42:56 jmcneill Exp $ +@comment $NetBSD: PLIST,v 1.2 2008/12/20 18:23:56 jmcneill Exp $ bin/esdcompat bin/pacat bin/pacmd @@ -138,6 +138,13 @@ share/locale/de/LC_MESSAGES/pulseaudio.mo share/locale/el/LC_MESSAGES/pulseaudio.mo share/locale/fr/LC_MESSAGES/pulseaudio.mo share/locale/sv/LC_MESSAGES/pulseaudio.mo +${PLIST.avahi}bin/pabrowse +${PLIST.avahi}include/pulse/browser.h +${PLIST.avahi}lib/libpulse-browse.la +${PLIST.avahi}lib/pkgconfig/libpulse-browse.pc +${PLIST.avahi}lib/pulse-0.9/modules/libavahi-wrap.so +${PLIST.avahi}lib/pulse-0.9/modules/module-zeroconf-discover.so +${PLIST.avahi}lib/pulse-0.9/modules/module-zeroconf-publish.so @dirrm libexec/pulse @dirrm lib/pulse-0.9/modules @dirrm lib/pulse-0.9 |