logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

gstreamer-1.14.5-make43.patch (3176B)


  1. --- a/common/glib-gen.mak
  2. +++ b/common/glib-gen.mak
  3. @@ -1,11 +1,13 @@
  4. # these are the variables your Makefile.am should set
  5. # the example is based on the colorbalance interface
  6. +H := \#
  7. +
  8. #glib_enum_headers=$(colorbalance_headers)
  9. #glib_enum_define=GST_COLOR_BALANCE
  10. #glib_enum_prefix=gst_color_balance
  11. -enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
  12. +enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
  13. # these are all the rules generating the relevant files
  14. %-marshal.h: %-marshal.list
  15. --- a/common/gst-glib-gen.mak
  16. +++ b/common/gst-glib-gen.mak
  17. @@ -1,14 +1,16 @@
  18. # these are the variables your Makefile.am should set
  19. # the example is based on the colorbalance interface
  20. +H := \#
  21. +
  22. #glib_enum_headers=$(colorbalance_headers)
  23. #glib_enum_define=GST_COLOR_BALANCE
  24. #glib_gen_prefix=gst_color_balance
  25. #glib_gen_basename=colorbalance
  26. #glib_gen_decl_banner=GST_EXPORT
  27. -#glib_gen_decl_include=\#include <gst/foo/foo-prelude.h>
  28. +#glib_gen_decl_include=$(H)include <gst/foo/foo-prelude.h>
  29. -enum_headers=$(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
  30. +enum_headers=$(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
  31. # these are all the rules generating the relevant files
  32. $(glib_gen_basename)-marshal.h: $(glib_gen_basename)-marshal.list
  33. --- a/libs/gst/controller/Makefile.in
  34. +++ b/libs/gst/controller/Makefile.in
  35. @@ -17,13 +17,6 @@
  36. # these are the variables your Makefile.am should set
  37. # the example is based on the colorbalance interface
  38. -#glib_enum_headers=$(colorbalance_headers)
  39. -#glib_enum_define=GST_COLOR_BALANCE
  40. -#glib_gen_prefix=gst_color_balance
  41. -#glib_gen_basename=colorbalance
  42. -#glib_gen_decl_banner=GST_EXPORT
  43. -#glib_gen_decl_include=\#include <gst/foo/foo-prelude.h>
  44. -
  45. VPATH = @srcdir@
  46. @@ -550,11 +543,12 @@
  47. gstinterpolationcontrolsource.h \
  48. gstlfocontrolsource.h
  49. +H := \#
  50. glib_enum_define = GST_CONTROLLER
  51. glib_gen_prefix = gst
  52. glib_gen_basename = controller
  53. glib_gen_decl_banner = GST_CONTROLLER_API
  54. -glib_gen_decl_include = \#include <gst/controller/controller-prelude.h>
  55. +glib_gen_decl_include = $(H)include <gst/controller/controller-prelude.h>
  56. built_sources = controller-enumtypes.c
  57. built_headers = controller-enumtypes.h
  58. BUILT_SOURCES = $(built_sources) $(built_headers)
  59. @@ -587,7 +581,14 @@
  60. libgstcontroller_@GST_API_VERSION@_la_LIBADD = $(GST_OBJ_LIBS) $(LIBM)
  61. libgstcontroller_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
  62. CLEANFILES = *.gcno *.gcda *.gcov $(BUILT_SOURCES) $(am__append_1)
  63. -enum_headers = $(foreach h,$(glib_enum_headers),\n\#include \"$(h)\")
  64. +
  65. +#glib_enum_headers=$(colorbalance_headers)
  66. +#glib_enum_define=GST_COLOR_BALANCE
  67. +#glib_gen_prefix=gst_color_balance
  68. +#glib_gen_basename=colorbalance
  69. +#glib_gen_decl_banner=GST_EXPORT
  70. +#glib_gen_decl_include=$(H)include <gst/foo/foo-prelude.h>
  71. +enum_headers = $(foreach h,$(glib_enum_headers),\n$(H)include \"$(h)\")
  72. @HAVE_INTROSPECTION_TRUE@BUILT_GIRSOURCES = GstController-@GST_API_VERSION@.gir
  73. @HAVE_INTROSPECTION_TRUE@gir_headers = $(patsubst %,$(srcdir)/%, \
  74. @HAVE_INTROSPECTION_TRUE@ $(libgstcontroller_@GST_API_VERSION@_include_HEADERS)) \