pkgsrc/multimedia/mate-media/options.mk
2017-06-23 17:20:56 +00:00

20 lines
628 B
Makefile

# $NetBSD: options.mk,v 1.2 2017/06/23 17:20:56 youri Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mate-media
PKG_SUPPORTED_OPTIONS= pulseaudio
PKG_SUGGESTED_OPTIONS= pulseaudio
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