30cdec5054
phonon 4.11 has changed the CMake mechanism so instead of using their own macro (which checked WITH_PulseAudio) it just uses find_package directly, so use the CMake option to disable it.
13 lines
352 B
Makefile
13 lines
352 B
Makefile
# $NetBSD: options.mk,v 1.2 2023/06/02 13:40:19 plunky Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.phonon
|
|
PKG_SUPPORTED_OPTIONS= pulseaudio
|
|
PKG_SUGGESTED_OPTIONS=
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mpulseaudio)
|
|
.include "../../audio/pulseaudio/buildlink3.mk"
|
|
.else
|
|
CMAKE_ARGS+= -DCMAKE_DISABLE_FIND_PACKAGE_PulseAudio:BOOL=TRUE
|
|
.endif
|