mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
[376/906] build: support openGLES on linux via autofoo. Partialy fixes #593786
Add a pkg-config check for opengl and if not found assume opengl-es. If user has none of both one still get build error later on (there is no pkg-config for opengl-es). Add more files to EXTRA dist and build the opengles variant if selected. Simmilar changes could be done for the winCE backend.
This commit is contained in:
parent
8bed6a5e85
commit
fa9177d037
1 changed files with 5 additions and 0 deletions
|
@ -3,7 +3,9 @@ lib_LTLIBRARIES = libgstgl-@GST_MAJORMINOR@.la
|
|||
|
||||
EXTRA_DIST = \
|
||||
gstglwindow_x11.c \
|
||||
gstglwindow_x11ES2.c \
|
||||
gstglwindow_win32.c \
|
||||
gstglwindow_winCE.c \
|
||||
gstglwindow_cocoa.m
|
||||
|
||||
libgstgl_@GST_MAJORMINOR@_la_SOURCES = \
|
||||
|
@ -21,6 +23,9 @@ endif
|
|||
if GL_BACKEND_X11
|
||||
libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_x11.c
|
||||
endif
|
||||
if GL_BACKEND_X11ES2
|
||||
libgstgl_@GST_MAJORMINOR@_la_SOURCES += gstglwindow_x11ES2.c
|
||||
endif
|
||||
|
||||
libgstgl_@GST_MAJORMINOR@includedir = $(includedir)/gstreamer-@GST_MAJORMINOR@/gst/gl
|
||||
libgstgl_@GST_MAJORMINOR@include_HEADERS = \
|
||||
|
|
Loading…
Reference in a new issue