pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/qt5-qtmultimedia



Module Name:    pkgsrc
Committed By:   nia
Date:           Tue Jun 22 12:29:45 UTC 2021

Modified Files:
        pkgsrc/x11/qt5-qtmultimedia: options.mk

Log Message:
qt5-qtmultimedia: Only enable pulseaudio on platforms where mozjs works


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/x11/qt5-qtmultimedia/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/qt5-qtmultimedia/options.mk
diff -u pkgsrc/x11/qt5-qtmultimedia/options.mk:1.5 pkgsrc/x11/qt5-qtmultimedia/options.mk:1.6
--- pkgsrc/x11/qt5-qtmultimedia/options.mk:1.5  Tue Nov 17 04:46:35 2020
+++ pkgsrc/x11/qt5-qtmultimedia/options.mk      Tue Jun 22 12:29:45 2021
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2020/11/17 04:46:35 mcf Exp $
+# $NetBSD: options.mk,v 1.6 2021/06/22 12:29:45 nia Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.qt5-qtmultimedia
 PKG_SUPPORTED_OPTIONS=         alsa gstreamer openal pulseaudio
@@ -7,7 +7,15 @@ PKG_SUGGESTED_OPTIONS.Linux=   alsa
 .include "../../mk/bsd.fast.prefs.mk"
 
 .if ${OPSYS} != "Darwin"
-PKG_SUGGESTED_OPTIONS+=                gstreamer openal pulseaudio
+PKG_SUGGESTED_OPTIONS+=                gstreamer openal
+# Only enable pulseaudio on platforms where mozjs is likely to build
+.  include "../../lang/rust/platform.mk"
+.  if (${MACHINE_ARCH} == "i386" || \
+      ${MACHINE_ARCH} == "x86_64" || \
+      ${MACHINE_ARCH} == "aarch64") && \
+      ${PLATFORM_SUPPORTS_RUST:tl} == "yes"
+PKG_SUGGESTED_OPTIONS+=                pulseaudio
+.   endif
 .else
 PLIST.openal=  yes
 .endif



Home | Main Index | Thread Index | Old Index