From 7a01e9a8cb01fdc55c636cce4d60068547a9afb1 Mon Sep 17 00:00:00 2001 From: "Jan Alexander Steffens (heftig)" Date: Mon, 14 Jan 2019 14:29:07 +0100 Subject: [PATCH] srt: Fix autotools build 0a350c610dab54dcdf55b45a0293fff048d24bb3 broke the build by only building enum types with meson. It also removed gstsrt.c from the list of sources, causing the plugin to fail to load. squash! srt: Fix autotools build --- ext/srt/Makefile.am | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ext/srt/Makefile.am b/ext/srt/Makefile.am index 069f0ecfea..dfacb070fe 100644 --- a/ext/srt/Makefile.am +++ b/ext/srt/Makefile.am @@ -1,6 +1,7 @@ plugin_LTLIBRARIES = libgstsrt.la libgstsrt_la_SOURCES = \ + gstsrt.c \ gstsrtobject.c \ gstsrtsink.c \ gstsrtsrc.c \ @@ -23,6 +24,14 @@ libgstsrt_la_LIBADD = \ libgstsrt_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) +glib_enum_headers=gstsrt-enums.h +glib_enum_define=GST_SRT +glib_gen_prefix=gst_srt +glib_gen_basename=gstsrt + +BUILT_SOURCES = gstsrt-enumtypes.c gstsrt-enumtypes.h +nodist_libgstsrt_la_SOURCES = $(BUILT_SOURCES) + CLEANFILES = $(BUILT_SOURCES) noinst_HEADERS = \