diff options
Diffstat (limited to 'wm/enlightenment/options.mk')
-rw-r--r-- | wm/enlightenment/options.mk | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/wm/enlightenment/options.mk b/wm/enlightenment/options.mk new file mode 100644 index 00000000000..c709f25632f --- /dev/null +++ b/wm/enlightenment/options.mk @@ -0,0 +1,36 @@ +# $NetBSD: options.mk,v 1.1 2019/12/07 04:50:49 gutteridge Exp $ + +# e16 is used here instead of enlightenment to avoid +# potential conflict with x11/enlightenment. +PKG_OPTIONS_VAR= PKG_OPTIONS.e16 + +PKG_SUPPORTED_OPTIONS= pango pulseaudio vera-ttf + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mpango) +CONFIGURE_ARGS+= --enable-pango +.include "../../devel/pango/buildlink3.mk" +.else +CONFIGURE_ARGS+= --disable-pango +.endif + +.if !empty(PKG_OPTIONS:Mpulseaudio) +CONFIGURE_ARGS+= --enable-sound=pulseaudio +CONFIGURE_ARGS+= --with-sndldr=sndfile +.include "../../audio/libsndfile/buildlink3.mk" +.include "../../audio/pulseaudio/buildlink3.mk" +.else +CONFIGURE_ARGS+= --enable-sound=esound +CONFIGURE_ARGS+= --with-sndldr=audiofile +.include "../../audio/libaudiofile/buildlink3.mk" +.include "../../audio/esound/buildlink3.mk" +.endif + +# The upstream package includes its own Vera fonts. Because these have +# a different (non-default) license, and are also included in some base +# OS distributions (like NetBSD's native X11), this has been made +# optional. +.if !empty(PKG_OPTIONS:Mvera-ttf) +DEPENDS+= vera-ttf>=1.10:../../fonts/vera-ttf +.endif |