wpe: Add autotools build support
This commit is contained in:
parent
dc28105220
commit
c357e12118
10
configure.ac
10
configure.ac
@ -2305,6 +2305,15 @@ AG_GST_CHECK_FEATURE(WEBRTC, [WebRTC], webrtc, [
|
|||||||
])
|
])
|
||||||
])
|
])
|
||||||
|
|
||||||
|
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 ***
|
dnl *** usrsctp ***
|
||||||
translit(dnm, m, l) AM_CONDITIONAL(USE_SCTP, true)
|
translit(dnm, m, l) AM_CONDITIONAL(USE_SCTP, true)
|
||||||
AG_GST_CHECK_FEATURE(SCTP, [sctp plug-in], sctp, [
|
AG_GST_CHECK_FEATURE(SCTP, [sctp plug-in], sctp, [
|
||||||
@ -2695,6 +2704,7 @@ ext/zbar/Makefile
|
|||||||
ext/dtls/Makefile
|
ext/dtls/Makefile
|
||||||
ext/webrtc/Makefile
|
ext/webrtc/Makefile
|
||||||
ext/webrtcdsp/Makefile
|
ext/webrtcdsp/Makefile
|
||||||
|
ext/wpe/Makefile
|
||||||
ext/ttml/Makefile
|
ext/ttml/Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
docs/Makefile
|
docs/Makefile
|
||||||
|
@ -394,6 +394,12 @@ else
|
|||||||
TTML_DIR=
|
TTML_DIR=
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if USE_WPE
|
||||||
|
WPE_DIR=wpe
|
||||||
|
else
|
||||||
|
WPE_DIR=
|
||||||
|
endif
|
||||||
|
|
||||||
SUBDIRS=\
|
SUBDIRS=\
|
||||||
$(VOAACENC_DIR) \
|
$(VOAACENC_DIR) \
|
||||||
$(ASSRENDER_DIR) \
|
$(ASSRENDER_DIR) \
|
||||||
@ -461,7 +467,8 @@ SUBDIRS=\
|
|||||||
$(VULKAN_DIR) \
|
$(VULKAN_DIR) \
|
||||||
$(WEBRTCDSP_DIR) \
|
$(WEBRTCDSP_DIR) \
|
||||||
$(TTML_DIR) \
|
$(TTML_DIR) \
|
||||||
$(WEBRTC_DIR)
|
$(WEBRTC_DIR) \
|
||||||
|
$(WPE_DIR)
|
||||||
|
|
||||||
DIST_SUBDIRS = \
|
DIST_SUBDIRS = \
|
||||||
assrender \
|
assrender \
|
||||||
@ -527,6 +534,7 @@ DIST_SUBDIRS = \
|
|||||||
vulkan \
|
vulkan \
|
||||||
webrtcdsp \
|
webrtcdsp \
|
||||||
ttml \
|
ttml \
|
||||||
webrtc
|
webrtc \
|
||||||
|
wpe
|
||||||
|
|
||||||
include $(top_srcdir)/common/parallel-subdirs.mak
|
include $(top_srcdir)/common/parallel-subdirs.mak
|
||||||
|
29
ext/wpe/Makefile.am
Normal file
29
ext/wpe/Makefile.am
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user