acb39d09f0
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.
22 lines
565 B
Makefile
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
|