build: use CMakeLists.txt instead of config.h to define plugin macros

This commit is contained in:
Joshua M. Doe
2017-09-26 12:46:55 -04:00
parent 28f41f998a
commit bbba3dae51
28 changed files with 33 additions and 52 deletions

View File

@@ -1,5 +1,3 @@
add_definitions (-DHAVE_CONFIG_H)
set (SOURCES
gstextractcolor.c
gstextractcolororc-dist.c)

View File

@@ -449,4 +449,5 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
extract_color,
"Filter that applies various hacks to a video stream",
plugin_init, PACKAGE_VERSION, GST_LICENSE, PACKAGE_NAME, GST_PACKAGE_ORIGIN);
plugin_init, GST_PACKAGE_VERSION, GST_PACKAGE_LICENSE, GST_PACKAGE_NAME,
GST_PACKAGE_ORIGIN);

View File

@@ -1,5 +1,3 @@
add_definitions (-DHAVE_CONFIG_H)
set (SOURCES
gstvideoadjust.c
gstvideolevels.c)

View File

@@ -30,5 +30,5 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
videoadjust,
"Filters that apply transform from 16-bit to 8-bit video",
plugin_init, PACKAGE_VERSION, GST_LICENSE, PACKAGE_NAME,
plugin_init, GST_PACKAGE_VERSION, GST_PACKAGE_LICENSE, GST_PACKAGE_NAME,
GST_PACKAGE_ORIGIN);