diff options
author | Philippe Normand <philn@igalia.com> | 2019-01-21 10:57:57 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-01-22 11:13:13 +0000 |
commit | c357e1211865bc7e76ddd740611669437f8496e2 (patch) | |
tree | 372c94856543aea6561ddcd638d8813b0d72260d /ext | |
parent | dc2810522026042ccf589e309c357d912140b12c (diff) | |
download | gstreamer-plugins-bad-c357e1211865bc7e76ddd740611669437f8496e2.tar.gz |
wpe: Add autotools build support
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Makefile.am | 12 | ||||
-rw-r--r-- | ext/wpe/Makefile.am | 29 |
2 files changed, 39 insertions, 2 deletions
diff --git a/ext/Makefile.am b/ext/Makefile.am index 8cf19f69e..94d3bc4a0 100644 --- a/ext/Makefile.am +++ b/ext/Makefile.am @@ -394,6 +394,12 @@ else TTML_DIR= endif +if USE_WPE +WPE_DIR=wpe +else +WPE_DIR= +endif + SUBDIRS=\ $(VOAACENC_DIR) \ $(ASSRENDER_DIR) \ @@ -461,7 +467,8 @@ SUBDIRS=\ $(VULKAN_DIR) \ $(WEBRTCDSP_DIR) \ $(TTML_DIR) \ - $(WEBRTC_DIR) + $(WEBRTC_DIR) \ + $(WPE_DIR) DIST_SUBDIRS = \ assrender \ @@ -527,6 +534,7 @@ DIST_SUBDIRS = \ vulkan \ webrtcdsp \ ttml \ - webrtc + webrtc \ + wpe include $(top_srcdir)/common/parallel-subdirs.mak diff --git a/ext/wpe/Makefile.am b/ext/wpe/Makefile.am new file mode 100644 index 000000000..c291a8855 --- /dev/null +++ b/ext/wpe/Makefile.am @@ -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 |