mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
eglglessink: Integrate into the build system
Conflicts: ext/Makefile.am
This commit is contained in:
parent
ebb99f27ac
commit
6fb5a9b716
3 changed files with 39 additions and 2 deletions
31
configure.ac
31
configure.ac
|
@ -1522,6 +1522,36 @@ AG_GST_CHECK_FEATURE(RSVG, [rsvg decoder], rsvg, [
|
|||
AC_SUBST(RSVG_LIBS)
|
||||
])
|
||||
|
||||
dnl *** eglgles ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_EGLGLES, true)
|
||||
AG_GST_CHECK_FEATURE(EGLGLES, [eglgles sink], eglgles, [
|
||||
HAVE_EGLGLES="no"
|
||||
PKG_CHECK_MODULES(EGLGLES, egl glesv2, HAVE_EGLGLES="yes", [
|
||||
HAVE_EGLGLES="no"
|
||||
old_LIBS=$LIBS
|
||||
old_CFLAGS=$CFLAGS
|
||||
AC_CHECK_LIB([GLESv2], [glEnable],
|
||||
[
|
||||
AC_CHECK_HEADER([GLES2/gl2.h],
|
||||
[
|
||||
AC_CHECK_LIB([EGL], [eglGetProcAddress],
|
||||
[
|
||||
AC_CHECK_HEADER([EGL/egl.h],
|
||||
[
|
||||
HAVE_EGLGLES="yes"
|
||||
EGLGLES_LIBS="-lGLESv2 -lEGL"
|
||||
EGLGLES_CFLAGS=""
|
||||
])
|
||||
])
|
||||
])
|
||||
])
|
||||
LIBS=$old_LIBS
|
||||
CFLAGS=$old_CFLAGS
|
||||
])
|
||||
AC_SUBST(EGLGLES_CFLAGS)
|
||||
AC_SUBST(EGLGLES_LIBS)
|
||||
])
|
||||
|
||||
dnl *** timidity ***
|
||||
translit(dnm, m, l) AM_CONDITIONAL(USE_TIMIDITY, true)
|
||||
AG_GST_CHECK_FEATURE(TIMIDITY, [timidity midi soft synth plugin], timidity, [
|
||||
|
@ -2116,6 +2146,7 @@ ext/dirac/Makefile
|
|||
ext/directfb/Makefile
|
||||
ext/wayland/Makefile
|
||||
ext/dts/Makefile
|
||||
ext/eglgles/Makefile
|
||||
ext/faac/Makefile
|
||||
ext/faad/Makefile
|
||||
ext/flite/Makefile
|
||||
|
|
|
@ -88,6 +88,12 @@ else
|
|||
DTS_DIR=
|
||||
endif
|
||||
|
||||
if USE_EGLGLES
|
||||
EGLGLES_DIR=eglgles
|
||||
else
|
||||
EGLGLES_DIR=
|
||||
endif
|
||||
|
||||
if USE_RESINDVD
|
||||
RESINDVD_DIR = resindvd
|
||||
else
|
||||
|
@ -379,6 +385,7 @@ SUBDIRS=\
|
|||
$(WAYLAND_DIR) \
|
||||
$(DTS_DIR) \
|
||||
$(RESINDVD_DIR) \
|
||||
$(EGLGLES_DIR) \
|
||||
$(FAAC_DIR) \
|
||||
$(FAAD_DIR) \
|
||||
$(FLITE_DIR) \
|
||||
|
@ -446,6 +453,7 @@ DIST_SUBDIRS = \
|
|||
libmms \
|
||||
lv2 \
|
||||
dts \
|
||||
eglgles \
|
||||
modplug \
|
||||
mimic \
|
||||
mpeg2enc \
|
||||
|
|
|
@ -14,8 +14,6 @@ libgsteglglessink_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) \
|
|||
-lgstinterfaces-$(GST_MAJORMINOR)
|
||||
|
||||
libgsteglglessink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||
if !GST_PLUGIN_BUILD_STATIC
|
||||
libgsteglglessink_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
endif
|
||||
|
||||
noinst_HEADERS = gsteglglessink.h video_platform_wrapper.h
|
||||
|
|
Loading…
Reference in a new issue