2018-06-04 14:35:51 +02:00
|
|
|
# $NetBSD: options.mk,v 1.3 2018/06/04 12:35:51 youri Exp $
|
2016-05-21 20:58:16 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.mate-media
|
|
|
|
PKG_SUPPORTED_OPTIONS= pulseaudio
|
2018-06-04 14:35:51 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS=
|
2016-05-21 20:58:16 +02:00
|
|
|
|
|
|
|
PLIST_VARS+= pulse
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mpulseaudio)
|
|
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
|
|
|
CONFIGURE_ARGS+= --enable-pulseaudio
|
|
|
|
PLIST.pulse= yes
|
|
|
|
MAKE_DIRS+= ${PKG_SYSCONFDIR}/xdg/autostart
|
|
|
|
CONF_FILES+= ${PREFIX}/share/examples/mate-media/xdg/autostart/mate-volume-control-applet.desktop \
|
|
|
|
${PKG_SYSCONFDIR}/xdg/autostart/mate-volume-control-applet.desktop
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-pulseaudio
|
|
|
|
.endif
|