gl: deploy egl headers in gst/gl/egl instead of gst/gl

https://bugzilla.gnome.org/show_bug.cgi?id=703343
This commit is contained in:
Julien Isorce 2014-03-24 12:12:42 +00:00
parent 5bb4c4e866
commit 6d10548e7f
3 changed files with 30 additions and 5 deletions

View file

@ -3183,6 +3183,7 @@ gst-libs/gst/gl/android/Makefile
gst-libs/gst/gl/cocoa/Makefile
gst-libs/gst/gl/dispmanx/Makefile
gst-libs/gst/gl/glprototypes/Makefile
gst-libs/gst/gl/egl/Makefile
gst-libs/gst/gl/wayland/Makefile
gst-libs/gst/gl/win32/Makefile
gst-libs/gst/gl/x11/Makefile

View file

@ -86,11 +86,8 @@ libgstgl_@GST_API_VERSION@_la_LIBADD += android/libgstgl-android.la
endif
if USE_EGL
libgstgl_@GST_API_VERSION@_la_SOURCES += egl/gstglcontext_egl.c \
egl/gstgldisplay_egl.c
libgstgl_@GST_API_VERSION@_la_LIBADD += $(top_builddir)/gst-libs/gst/egl/libgstegl-$(GST_API_VERSION).la
libgstgl_@GST_API_VERSION@include_HEADERS += egl/gstgldisplay_egl.h
noinst_HEADERS += egl/gstglcontext_egl.h
SUBDIRS += egl
libgstgl_@GST_API_VERSION@_la_LIBADD += egl/libgstgl-egl.la
endif
nodist_libgstgl_@GST_API_VERSION@include_HEADERS = \

View file

@ -0,0 +1,27 @@
## Process this file with automake to produce Makefile.in
noinst_LTLIBRARIES = libgstgl-egl.la
libgstgl_egl_la_SOURCES = \
gstgldisplay_egl.c \
gstglcontext_egl.c
noinst_HEADERS = \
gstglcontext_egl.h
libgstgl_eglincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/egl
libgstgl_eglinclude_HEADERS = \
gstgldisplay_egl.h
libgstgl_egl_la_LIBADD = $(top_builddir)/gst-libs/gst/egl/libgstegl-$(GST_API_VERSION).la
libgstgl_egl_la_CFLAGS = \
-I$(top_srcdir)/gst-libs \
$(GL_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_CFLAGS)
libgstgl_egl_la_LDFLAGS = \
$(GST_LIB_LDFLAGS) \
$(GST_ALL_LDFLAGS)