| @@ -1,18 +1,18 @@ | | | @@ -1,18 +1,18 @@ |
1 | # $NetBSD: options.mk,v 1.28 2013/04/16 22:11:23 cheusov Exp $ | | 1 | # $NetBSD: options.mk,v 1.29 2013/09/02 11:10:23 jperkin Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.vlc | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.vlc |
4 | PKG_SUPPORTED_OPTIONS= debug faad dbus hal skins sdl pulseaudio x11 gnome dts | | 4 | PKG_SUPPORTED_OPTIONS= debug faad dbus hal skins sdl pulseaudio x11 gnome dts |
5 | PKG_SUGGESTED_OPTIONS= x11 | | 5 | PKG_SUGGESTED_OPTIONS= faad x11 |
6 | | | 6 | |
7 | ### Add VAAPI if it is available | | 7 | ### Add VAAPI if it is available |
8 | .include "../../multimedia/libva/available.mk" | | 8 | .include "../../multimedia/libva/available.mk" |
9 | PLIST_VARS+= vaapi | | 9 | PLIST_VARS+= vaapi |
10 | .if ${VAAPI_AVAILABLE} == "yes" | | 10 | .if ${VAAPI_AVAILABLE} == "yes" |
11 | PKG_SUPPORTED_OPTIONS+= vaapi | | 11 | PKG_SUPPORTED_OPTIONS+= vaapi |
12 | PKG_SUGGESTED_OPTIONS+= vaapi | | 12 | PKG_SUGGESTED_OPTIONS+= vaapi |
13 | .endif | | 13 | .endif |
14 | | | 14 | |
15 | ### Add LIRC if it is available | | 15 | ### Add LIRC if it is available |
16 | .include "../../comms/lirc/available.mk" | | 16 | .include "../../comms/lirc/available.mk" |
17 | PLIST_VARS+= lirc | | 17 | PLIST_VARS+= lirc |
18 | .if ${LIRC_AVAILABLE} == "yes" | | 18 | .if ${LIRC_AVAILABLE} == "yes" |
| @@ -132,28 +132,26 @@ CONFIGURE_ARGS+= --enable-qt4 \ | | | @@ -132,28 +132,26 @@ CONFIGURE_ARGS+= --enable-qt4 \ |
132 | --with-x \ | | 132 | --with-x \ |
133 | --enable-glx \ | | 133 | --enable-glx \ |
134 | --enable-snapshot | | 134 | --enable-snapshot |
135 | PLIST.x11= yes | | 135 | PLIST.x11= yes |
136 | .else | | 136 | .else |
137 | CONFIGURE_ARGS+= --without-x \ | | 137 | CONFIGURE_ARGS+= --without-x \ |
138 | --disable-xcb \ | | 138 | --disable-xcb \ |
139 | --disable-qt4 \ | | 139 | --disable-qt4 \ |
140 | --disable-glx \ | | 140 | --disable-glx \ |
141 | --disable-freetype \ | | 141 | --disable-freetype \ |
142 | --disable-snapshot | | 142 | --disable-snapshot |
143 | .endif | | 143 | .endif |
144 | | | 144 | |
145 | ## FAAD support (faad is non-redistributable) | | | |
146 | | | | |
147 | .if !empty(PKG_OPTIONS:Mfaad) | | 145 | .if !empty(PKG_OPTIONS:Mfaad) |
148 | CONFIGURE_ARGS+= --enable-faad | | 146 | CONFIGURE_ARGS+= --enable-faad |
149 | PLIST.faad= yes | | 147 | PLIST.faad= yes |
150 | .include "../../audio/faad2/buildlink3.mk" | | 148 | .include "../../audio/faad2/buildlink3.mk" |
151 | .else | | 149 | .else |
152 | CONFIGURE_ARGS+= --disable-faad | | 150 | CONFIGURE_ARGS+= --disable-faad |
153 | .endif | | 151 | .endif |
154 | | | 152 | |
155 | ## DTS support (libdca is non-redistributable) | | 153 | ## DTS support (libdca is non-redistributable) |
156 | | | 154 | |
157 | .if !empty(PKG_OPTIONS:Mdts) | | 155 | .if !empty(PKG_OPTIONS:Mdts) |
158 | CONFIGURE_ARGS+= --enable-dca | | 156 | CONFIGURE_ARGS+= --enable-dca |
159 | PLIST.dts= yes | | 157 | PLIST.dts= yes |