pkgsrc/audio/pulseaudio/options.mk
ryoon 2baa22c7f6 Update to 2.1
* Tested on NetBSD/i386 5.1, /i386 6.0, and /amd64 6.99.13
* Also tested on OpenIndiana/i386 151a7, but my environment lacks audio
  device, so I cannot check audio output
* Tested with multimedia/mplayer's -ao pulse option, works fine
* Add gm4 to USE_TOOLS for OpenIndiana build

Changelog:
Many changes. See http://www.freedesktop.org/wiki/Software/PulseAudio .
2012-11-03 01:54:55 +00:00

32 lines
716 B
Makefile

# $NetBSD: options.mk,v 1.4 2012/11/03 01:54:55 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.pulseaudio
PKG_SUPPORTED_OPTIONS= avahi x11
PKG_SUGGESTED_OPTIONS= avahi x11
PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS}
.include "../../mk/bsd.options.mk"
###
### avahi
###
.if !empty(PKG_OPTIONS:Mavahi)
.include "../../net/avahi/buildlink3.mk"
PLIST.avahi= yes
.else
CONFIGURE_ARGS+= --disable-avahi
.endif
###
### X11
###
.if !empty(PKG_OPTIONS:Mx11)
.include "../../x11/libICE/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"
PLIST.x11= yes
.else
CONFIGURE_ARGS+= --disable-x11
.endif