Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
89249603
Commit
89249603
authored
Oct 31, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XCB: use automake conditional
parent
9c42dd14
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
34 additions
and
17 deletions
+34
-17
configure.ac
configure.ac
+3
-2
modules/access/Modules.am
modules/access/Modules.am
+5
-3
modules/misc/Modules.am
modules/misc/Modules.am
+14
-2
modules/services_discovery/Modules.am
modules/services_discovery/Modules.am
+5
-4
modules/video_output/Modules.am
modules/video_output/Modules.am
+7
-6
No files found.
configure.ac
View file @
89249603
...
...
@@ -3187,11 +3187,12 @@ AC_ARG_ENABLE(xvideo,
])
need_xid_provider="no"
have_xcb="no"
AS_IF([test "${enable_xcb}" != "no"], [
dnl libxcb
PKG_CHECK_MODULES(XCB, [xcb])
have_xcb="yes"
PKG_CHECK_MODULES(XCB_SHM, [xcb-shm])
VLC_ADD_PLUGIN([xscreensaver xcb_x11 xcb_window xcb_screen xcb_apps])
AS_IF([test "${enable_xvideo}" != "no"], [
PKG_CHECK_MODULES(XCB_XV, [xcb-xv >= 1.1.90.1], [
...
...
@@ -3233,8 +3234,8 @@ AS_IF([test "${enable_xcb}" != "no"], [
VLC_ADD_LIBS([globalhotkeys], [${XCB_KEYSYMS_LIBS} ${XCB_LIBS}])
VLC_ADD_CFLAGS([xcb_window], [-DHAVE_XCB_KEYSYMS])
])
VLC_ADD_PLUGIN([xdg_screensaver])
])
AM_CONDITIONAL([HAVE_XCB], [test "${have_xcb}" = "yes"])
AC_ARG_ENABLE(glx,
[ --enable-glx X11 OpenGL (GLX) support (default enabled)],, [
...
...
modules/access/Modules.am
View file @
89249603
...
...
@@ -94,7 +94,9 @@ libxcb_screen_plugin_la_CFLAGS = $(AM_CFLAGS) \
libxcb_screen_plugin_la_LIBADD = $(AM_LIBADD) \
$(XCB_LIBS)
libxcb_screen_plugin_la_DEPENDENCIES =
if HAVE_XCB
libvlc_LTLIBRARIES += libxcb_screen_plugin.la
endif
EXTRA_LTLIBRARIES += \
libaccess_rtmp_plugin.la \
libxcb_screen_plugin.la
libvlc_LTLIBRARIES += $(LTLIBxcb_screen)
libaccess_rtmp_plugin.la
modules/misc/Modules.am
View file @
89249603
...
...
@@ -19,8 +19,20 @@ SOURCES_audioscrobbler = audioscrobbler.c
SOURCES_inhibit = inhibit.c
SOURCES_sqlite = sqlite.c
SOURCES_xscreensaver = inhibit/xscreensaver.c
SOURCES_xdg_screensaver = inhibit/xdg.c
libxdg_screensaver_plugin_la_SOURCES = inhibit/xdg.c
libxdg_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS)
libxdg_screensaver_plugin_la_LIBADD = $(AM_LIBADD)
libxdg_screensaver_plugin_la_DEPENDENCIES =
libxscreensaver_plugin_la_SOURCES = inhibit/xscreensaver.c
libxscreensaver_plugin_la_CFLAGS = $(AM_CFLAGS)
libxscreensaver_plugin_la_LIBADD = $(AM_LIBADD)
libxscreensaver_plugin_la_DEPENDENCIES =
if HAVE_XCB
libvlc_LTLIBRARIES += \
libxdg_screensaver_plugin.la \
libxscreensaver_plugin.la
endif
SOURCES_osso_screensaver = inhibit/osso.c
libvlc_LTLIBRARIES += \
...
...
modules/services_discovery/Modules.am
View file @
89249603
...
...
@@ -20,13 +20,14 @@ libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) \
libxcb_apps_plugin_la_LIBADD = $(AM_LIBADD) \
$(XCB_LIBS)
libxcb_apps_plugin_la_DEPENDENCIES =
if HAVE_XCB
libvlc_LTLIBRARIES += libxcb_apps_plugin.la
endif
EXTRA_LTLIBRARIES += \
libudev_plugin.la \
libxcb_apps_plugin.la
libudev_plugin.la
libvlc_LTLIBRARIES += \
libmediadirs_plugin.la \
libpodcast_plugin.la \
libsap_plugin.la \
$(LTLIBudev) \
$(LTLIBxcb_apps)
$(LTLIBudev)
modules/video_output/Modules.am
View file @
89249603
...
...
@@ -58,16 +58,17 @@ libxcb_window_plugin_la_LIBADD = $(AM_LIBADD) \
$(XCB_KEYSYMS_LIBS)
libxcb_window_plugin_la_DEPENDENCIES =
EXTRA_LTLIBRARIES += \
if HAVE_XCB
libvlc_LTLIBRARIES += \
libxcb_x11_plugin.la \
libxcb_xv_plugin.la \
libxcb_glx_plugin.la \
libxcb_window_plugin.la
endif
EXTRA_LTLIBRARIES += \
libxcb_xv_plugin.la \
libxcb_glx_plugin.la
libvlc_LTLIBRARIES += \
$(LTLIBxcb_x11) \
$(LTLIBxcb_xv) \
$(LTLIBxcb_glx) \
$(LTLIBxcb_window)
$(LTLIBxcb_glx)
# XXX: do we need yet another modules/ subdirectory?
libdrawable_plugin_la_SOURCES = drawable.c
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment