head 1.10; access; symbols pkgsrc-2023Q4:1.9.0.2 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.8.0.18 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.16 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.14 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.8.0.12 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.10 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.8 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.6 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.8.0.4 pkgsrc-2021Q4-base:1.8 pkgsrc-2021Q3:1.8.0.2 pkgsrc-2021Q3-base:1.8 pkgsrc-2021Q2:1.7.0.2 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.5.0.4 pkgsrc-2021Q1-base:1.5 pkgsrc-2020Q4:1.5.0.2 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.4.0.2 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.2.0.4 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.2 pkgsrc-2020Q1-base:1.2; locks; strict; comment @# @; 1.10 date 2023.12.30.16.18.33; author adam; state Exp; branches; next 1.9; commitid sXtAjitKr2fFvvSE; 1.9 date 2023.12.19.12.36.37; author thor; state Exp; branches; next 1.8; commitid 5dHlUbnS1kwTC4RE; 1.8 date 2021.07.16.13.33.02; author nia; state Exp; branches; next 1.7; commitid zel5pLrFrVxtqd1D; 1.7 date 2021.06.22.12.34.23; author nia; state Exp; branches; next 1.6; commitid feG6jTxsmMvhS7YC; 1.6 date 2021.06.22.12.29.45; author nia; state Exp; branches; next 1.5; commitid EAcP9YiWJJKBQ7YC; 1.5 date 2020.11.17.04.46.35; author mcf; state Exp; branches; next 1.4; commitid zpN86PL5McHOfcwC; 1.4 date 2020.07.08.14.49.14; author adam; state Exp; branches; next 1.3; commitid 1SBo8MKsI0w4QhfC; 1.3 date 2020.07.05.01.12.14; author nia; state Exp; branches; next 1.2; commitid wdKBGI1Dd7BDpPeC; 1.2 date 2020.03.22.07.31.42; author nia; state Exp; branches; next 1.1; commitid uA8IOtH2Jyh4Tm1C; 1.1 date 2020.03.05.12.32.40; author nia; state Exp; branches; next ; commitid xZTRcY8dNvhc6dZB; desc @@ 1.10 log @qt5: updated to 5.15.12 5.15.12 Bug fix release @ text @# $NetBSD: options.mk,v 1.9 2023/12/19 12:36:37 thor Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.qt5-qtmultimedia PKG_SUPPORTED_OPTIONS= alsa gstreamer openal pulseaudio PKG_SUGGESTED_OPTIONS.Linux= alsa .include "../../mk/bsd.fast.prefs.mk" .if ${OPSYS} != "Darwin" PKG_SUGGESTED_OPTIONS+= gstreamer openal PKG_SUGGESTED_OPTIONS+= pulseaudio .endif .include "../../mk/bsd.options.mk" PLIST_VARS+= alsa .if !empty(PKG_OPTIONS:Malsa) PLIST.alsa= yes QMAKE_ARGS+= -alsa .include "../../audio/alsa-lib/buildlink3.mk" .else QMAKE_ARGS+= -no-alsa .endif PLIST_VARS+= gst .if !empty(PKG_OPTIONS:Mgstreamer) PLIST.gst= yes QMAKE_ARGS+= -gstreamer 1.0 .include "../../multimedia/gst-plugins1-base/buildlink3.mk" .else QMAKE_ARGS+= -no-gstreamer .endif PLIST_VARS+= openal .if !empty(PKG_OPTIONS:Mopenal) PLIST.openal= yes QMAKE_ARGS+= -openal .include "../../audio/openal-soft/buildlink3.mk" .else QMAKE_ARGS+= -no-openal .endif PLIST_VARS+= pulse .if !empty(PKG_OPTIONS:Mpulseaudio) PLIST.pulse= yes MAKE_ENV+= LFLAGS=${COMPILER_RPATH_FLAG}${PREFIX}/lib/pulseaudio QMAKE_ARGS+= -pulseaudio .include "../../audio/pulseaudio/buildlink3.mk" .else QMAKE_ARGS+= -no-pulseaudio .endif PLIST_VARS+= audioengine .if ${OPSYS} == "QNX" || ${OPSYS} == "Darwin" || empty(PKG_OPTIONS:Mgstreamer) PLIST.audioengine= yes .endif @ 1.9 log @x11/qt5-qtmultimedia: fix backend choices (esp. deactivate openal) This enables and disables audio backends explicitly via QMAKE_ARGS and includes a patch from FreeBSD that adds the missing knob vor openal. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.8 2021/07/16 13:33:02 nia Exp $ a11 2 .else PLIST.openal= yes @ 1.8 log @qt5-qtmultimedia: pulseaudio no longer indirectly requires rust @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.7 2021/06/22 12:34:23 nia Exp $ d21 1 a21 1 MAKE_ENV+= QT_CONFIG+=alsa d24 1 a24 1 MAKE_ENV+= QT_CONFIG+=-alsa d30 1 a30 1 MAKE_ENV+= QT_CONFIG+=gstreamer-1.0 d33 1 a33 1 MAKE_ENV+= QT_CONFIG+=-gstreamer-1.0 d39 1 a39 1 MAKE_ENV+= QT_CONFIG+=openal d42 1 a42 1 MAKE_ENV+= QT_CONFIG+=-openal d49 1 a49 1 MAKE_ENV+= QT_CONFIG+=pulseaudio d52 1 a52 1 MAKE_ENV+= QT_CONFIG+=-pulseaudio @ 1.7 log @qt5-qtmultimedia: note why pulse is enabled @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.6 2021/06/22 12:29:45 nia Exp $ a10 7 # Only enable PulseAudio on platforms where mozjs is likely to build. # PulseAudio is enabled because Qt5 applications need it to play sounds. . include "../../lang/rust/platform.mk" . if (${MACHINE_ARCH} == "i386" || \ ${MACHINE_ARCH} == "x86_64" || \ ${MACHINE_ARCH} == "aarch64") && \ ${PLATFORM_SUPPORTS_RUST:tl} == "yes" a11 1 . endif @ 1.6 log @qt5-qtmultimedia: Only enable pulseaudio on platforms where mozjs works @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.5 2020/11/17 04:46:35 mcf Exp $ d11 2 a12 1 # Only enable pulseaudio on platforms where mozjs is likely to build @ 1.5 log @qt5-qtmultimedia: audioengine plugin is conditional on -gstreamer Except on QNX and Darwin, where it is always enabled: https://github.com/qt/qtmultimedia/blob/v5.15.1/src/plugins/plugins.pro @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.4 2020/07/08 14:49:14 adam Exp $ d10 9 a18 1 PKG_SUGGESTED_OPTIONS+= gstreamer openal pulseaudio @ 1.4 log @qt5-qtmultimedia: Darwin has system OpenAL @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.3 2020/07/05 01:12:14 nia Exp $ d53 5 @ 1.3 log @qt5-qtmultimedia: fix PLIST with -gstreamer and -openal from Michael Forney @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.2 2020/03/22 07:31:42 nia Exp $ d11 2 @ 1.2 log @qt5-qtmultimedia: Give up and -alsa on non-Linux to avoid alloca problems @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.1 2020/03/05 12:32:40 nia Exp $ d33 1 d35 1 @ 1.1 log @qt5-qtmultimedia: Make various plugins (pulse, alsa, openal, gst) optional. @ text @d1 1 a1 1 # $NetBSD: options.mk,v 1.4 2019/10/20 11:10:48 nia Exp $ d3 3 a5 2 PKG_OPTIONS_VAR= PKG_OPTIONS.qt5-qtmultimedia PKG_SUPPORTED_OPTIONS= alsa gstreamer openal pulseaudio d10 1 a10 1 PKG_SUGGESTED_OPTIONS= alsa gstreamer openal pulseaudio @