gstreamer/subprojects/gst-plugins-bad/ext/gs/meson.build
Guillaume Desmottes 1f02f24828 gs: look for google_cloud_cpp_storage.pc
storage_client.pc was legacy and has been removed:
df6fa3611c (diff-bc35ad7c2fe631fd5578a06092412dba81c7ddd27bb25df7e17bb13771799afcL743)

No need to keep looking for storage_client.pc as a fallback as 1.25.0,
our minimum version, already ships google_cloud_cpp_storage.pc

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1815>
2022-03-01 08:10:39 +00:00

22 lines
578 B
Meson

gs_sources = [
'gstgscommon.cpp',
'gstgssink.cpp',
'gstgssrc.cpp',
'gstgs.cpp',
]
gs_dep = dependency('google_cloud_cpp_storage', version : '>= 1.25.0', required : get_option('gs'))
if gs_dep.found()
gstgs = library('gstgs',
gs_sources,
c_args : gst_plugins_bad_args,
cpp_args : gst_plugins_bad_args,
include_directories : [configinc, libsinc],
dependencies : [gstbase_dep, gs_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstgs, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstgs]
endif