| @@ -1,25 +1,25 @@ | | | @@ -1,25 +1,25 @@ |
1 | # $NetBSD: options.mk,v 1.26 2020/12/19 11:27:51 leot Exp $ | | 1 | # $NetBSD: options.mk,v 1.27 2020/12/19 12:17:29 nia Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.mpv | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.mpv |
4 | | | 4 | |
5 | | | 5 | |
6 | PKG_OPTIONS_OPTIONAL_GROUPS= gl | | 6 | PKG_OPTIONS_OPTIONAL_GROUPS= gl |
7 | PKG_OPTIONS_GROUP.gl= opengl rpi | | 7 | PKG_OPTIONS_GROUP.gl= opengl rpi |
8 | | | 8 | |
9 | # audio outputs | | 9 | # audio outputs |
10 | PKG_SUPPORTED_OPTIONS+= alsa jack openal pulseaudio | | 10 | PKG_SUPPORTED_OPTIONS+= alsa jack openal pulseaudio |
11 | # video outputs | | 11 | # video outputs |
12 | PKG_SUPPORTED_OPTIONS+= caca libdrm wayland x11 | | 12 | PKG_SUPPORTED_OPTIONS+= caca libdrm x11 |
13 | # audio/video outputs | | 13 | # audio/video outputs |
14 | PKG_SUPPORTED_OPTIONS+= sdl2 | | 14 | PKG_SUPPORTED_OPTIONS+= sdl2 |
15 | # misc | | 15 | # misc |
16 | PKG_SUPPORTED_OPTIONS+= bluray lua | | 16 | PKG_SUPPORTED_OPTIONS+= bluray lua |
17 | | | 17 | |
18 | PKG_SUGGESTED_OPTIONS= bluray lua sdl2 | | 18 | PKG_SUGGESTED_OPTIONS= bluray lua sdl2 |
19 | PKG_SUGGESTED_OPTIONS.Linux+= alsa pulseaudio | | 19 | PKG_SUGGESTED_OPTIONS.Linux+= alsa pulseaudio |
20 | | | 20 | |
21 | .include "../../mk/bsd.fast.prefs.mk" | | 21 | .include "../../mk/bsd.fast.prefs.mk" |
22 | | | 22 | |
23 | .if ${OPSYS} != "Darwin" | | 23 | .if ${OPSYS} != "Darwin" |
24 | PKG_SUGGESTED_OPTIONS+= opengl libdrm x11 | | 24 | PKG_SUGGESTED_OPTIONS+= opengl libdrm x11 |
25 | .endif | | 25 | .endif |
| @@ -28,29 +28,28 @@ PKG_SUGGESTED_OPTIONS+= opengl libdrm x | | | @@ -28,29 +28,28 @@ PKG_SUGGESTED_OPTIONS+= opengl libdrm x |
28 | | | 28 | |
29 | .if ${VAAPI_AVAILABLE} == "yes" | | 29 | .if ${VAAPI_AVAILABLE} == "yes" |
30 | PKG_SUPPORTED_OPTIONS+= vaapi | | 30 | PKG_SUPPORTED_OPTIONS+= vaapi |
31 | PKG_SUGGESTED_OPTIONS+= vaapi | | 31 | PKG_SUGGESTED_OPTIONS+= vaapi |
32 | .endif | | 32 | .endif |
33 | | | 33 | |
34 | .include "../../multimedia/libvdpau/available.mk" | | 34 | .include "../../multimedia/libvdpau/available.mk" |
35 | | | 35 | |
36 | .if ${VDPAU_AVAILABLE} == "yes" | | 36 | .if ${VDPAU_AVAILABLE} == "yes" |
37 | PKG_SUPPORTED_OPTIONS+= vdpau | | 37 | PKG_SUPPORTED_OPTIONS+= vdpau |
38 | PKG_SUGGESTED_OPTIONS+= vdpau | | 38 | PKG_SUGGESTED_OPTIONS+= vdpau |
39 | .endif | | 39 | .endif |
40 | | | 40 | |
41 | .include "../../devel/wayland/platform.mk" | | 41 | .if ${OPSYS} == "Linux" |
42 | | | 42 | PKG_SUPPORTED_OPTIONS+= wayland |
43 | .if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" | | | |
44 | PKG_SUGGESTED_OPTIONS+= wayland | | 43 | PKG_SUGGESTED_OPTIONS+= wayland |
45 | .endif | | 44 | .endif |
46 | | | 45 | |
47 | .include "../../mk/bsd.options.mk" | | 46 | .include "../../mk/bsd.options.mk" |
48 | | | 47 | |
49 | ### | | 48 | ### |
50 | ### alsa support (audio output) | | 49 | ### alsa support (audio output) |
51 | ### | | 50 | ### |
52 | .if !empty(PKG_OPTIONS:Malsa) | | 51 | .if !empty(PKG_OPTIONS:Malsa) |
53 | WAF_CONFIGURE_ARGS+= --enable-alsa | | 52 | WAF_CONFIGURE_ARGS+= --enable-alsa |
54 | .include "../../audio/alsa-lib/buildlink3.mk" | | 53 | .include "../../audio/alsa-lib/buildlink3.mk" |
55 | .else | | 54 | .else |
56 | WAF_CONFIGURE_ARGS+= --disable-alsa | | 55 | WAF_CONFIGURE_ARGS+= --disable-alsa |