meson: Use feature for GStreamer and make it auto

Bumping version dependency of meson

Fix minor new warning in meson
This commit is contained in:
Thibault Saunier 2018-10-29 13:27:24 +00:00 committed by Wim Taymans
parent 8693e416bc
commit 795b352cba
4 changed files with 24 additions and 16 deletions

View file

@ -13,12 +13,11 @@ pipewire_c_args = [
'-DG_LOG_DOMAIN=g_log_domain_pipewire',
]
conf_config = configuration_data()
conf_install_dir = join_paths(get_option('sysconfdir'), 'pipewire')
configure_file(input : 'pipewire.conf.in',
output : 'pipewire.conf',
configuration : conf_config,
copy : true,
install_dir : conf_install_dir)

View file

@ -6,6 +6,6 @@ subdir('tools')
subdir('modules')
subdir('examples')
if get_option('gstreamer')
if build_gst
subdir('gst')
endif