Tue Jun 22 12:34:23 2021 UTC ()
qt5-qtmultimedia: note why pulse is enabled


(nia)
diff -r1.6 -r1.7 pkgsrc/x11/qt5-qtmultimedia/options.mk

cvs diff -r1.6 -r1.7 pkgsrc/x11/qt5-qtmultimedia/options.mk (expand / switch to unified diff)

--- pkgsrc/x11/qt5-qtmultimedia/options.mk 2021/06/22 12:29:45 1.6
+++ pkgsrc/x11/qt5-qtmultimedia/options.mk 2021/06/22 12:34:23 1.7
@@ -1,24 +1,25 @@ @@ -1,24 +1,25 @@
1# $NetBSD: options.mk,v 1.6 2021/06/22 12:29:45 nia Exp $ 1# $NetBSD: options.mk,v 1.7 2021/06/22 12:34:23 nia Exp $
2 2
3PKG_OPTIONS_VAR= PKG_OPTIONS.qt5-qtmultimedia 3PKG_OPTIONS_VAR= PKG_OPTIONS.qt5-qtmultimedia
4PKG_SUPPORTED_OPTIONS= alsa gstreamer openal pulseaudio 4PKG_SUPPORTED_OPTIONS= alsa gstreamer openal pulseaudio
5PKG_SUGGESTED_OPTIONS.Linux= alsa 5PKG_SUGGESTED_OPTIONS.Linux= alsa
6 6
7.include "../../mk/bsd.fast.prefs.mk" 7.include "../../mk/bsd.fast.prefs.mk"
8 8
9.if ${OPSYS} != "Darwin" 9.if ${OPSYS} != "Darwin"
10PKG_SUGGESTED_OPTIONS+= gstreamer openal 10PKG_SUGGESTED_OPTIONS+= gstreamer openal
11# Only enable pulseaudio on platforms where mozjs is likely to build 11# Only enable PulseAudio on platforms where mozjs is likely to build.
 12# PulseAudio is enabled because Qt5 applications need it to play sounds.
12. include "../../lang/rust/platform.mk" 13. include "../../lang/rust/platform.mk"
13. if (${MACHINE_ARCH} == "i386" || \ 14. if (${MACHINE_ARCH} == "i386" || \
14 ${MACHINE_ARCH} == "x86_64" || \ 15 ${MACHINE_ARCH} == "x86_64" || \
15 ${MACHINE_ARCH} == "aarch64") && \ 16 ${MACHINE_ARCH} == "aarch64") && \
16 ${PLATFORM_SUPPORTS_RUST:tl} == "yes" 17 ${PLATFORM_SUPPORTS_RUST:tl} == "yes"
17PKG_SUGGESTED_OPTIONS+= pulseaudio 18PKG_SUGGESTED_OPTIONS+= pulseaudio
18. endif 19. endif
19.else 20.else
20PLIST.openal= yes 21PLIST.openal= yes
21.endif 22.endif
22 23
23.include "../../mk/bsd.options.mk" 24.include "../../mk/bsd.options.mk"
24 25