1--- meson.build.orig	2025-03-11 20:14:44 UTC
2+++ meson.build
3@@ -17,6 +17,8 @@ gst_version_is_dev = gst_version_minor % 2 == 1 and gs
4 gst_version_is_stable = gst_version_minor.is_even()
5 gst_version_is_dev = gst_version_minor % 2 == 1 and gst_version_micro < 90
6
7+build_gstgl = false
8+
9 host_system = host_machine.system()
10
11 have_cxx = add_languages('cpp', native: false, required: false)
12@@ -301,8 +303,10 @@ core_conf.set_quoted('DEFAULT_VIDEOSINK', 'autovideosi
13
14 # FIXME: These should be configure options
15 core_conf.set_quoted('DEFAULT_VIDEOSINK', 'autovideosink')
16-core_conf.set_quoted('DEFAULT_AUDIOSINK', 'autoaudiosink')
17
18+core_conf.set_quoted('DEFAULT_AUDIOSINK', get_option('defaultaudiosink'))
19+core_conf.set_quoted('DEFAULT_AUDIOSRC', get_option('defaultaudiosrc'))
20+
21 # Set whether the audioresampling method should be detected at runtime
22 core_conf.set('AUDIORESAMPLE_FORMAT_' + get_option('audioresample_format').to_upper(), true)
23
24@@ -521,6 +525,7 @@ pkgconfig_plugins_base_libs_variables = [
25   'libraries=' + ' '.join(base_libraries),
26 ]
27
28+if get_option('pkgconfig').enabled()
29 pkgconfig.generate(
30   libraries : [gst_dep],
31   variables : pkgconfig_variables + pkgconfig_plugins_base_libs_variables,
32@@ -534,6 +539,7 @@ run_command(meson_pkg_config_file_fixup_script,
33 run_command(meson_pkg_config_file_fixup_script,
34   'gstreamer-plugins-base-1.0', 'libraries',
35   check: true)
36+endif
37
38 if have_orcc
39   update_orc_dist_files = find_program('scripts/update-orc-dist-files.py')
40