summaryrefslogtreecommitdiff
path: root/multimedia/gstreamer1-plugins-bad
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer1-plugins-bad')
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build14
-rw-r--r--multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_cuda_meson.build4
2 files changed, 14 insertions, 4 deletions
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build
index a9f29c42b14b..3d1e42eb7034 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-ext_webrtcdsp_meson.build
@@ -1,6 +1,16 @@
---- ext/webrtcdsp/meson.build.orig 2025-03-11 20:14:44 UTC
+--- ext/webrtcdsp/meson.build.orig 2025-08-07 18:06:46 UTC
+++ ext/webrtcdsp/meson.build
-@@ -49,7 +49,7 @@ if webrtc_dep.found()
+@@ -43,13 +43,17 @@ endif
+ required : get_option('webrtcdsp'))
+ endif
+
++if get_option('webrtcdsp').disabled()
++ subdir_done()
++endif
++
+ if webrtc_dep.found()
+ gstwebrtcdsp = library('gstwebrtcdsp',
+ webrtc_sources,
cpp_args : gst_plugins_bad_args,
link_args : noseh_link_args,
include_directories : [configinc],
diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_cuda_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_cuda_meson.build
index 83836091813e..4c5d0a5ae805 100644
--- a/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_cuda_meson.build
+++ b/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_cuda_meson.build
@@ -1,11 +1,11 @@
---- gst-libs/gst/cuda/meson.build.orig 2025-03-11 20:14:44 UTC
+--- gst-libs/gst/cuda/meson.build.orig 2025-08-07 18:06:46 UTC
+++ gst-libs/gst/cuda/meson.build
@@ -1,3 +1,4 @@
+if get_option('cuda').enabled()
cuda_sources = files([
'gstcudabufferpool.cpp',
'gstcudacontext.cpp',
-@@ -217,3 +218,4 @@ meson.override_dependency(pkg_name, gstcuda_dep)
+@@ -214,3 +215,4 @@ meson.override_dependency(pkg_name, gstcuda_dep)
sources: gen_sources)
meson.override_dependency(pkg_name, gstcuda_dep)