])
])
+dnl *** WPE ***
+translit(dnm, m, l) AM_CONDITIONAL(USE_WPE, true)
+AG_GST_CHECK_FEATURE(WPE, [WPE plug-in], wpe, [
+PKG_CHECK_MODULES(WPE, [ wpe-webkit-0.1 >= 2.22 wpebackend-fdo-0.1 egl xkbcommon ], [
+ HAVE_WPE="yes" ], [
+ HAVE_WPE="no"
+ ])
+])
+
dnl *** usrsctp ***
translit(dnm, m, l) AM_CONDITIONAL(USE_SCTP, true)
AG_GST_CHECK_FEATURE(SCTP, [sctp plug-in], sctp, [
ext/dtls/Makefile
ext/webrtc/Makefile
ext/webrtcdsp/Makefile
+ext/wpe/Makefile
ext/ttml/Makefile
po/Makefile.in
docs/Makefile
TTML_DIR=
endif
+if USE_WPE
+WPE_DIR=wpe
+else
+WPE_DIR=
+endif
+
SUBDIRS=\
$(VOAACENC_DIR) \
$(ASSRENDER_DIR) \
$(VULKAN_DIR) \
$(WEBRTCDSP_DIR) \
$(TTML_DIR) \
- $(WEBRTC_DIR)
+ $(WEBRTC_DIR) \
+ $(WPE_DIR)
DIST_SUBDIRS = \
assrender \
vulkan \
webrtcdsp \
ttml \
- webrtc
+ webrtc \
+ wpe
include $(top_srcdir)/common/parallel-subdirs.mak
--- /dev/null
+plugin_LTLIBRARIES = libgstwpe.la
+
+# sources used to compile this plug-in
+libgstwpe_la_SOURCES = \
+ gstwpesrc.cpp \
+ WPEThreadedView.cpp
+
+# compiler and linker flags used to compile this plugin, set in configure.ac
+libgstwpe_la_CXXFLAGS = \
+ $(GST_PLUGINS_BASE_CFLAGS) \
+ $(GST_BASE_CFLAGS) \
+ $(GST_GL_CFLAGS) \
+ $(GST_CFLAGS) \
+ $(WPE_CFLAGS)
+
+libgstwpe_la_LIBADD = \
+ $(GST_PLUGINS_BASE_LIBS) \
+ -lgstvideo-$(GST_API_VERSION) \
+ $(GST_BASE_LIBS) \
+ $(GST_GL_LIBS) \
+ $(GST_LIBS) \
+ $(WPE_LIBS)
+
+libgstwpe_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+
+# headers we need but don't want installed
+noinst_HEADERS = \
+ gstwpesrc.h \
+ WPEThreadedView.h