| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: options.mk,v 1.40 2024/01/31 16:32:05 ryoon Exp $ | | 1 | # $NetBSD: options.mk,v 1.41 2024/04/27 12:18:10 pho Exp $ |
2 | | | 2 | |
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.vlc | | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.vlc |
4 | PKG_SUPPORTED_OPTIONS= alsa avahi dbus debug dts jack pulseaudio | | 4 | PKG_SUPPORTED_OPTIONS= alsa avahi dbus debug dts jack pulseaudio |
5 | PKG_SUPPORTED_OPTIONS+= vlc-skins qt5 x11 | | 5 | PKG_SUPPORTED_OPTIONS+= vlc-skins qt5 x11 |
6 | PKG_SUGGESTED_OPTIONS= dbus qt5 | | 6 | PKG_SUGGESTED_OPTIONS= dbus qt5 |
7 | PKG_SUGGESTED_OPTIONS.Linux+= alsa | | 7 | PKG_SUGGESTED_OPTIONS.Linux+= alsa |
8 | | | 8 | |
9 | .include "../../mk/bsd.fast.prefs.mk" | | 9 | .include "../../mk/bsd.fast.prefs.mk" |
10 | | | 10 | |
11 | .if ${OPSYS} != "Darwin" | | 11 | .if ${OPSYS} != "Darwin" |
12 | PKG_SUGGESTED_OPTIONS+= x11 | | 12 | PKG_SUGGESTED_OPTIONS+= x11 |
13 | .endif | | 13 | .endif |
14 | | | 14 | |
| @@ -91,26 +91,29 @@ CONFIGURE_ARGS+= --disable-dbus | | | @@ -91,26 +91,29 @@ CONFIGURE_ARGS+= --disable-dbus |
91 | .endif | | 91 | .endif |
92 | | | 92 | |
93 | ## DEBUG build or release build | | 93 | ## DEBUG build or release build |
94 | | | 94 | |
95 | .if !empty(PKG_OPTIONS:Mdebug) | | 95 | .if !empty(PKG_OPTIONS:Mdebug) |
96 | CONFIGURE_ARGS+= --enable-debug | | 96 | CONFIGURE_ARGS+= --enable-debug |
97 | CONFIGURE_ARGS+= --disable-optimizations | | 97 | CONFIGURE_ARGS+= --disable-optimizations |
98 | .endif | | 98 | .endif |
99 | | | 99 | |
100 | ## SKINS frontend | | 100 | ## SKINS frontend |
101 | | | 101 | |
102 | PLIST_VARS+= vlc-skins | | 102 | PLIST_VARS+= vlc-skins |
103 | .if !empty(PKG_OPTIONS:Mvlc-skins) | | 103 | .if !empty(PKG_OPTIONS:Mvlc-skins) |
| | | 104 | .include "../../x11/libXext/buildlink3.mk" |
| | | 105 | .include "../../x11/libXinerama/buildlink3.mk" |
| | | 106 | .include "../../x11/libXpm/buildlink3.mk" |
104 | CONFIGURE_ARGS+= --enable-skins2 | | 107 | CONFIGURE_ARGS+= --enable-skins2 |
105 | PLIST.vlc-skins= yes | | 108 | PLIST.vlc-skins= yes |
106 | INSTALLATION_DIRS+= share/vlc/skins2 | | 109 | INSTALLATION_DIRS+= share/vlc/skins2 |
107 | .else | | 110 | .else |
108 | CONFIGURE_ARGS+= --disable-skins2 | | 111 | CONFIGURE_ARGS+= --disable-skins2 |
109 | .endif | | 112 | .endif |
110 | | | 113 | |
111 | ## QT5 frontend | | 114 | ## QT5 frontend |
112 | | | 115 | |
113 | PLIST_VARS+= qt5 | | 116 | PLIST_VARS+= qt5 |
114 | .if !empty(PKG_OPTIONS:Mqt5) | | 117 | .if !empty(PKG_OPTIONS:Mqt5) |
115 | .include "../../x11/qt5-qtbase/buildlink3.mk" | | 118 | .include "../../x11/qt5-qtbase/buildlink3.mk" |
116 | .include "../../x11/qt5-qtsvg/buildlink3.mk" | | 119 | .include "../../x11/qt5-qtsvg/buildlink3.mk" |