diff options
Diffstat (limited to 'patches')
4 files changed, 32 insertions, 26 deletions
diff --git a/patches/gst-rtsp-server-1.16.1/0001-meson-allow-enabling-gir-when-cross-compiling.patch b/patches/gst-rtsp-server-1.16.1/0001-meson-allow-enabling-gir-when-cross-compiling.patch deleted file mode 100644 index 9640a061a..000000000 --- a/patches/gst-rtsp-server-1.16.1/0001-meson-allow-enabling-gir-when-cross-compiling.patch +++ /dev/null @@ -1,22 +0,0 @@ -From: Michael Olbrich <m.olbrich@pengutronix.de> -Date: Tue, 23 Apr 2019 22:19:51 +0200 -Subject: [PATCH] meson: allow enabling gir when cross-compiling - -Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de> ---- - meson.build | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/meson.build b/meson.build -index 2802b1d85329..ccbec60ab990 100644 ---- a/meson.build -+++ b/meson.build -@@ -173,7 +173,7 @@ endif - - gir = find_program('g-ir-scanner', required : get_option('introspection')) - gnome = import('gnome') --build_gir = gir.found() and not meson.is_cross_build() -+build_gir = gir.found() - gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ - 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ - 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ diff --git a/patches/gst-rtsp-server-1.16.1/series b/patches/gst-rtsp-server-1.16.1/series deleted file mode 100644 index 305ed6fe0..000000000 --- a/patches/gst-rtsp-server-1.16.1/series +++ /dev/null @@ -1,4 +0,0 @@ -# generated by git-ptx-patches -#tag:base --start-number 1 -0001-meson-allow-enabling-gir-when-cross-compiling.patch -# b5e8cd63bf616136df653d409ae9e0f9 - git-ptx-patches magic diff --git a/patches/gst-rtsp-server-1.16.2/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch b/patches/gst-rtsp-server-1.16.2/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch new file mode 100644 index 000000000..376eb67eb --- /dev/null +++ b/patches/gst-rtsp-server-1.16.2/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch @@ -0,0 +1,28 @@ +From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com> +Date: Fri, 18 Oct 2019 00:42:12 +0100 +Subject: [PATCH] meson: build gir even when cross-compiling if introspection + was enabled explicitly + +This can be made to work in certain circumstances when +cross-compiling, so default to not building g-i stuff +when cross-compiling, but allow it if introspection was +enabled explicitly via -Dintrospection=enabled. + +See gstreamer/gstreamer#454 and gstreamer/gstreamer#381. +--- + meson.build | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/meson.build b/meson.build +index 36cda01318b6..7adc95077135 100644 +--- a/meson.build ++++ b/meson.build +@@ -173,7 +173,7 @@ endif + + gir = find_program('g-ir-scanner', required : get_option('introspection')) + gnome = import('gnome') +-build_gir = gir.found() and not meson.is_cross_build() ++build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) + gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ + 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ + 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ diff --git a/patches/gst-rtsp-server-1.16.2/series b/patches/gst-rtsp-server-1.16.2/series new file mode 100644 index 000000000..c1929a0c8 --- /dev/null +++ b/patches/gst-rtsp-server-1.16.2/series @@ -0,0 +1,4 @@ +# generated by git-ptx-patches +#tag:base --start-number 1 +0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch +# c50daa57270463847718e2263e04d262 - git-ptx-patches magic |