freebsd-ports/multimedia/gstreamer1-plugins-bad/files/patch-gst-libs_gst_va_meson.build
Jason E. Hale 9033cb222f Gstreamer: Update to 1.24.9
https://gstreamer.freedesktop.org/releases/1.24/#1.24.9

Security:	d48a2224-9b4c-11ef-bdd9-4ccc6adda413
2024-11-07 20:23:35 -05:00

26 lines
821 B
Text

--- gst-libs/gst/va/meson.build.orig 2024-10-30 20:33:30 UTC
+++ gst-libs/gst/va/meson.build
@@ -45,12 +45,12 @@ extra_args = ['-DGST_USE_UNSTABLE_API',
'-DBUILDING_GST_VA',
'-DG_LOG_DOMAIN="GStreamer-VA"']
-if host_system not in ['linux', 'windows']
+if get_option('skip_gstva')
subdir_done()
endif
va_opt = get_option('va')
-if host_system == 'linux'
+if host_system in ['linux', 'freebsd']
msdk_opt = get_option('msdk')
qsv_opt = get_option('qsv')
if va_opt.disabled() and msdk_opt.disabled() and qsv_opt.disabled()
@@ -74,7 +74,7 @@ endif
subdir_done()
endif
-if host_system == 'linux'
+if host_system in ['linux', 'freebsd']
libva_drm_dep = dependency('libva-drm', version: libva_req, required: va_required)
if not libva_drm_dep.found()
subdir_done()