pkgsrc/audio/snd/options.mk
wiz d528fcc9f2 Update to 7.15:
About 7 years of development. Includes among others:
support for flac, speex, ogg/vorbis; a choice of frontends between
motif and gtk; esound support; guile scripting support; and native
NetBSD audio code.

Some possible future work on this package:
Add options for fftw2 fftw3 ladspa gamin/fam mpg123 timidity ruby
2005-11-23 22:39:12 +00:00

38 lines
908 B
Makefile

# $NetBSD: options.mk,v 1.1 2005/11/23 22:39:12 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.snd
PKG_SUPPORTED_OPTIONS= esound guile
# fftw2 fftw3 ladspa gamin/fam mpg123 timidity
PKG_OPTIONS_REQUIRED_GROUPS= frontend
PKG_OPTIONS_GROUP.frontend= gtk motif
PKG_SUGGESTED_OPTIONS= gtk
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mesound)
CONFIGURE_ARGS+= --with-esd
.include "../../audio/esound/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-esd
.endif
.if !empty(PKG_OPTIONS:Mgtk)
CONFIGURE_ARGS+= --with-gtk
.include "../../x11/gtk2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-gtk
.endif
.if !empty(PKG_OPTIONS:Mguile)
CONFIGURE_ARGS+= --with-guile
.include "../../lang/guile/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-guile
.endif
.if !empty(PKG_OPTIONS:Mmotif)
CONFIGURE_ARGS+= --with-motif
.include "../../x11/openmotif/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-motif
.endif