2018-01-14 15:58:38 +01:00
|
|
|
# $NetBSD: options.mk,v 1.6 2018/01/14 14:58:38 rillig Exp $
|
2005-06-02 16:14:43 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.blender
|
|
|
|
PKG_SUPPORTED_OPTIONS=
|
|
|
|
# disabled these options; they ought to be re-instantiated one day
|
|
|
|
.if 0
|
|
|
|
PKG_SUPPORTED_OPTIONS+= blender-exppython ogg openal vorbis
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mexppython)
|
|
|
|
CONFIGURE_ARGS+= --enable-exppython
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-exppython
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mogg)
|
2018-01-14 15:58:38 +01:00
|
|
|
CONFIGURE_ARGS+= --with-ogg=${PREFIX}
|
2005-06-02 16:14:43 +02:00
|
|
|
.include "../../multimedia/libogg/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-ogg --disable-oggtest
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mopenal)
|
|
|
|
CONFIGURE_ARGS+= --enable-openal
|
|
|
|
.include "../../audio/openal/buildlink3.mk"
|
2010-05-05 20:21:52 +02:00
|
|
|
.else
|
2016-08-15 21:26:18 +02:00
|
|
|
CMAKE_OPTS+= -DWITH_OPENAL:BOOL=OFF
|
2005-06-02 16:14:43 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mvorbis)
|
2018-01-14 15:58:38 +01:00
|
|
|
CONFIGURE_ARGS+= --with-vorbis=${PREFIX}
|
2005-06-02 16:14:43 +02:00
|
|
|
.include "../../audio/libvorbis/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-vorbis --disable-vorbistest
|
|
|
|
.endif
|