pkgsrc/graphics/blender/options.mk
ryoon acb39d09f0 blender: Add pulseaudio option and depend on graphics/potrace
If audio/pulseaudio is already installed, the build fails by pulse/pulseaudio.h not found error.
The pulseaudio option is disabled by default.

Bump PKGREVISION by dependency change.
2022-02-04 16:47:52 +00:00

22 lines
565 B
Makefile

# $NetBSD: options.mk,v 1.9 2022/02/04 16:47:52 ryoon Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.blender
PKG_SUPPORTED_OPTIONS= jack pulseaudio
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mjack)
CMAKE_ARGS+= -DWITH_JACK=ON
CMAKE_ARGS+= -DWITH_JACK_DYNLOAD=OFF
.include "../../audio/jack/buildlink3.mk"
.else
CMAKE_ARGS+= -DWITH_JACK=OFF
.endif
.if !empty(PKG_OPTIONS:Mpulseaudio)
CMAKE_ARGS+= -DWITH_PULSEAUDIO=ON
CMAKE_ARGS+= -DWITH_PULSEAUDIO_DYNLOAD=OFF
.include "../../audio/pulseaudio/buildlink3.mk"
.else
CMAKE_ARGS+= -DWITH_PULSEAUDIO=OFF
.endif