Add avahi support, bump PKGREVISION.
This commit is contained in:
parent
02f5f7643a
commit
4a9b65acca
2 changed files with 24 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue