| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.67 2020/01/20 21:34:01 nia Exp $ | | 1 | # $NetBSD: options.mk,v 1.68 2021/06/22 12:35:45 nia Exp $ |
2 | | | 2 | |
3 | .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) | | 3 | .if defined(PKGNAME) && empty(PKGNAME:Mmplayer-share*) |
4 | | | 4 | |
5 | # Note: This expression is the same as ${PKGBASE}, but the latter is | | 5 | # Note: This expression is the same as ${PKGBASE}, but the latter is |
6 | # not defined yet, so we cannot use it here. | | 6 | # not defined yet, so we cannot use it here. |
7 | PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} | | 7 | PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME:C/-[0-9].*//} |
8 | | | 8 | |
9 | .include "../../mk/oss.buildlink3.mk" | | 9 | .include "../../mk/oss.buildlink3.mk" |
10 | | | 10 | |
11 | .include "../../multimedia/libvdpau/available.mk" | | 11 | .include "../../multimedia/libvdpau/available.mk" |
12 | .include "../../comms/lirc/available.mk" | | 12 | .include "../../comms/lirc/available.mk" |
13 | | | 13 | |
14 | # ------------------------------------------------------------------------- | | 14 | # ------------------------------------------------------------------------- |
| @@ -73,27 +73,27 @@ PKG_SUPPORTED_OPTIONS+= mplayer-ssse3 | | | @@ -73,27 +73,27 @@ PKG_SUPPORTED_OPTIONS+= mplayer-ssse3 |
73 | . endif | | 73 | . endif |
74 | . if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \ | | 74 | . if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" || \ |
75 | ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" | | 75 | ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "sparc64" |
76 | PKG_SUPPORTED_OPTIONS+= xvid | | 76 | PKG_SUPPORTED_OPTIONS+= xvid |
77 | . endif | | 77 | . endif |
78 | | | 78 | |
79 | # ------------------------------------------------------------------------- | | 79 | # ------------------------------------------------------------------------- |
80 | # Define PKG_SUGGESTED_OPTIONS. | | 80 | # Define PKG_SUGGESTED_OPTIONS. |
81 | # ------------------------------------------------------------------------- | | 81 | # ------------------------------------------------------------------------- |
82 | | | 82 | |
83 | . for o in dvdread dvdnav gif jpeg \ | | 83 | . for o in dvdread dvdnav gif jpeg \ |
84 | mplayer-menu \ | | 84 | mplayer-menu \ |
85 | mplayer-default-cflags mplayer-runtime-cpudetection \ | | 85 | mplayer-default-cflags mplayer-runtime-cpudetection \ |
86 | oss png pulseaudio sdl vdpau lirc | | 86 | oss png sdl vdpau lirc |
87 | . if !empty(PKG_SUPPORTED_OPTIONS:M${o}) | | 87 | . if !empty(PKG_SUPPORTED_OPTIONS:M${o}) |
88 | PKG_SUGGESTED_OPTIONS+= ${o} | | 88 | PKG_SUGGESTED_OPTIONS+= ${o} |
89 | . endif | | 89 | . endif |
90 | . endfor | | 90 | . endfor |
91 | . if !empty(PKGNAME:M*mplayer*) | | 91 | . if !empty(PKGNAME:M*mplayer*) |
92 | PKG_SUGGESTED_OPTIONS.Linux+= alsa | | 92 | PKG_SUGGESTED_OPTIONS.Linux+= alsa |
93 | . endif | | 93 | . endif |
94 | PKG_SUGGESTED_OPTIONS.Linux+= vidix | | 94 | PKG_SUGGESTED_OPTIONS.Linux+= vidix |
95 | | | 95 | |
96 | # ------------------------------------------------------------------------- | | 96 | # ------------------------------------------------------------------------- |
97 | # Handle extra libraries (part 1) | | 97 | # Handle extra libraries (part 1) |
98 | # ------------------------------------------------------------------------- | | 98 | # ------------------------------------------------------------------------- |
99 | EXTRA_LIBS= | | 99 | EXTRA_LIBS= |