mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
39 lines
1.5 KiB
Text
39 lines
1.5 KiB
Text
--- meson.build.orig 2025-03-11 20:14:44 UTC
|
|
+++ meson.build
|
|
@@ -17,6 +17,8 @@ gst_version_is_dev = gst_version_minor % 2 == 1 and gs
|
|
gst_version_is_stable = gst_version_minor.is_even()
|
|
gst_version_is_dev = gst_version_minor % 2 == 1 and gst_version_micro < 90
|
|
|
|
+build_gstgl = false
|
|
+
|
|
host_system = host_machine.system()
|
|
|
|
have_cxx = add_languages('cpp', native: false, required: false)
|
|
@@ -301,8 +303,10 @@ core_conf.set_quoted('DEFAULT_VIDEOSINK', 'autovideosi
|
|
|
|
# FIXME: These should be configure options
|
|
core_conf.set_quoted('DEFAULT_VIDEOSINK', 'autovideosink')
|
|
-core_conf.set_quoted('DEFAULT_AUDIOSINK', 'autoaudiosink')
|
|
|
|
+core_conf.set_quoted('DEFAULT_AUDIOSINK', get_option('defaultaudiosink'))
|
|
+core_conf.set_quoted('DEFAULT_AUDIOSRC', get_option('defaultaudiosrc'))
|
|
+
|
|
# Set whether the audioresampling method should be detected at runtime
|
|
core_conf.set('AUDIORESAMPLE_FORMAT_' + get_option('audioresample_format').to_upper(), true)
|
|
|
|
@@ -521,6 +525,7 @@ pkgconfig_plugins_base_libs_variables = [
|
|
'libraries=' + ' '.join(base_libraries),
|
|
]
|
|
|
|
+if get_option('pkgconfig').enabled()
|
|
pkgconfig.generate(
|
|
libraries : [gst_dep],
|
|
variables : pkgconfig_variables + pkgconfig_plugins_base_libs_variables,
|
|
@@ -534,6 +539,7 @@ run_command(meson_pkg_config_file_fixup_script,
|
|
run_command(meson_pkg_config_file_fixup_script,
|
|
'gstreamer-plugins-base-1.0', 'libraries',
|
|
check: true)
|
|
+endif
|
|
|
|
if have_orcc
|
|
update_orc_dist_files = find_program('scripts/update-orc-dist-files.py')
|