92 lines
3.1 KiB
Diff
92 lines
3.1 KiB
Diff
--- gst-plugins-bad-1.16.2/common/glib-gen.mak
|
|
+++ gst-plugins-bad-1.16.2/common/glib-gen.mak
|
|
@@ -1,11 +1,13 @@
|
|
# these are the variables your Makefile.am should set
|
|
# the example is based on the colorbalance interface
|
|
|
|
+H := \#
|
|
+
|
|
#glib_enum_headers=$(colorbalance_headers)
|
|
#glib_enum_define=GST_COLOR_BALANCE
|
|
#glib_enum_prefix=gst_color_balance
|
|
|
|
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
|
|
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
|
|
|
|
# these are all the rules generating the relevant files
|
|
%-marshal.h: %-marshal.list
|
|
--- gst-plugins-bad-1.16.2/common/gst-glib-gen.mak
|
|
+++ gst-plugins-bad-1.16.2/common/gst-glib-gen.mak
|
|
@@ -1,14 +1,16 @@
|
|
# these are the variables your Makefile.am should set
|
|
# the example is based on the colorbalance interface
|
|
|
|
+H := \#
|
|
+
|
|
#glib_enum_headers=$(colorbalance_headers)
|
|
#glib_enum_define=GST_COLOR_BALANCE
|
|
#glib_gen_prefix=gst_color_balance
|
|
#glib_gen_basename=colorbalance
|
|
#glib_gen_decl_banner=GST_EXPORT
|
|
-#glib_gen_decl_include=\#include <gst/foo/foo-prelude.h>
|
|
+#glib_gen_decl_include=$(H)include <gst/foo/foo-prelude.h>
|
|
|
|
-enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
|
|
+enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
|
|
|
|
# these are all the rules generating the relevant files
|
|
$(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list
|
|
--- gst-plugins-bad-1.16.2/gst-libs/gst/interfaces/Makefile.am
|
|
+++ gst-plugins-bad-1.16.2/gst-libs/gst/interfaces/Makefile.am
|
|
@@ -5,13 +5,15 @@
|
|
headers_photography = \
|
|
photography.h
|
|
|
|
+H := \#
|
|
+
|
|
# variables used for enum/marshal generation
|
|
glib_enum_headers=$(headers_photography)
|
|
glib_enum_define=GST_PHOTOGRAPHY
|
|
glib_gen_prefix=gst_photography
|
|
glib_gen_basename=photography
|
|
glib_gen_decl_banner=GST_PHOTOGRAPHY_API
|
|
-glib_gen_decl_include=\#include <gst/interfaces/photography-prelude.h>
|
|
+glib_gen_decl_include=$(H)include <gst/interfaces/photography-prelude.h>
|
|
|
|
built_sources = \
|
|
photography-enumtypes.c
|
|
--- gst-plugins-bad-1.16.2/gst-libs/gst/mpegts/Makefile.am
|
|
+++ gst-plugins-bad-1.16.2/gst-libs/gst/mpegts/Makefile.am
|
|
@@ -47,11 +47,13 @@
|
|
gst-scte-section.h \
|
|
gst-dvb-descriptor.h
|
|
|
|
+H := \#
|
|
+
|
|
glib_enum_define=GST_MPEGTS
|
|
glib_gen_prefix=gst_mpegts
|
|
glib_gen_basename=gstmpegts
|
|
glib_gen_decl_banner=GST_MPEGTS_API
|
|
-glib_gen_decl_include=\#include <gst/mpegts/mpegts-prelude.h>
|
|
+glib_gen_decl_include=$(H)include <gst/mpegts/mpegts-prelude.h>
|
|
|
|
BUILT_SOURCES = gstmpegts-enumtypes.c gstmpegts-enumtypes.h
|
|
nodist_libgstmpegts_@GST_API_VERSION@_la_SOURCES = gstmpegts-enumtypes.c
|
|
--- gst-plugins-bad-1.16.2/gst-libs/gst/webrtc/Makefile.am
|
|
+++ gst-plugins-bad-1.16.2/gst-libs/gst/webrtc/Makefile.am
|
|
@@ -1,11 +1,13 @@
|
|
lib_LTLIBRARIES = libgstwebrtc-@GST_API_VERSION@.la
|
|
|
|
+H := \#
|
|
+
|
|
glib_enum_headers = dtlstransport.h icetransport.h rtptransceiver.h webrtc_fwd.h
|
|
glib_enum_define = GST_WEBRTC
|
|
glib_gen_prefix = gst_webrtc
|
|
glib_gen_basename = webrtc
|
|
glib_gen_decl_banner=GST_WEBRTC_API
|
|
-glib_gen_decl_include=\#include <gst/webrtc/webrtc_fwd.h>
|
|
+glib_gen_decl_include=$(H)include <gst/webrtc/webrtc_fwd.h>
|
|
|
|
built_sources = webrtc-enumtypes.c
|
|
built_headers = webrtc-enumtypes.h
|