handle conditional packaging of EGL output plugin
This commit is contained in:
parent
e1497ad636
commit
7e07b7815e
2 changed files with 7 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
@comment $NetBSD: PLIST,v 1.9 2015/05/01 06:24:12 idleroux Exp $
|
||||
@comment $NetBSD: PLIST,v 1.10 2015/05/01 08:08:27 tnn2 Exp $
|
||||
bin/cvlc
|
||||
${PLIST.x11}bin/qvlc
|
||||
bin/rvlc
|
||||
|
@ -395,6 +395,7 @@ lib/vlc/plugins/video_filter/libtransform_plugin.la
|
|||
lib/vlc/plugins/video_filter/libvhs_plugin.la
|
||||
lib/vlc/plugins/video_filter/libwave_plugin.la
|
||||
lib/vlc/plugins/video_filter/libyuvp_plugin.la
|
||||
${PLIST.egl}lib/vlc/plugins/video_output/libegl_x11_plugin.la
|
||||
lib/vlc/plugins/video_output/libgl_plugin.la
|
||||
${PLIST.x11}lib/vlc/plugins/video_output/libglx_plugin.la
|
||||
lib/vlc/plugins/video_output/libvdummy_plugin.la
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: options.mk,v 1.5 2015/05/01 06:24:12 idleroux Exp $
|
||||
# $NetBSD: options.mk,v 1.6 2015/05/01 08:08:27 tnn2 Exp $
|
||||
|
||||
PKG_OPTIONS_VAR= PKG_OPTIONS.vlc
|
||||
PKG_SUPPORTED_OPTIONS= dbus debug dts faad gnome jack pulseaudio
|
||||
|
@ -98,6 +98,7 @@ CONFIGURE_ARGS+= --disable-skins2
|
|||
|
||||
## X11 dependency and QT4 frontend
|
||||
|
||||
PLIST_VARS+= egl
|
||||
.if !empty(PKG_OPTIONS:Mx11)
|
||||
DEPENDS+= dejavu-ttf>=2.0:../../fonts/dejavu-ttf
|
||||
.include "../../graphics/freetype2/buildlink3.mk"
|
||||
|
@ -115,6 +116,9 @@ DEPENDS+= dejavu-ttf>=2.0:../../fonts/dejavu-ttf
|
|||
CONFIGURE_ARGS+= --enable-qt \
|
||||
--with-x
|
||||
PLIST.x11= yes
|
||||
.if ${X11_TYPE} == "modular" || exists(${X11BASE}/include/EGL/egl.h)
|
||||
PLIST.egl= yes
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+= --without-x \
|
||||
--disable-xcb \
|
||||
|
|
Loading…
Reference in a new issue