pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/pulseaudio Add avahi support, bump PKGREVISION.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2a30a9e5b81d
branches:  trunk
changeset: 551836:2a30a9e5b81d
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Dec 20 18:23:56 2008 +0000

description:
Add avahi support, bump PKGREVISION.

diffstat:

 audio/pulseaudio/Makefile |  18 ++++++++++++++++--
 audio/pulseaudio/PLIST    |   9 ++++++++-
 2 files changed, 24 insertions(+), 3 deletions(-)

diffs (65 lines):

diff -r 579a8d48b5e0 -r 2a30a9e5b81d audio/pulseaudio/Makefile
--- a/audio/pulseaudio/Makefile Sat Dec 20 18:08:07 2008 +0000
+++ b/audio/pulseaudio/Makefile Sat Dec 20 18:23:56 2008 +0000
@@ -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 @@
                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 @@
 .  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 -r 579a8d48b5e0 -r 2a30a9e5b81d audio/pulseaudio/PLIST
--- a/audio/pulseaudio/PLIST    Sat Dec 20 18:08:07 2008 +0000
+++ b/audio/pulseaudio/PLIST    Sat Dec 20 18:23:56 2008 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index