| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.3 2023/04/09 06:13:52 wiz Exp $ | | 1 | # $NetBSD: options.mk,v 1.4 2023/09/30 08:04:40 adam Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.qt6-qtmultimedia | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.qt6-qtmultimedia |
4 | PKG_SUPPORTED_OPTIONS= gstreamer pulseaudio | | 4 | PKG_SUPPORTED_OPTIONS= gstreamer pulseaudio |
5 | | | 5 | |
6 | .include "../../mk/bsd.fast.prefs.mk" | | 6 | .include "../../mk/bsd.fast.prefs.mk" |
7 | | | 7 | |
8 | PLIST_VARS+= ffmpeg gstreamer pulseaudio | | 8 | PLIST_VARS+= ffmpeg gstreamer pulseaudio |
9 | | | 9 | |
10 | .if ${OPSYS} != "Darwin" | | 10 | .if ${OPSYS} != "Darwin" |
11 | PKG_SUGGESTED_OPTIONS+= gstreamer pulseaudio | | 11 | PKG_SUGGESTED_OPTIONS+= gstreamer pulseaudio |
12 | .endif | | 12 | .endif |
13 | | | 13 | |
14 | .include "../../mk/bsd.options.mk" | | 14 | .include "../../mk/bsd.options.mk" |
| @@ -24,16 +24,16 @@ CONFIGURE_ARGS+= -no-gstreamer | | | @@ -24,16 +24,16 @@ CONFIGURE_ARGS+= -no-gstreamer |
24 | | | 24 | |
25 | # the pulseaudio option must come after the gstreamer option | | 25 | # the pulseaudio option must come after the gstreamer option |
26 | .if !empty(PKG_OPTIONS:Mpulseaudio) | | 26 | .if !empty(PKG_OPTIONS:Mpulseaudio) |
27 | CONFIGURE_ARGS+= -pulseaudio | | 27 | CONFIGURE_ARGS+= -pulseaudio |
28 | PLIST.pulseaudio= yes | | 28 | PLIST.pulseaudio= yes |
29 | .include "../../audio/pulseaudio/buildlink3.mk" | | 29 | .include "../../audio/pulseaudio/buildlink3.mk" |
30 | .else | | 30 | .else |
31 | CONFIGURE_ARGS+= -no-pulseaudio | | 31 | CONFIGURE_ARGS+= -no-pulseaudio |
32 | .endif | | 32 | .endif |
33 | | | 33 | |
34 | # For some reason ffmpeg support is conditional on pulseaudio OR apple | | 34 | # For some reason ffmpeg support is conditional on pulseaudio OR apple |
35 | # in src/multimedia/configure.cmake | | 35 | # in src/multimedia/configure.cmake |
36 | .if !empty(PKG_OPTIONS:Mpulseaudio) || ${OPSYS} == "Darwin" | | 36 | .if !empty(PKG_OPTIONS:Mpulseaudio) || ${OPSYS} == "Darwin" |
37 | .include "../../multimedia/ffmpeg5/buildlink3.mk" | | 37 | .include "../../multimedia/ffmpeg6/buildlink3.mk" |
38 | PLIST.ffmpeg= yes | | 38 | PLIST.ffmpeg= yes |
39 | .endif | | 39 | .endif |