mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
build: Add gmodule dependency for libgstvaapi_egl
https://bugzilla.gnome.org/show_bug.cgi?id=756259
This commit is contained in:
parent
52eaafcd6c
commit
d7bd0a4c10
2 changed files with 10 additions and 0 deletions
|
@ -24,6 +24,9 @@ m4_define([gst_vaapi_lt_age], [0])
|
||||||
# glib version number
|
# glib version number
|
||||||
m4_define([glib_version], [2.32])
|
m4_define([glib_version], [2.32])
|
||||||
|
|
||||||
|
# gmodule version number
|
||||||
|
m4_define([gmodule_version], [2.32])
|
||||||
|
|
||||||
# gstreamer version number
|
# gstreamer version number
|
||||||
m4_define([gst_api_version], [autodetect])
|
m4_define([gst_api_version], [autodetect])
|
||||||
m4_define([gst12_version], [1.1.90])
|
m4_define([gst12_version], [1.1.90])
|
||||||
|
@ -709,6 +712,11 @@ if test "$enable_egl" = "yes" -a $GLES_VERSION_MASK -ne 0; then
|
||||||
AC_CHECK_LIB([EGL], [eglGetDisplay], [:], [USE_EGL=0])
|
AC_CHECK_LIB([EGL], [eglGetDisplay], [:], [USE_EGL=0])
|
||||||
CPPFLAGS="$saved_CPPFLAGS"
|
CPPFLAGS="$saved_CPPFLAGS"
|
||||||
LIBS="$saved_LIBS"
|
LIBS="$saved_LIBS"
|
||||||
|
|
||||||
|
dnl Check for GMODULE
|
||||||
|
GMODULE_VERSION_REQUIRED=gmodule_version
|
||||||
|
PKG_CHECK_MODULES([GMODULE], [gmodule-2.0 >= $GMODULE_VERSION_REQUIRED])
|
||||||
|
AC_SUBST(GMODULE_VERSION_REQUIRED)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Check for Wayland
|
dnl Check for Wayland
|
||||||
|
|
|
@ -501,6 +501,7 @@ libgstvaapi_egl_@GST_API_VERSION@_la_CFLAGS = \
|
||||||
-DGST_USE_UNSTABLE_API \
|
-DGST_USE_UNSTABLE_API \
|
||||||
-I$(top_srcdir)/gst-libs \
|
-I$(top_srcdir)/gst-libs \
|
||||||
$(GLIB_CFLAGS) \
|
$(GLIB_CFLAGS) \
|
||||||
|
$(GMODULE_CFLAGS) \
|
||||||
$(GST_BASE_CFLAGS) \
|
$(GST_BASE_CFLAGS) \
|
||||||
$(GST_VIDEO_CFLAGS) \
|
$(GST_VIDEO_CFLAGS) \
|
||||||
$(LIBVA_CFLAGS) \
|
$(LIBVA_CFLAGS) \
|
||||||
|
@ -509,6 +510,7 @@ libgstvaapi_egl_@GST_API_VERSION@_la_CFLAGS = \
|
||||||
|
|
||||||
libgstvaapi_egl_@GST_API_VERSION@_la_LIBADD = \
|
libgstvaapi_egl_@GST_API_VERSION@_la_LIBADD = \
|
||||||
$(GLIB_LIBS) \
|
$(GLIB_LIBS) \
|
||||||
|
$(GMODULE_LIBS) \
|
||||||
$(GST_LIBS) \
|
$(GST_LIBS) \
|
||||||
$(GST_BASE_LIBS) \
|
$(GST_BASE_LIBS) \
|
||||||
$(GST_VIDEO_LIBS) \
|
$(GST_VIDEO_LIBS) \
|
||||||
|
|
Loading…
Reference in a new issue