pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/qt5-qtmultimedia qt5-qtmultimedia: Only enable pul...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e2e7d21a3148
branches: trunk
changeset: 454836:e2e7d21a3148
user: nia <nia%pkgsrc.org@localhost>
date: Tue Jun 22 12:29:45 2021 +0000
description:
qt5-qtmultimedia: Only enable pulseaudio on platforms where mozjs works
diffstat:
x11/qt5-qtmultimedia/options.mk | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 2a02c25b023d -r e2e7d21a3148 x11/qt5-qtmultimedia/options.mk
--- a/x11/qt5-qtmultimedia/options.mk Tue Jun 22 12:02:23 2021 +0000
+++ b/x11/qt5-qtmultimedia/options.mk Tue Jun 22 12:29:45 2021 +0000
@@ -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 @@
.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