mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 11:40:38 +00:00
beece4e778
commit e64c6f0b93
added usage of the SHOUT_USAGE_UNKNOWN symbol, but this
became available in the Icecast-libshout 2.4.3 release, not 2.4.2
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3048>
20 lines
589 B
Meson
20 lines
589 B
Meson
shout2_sources = ['gstshout2.c']
|
|
|
|
shout2_dep = dependency('shout', version : '>= 2.4.3', required : get_option('shout2'))
|
|
|
|
if shout2_dep.found()
|
|
shout2_extra_args = []
|
|
if shout2_dep.version().version_compare('>= 2.4.6')
|
|
shout2_extra_args += ['-DHAVE_SHOUT_2_4_6_OR_NEWER']
|
|
endif
|
|
|
|
gstshout2 = library('gstshout2',
|
|
shout2_sources,
|
|
c_args : gst_plugins_good_args + shout2_extra_args,
|
|
include_directories : [configinc, libsinc],
|
|
dependencies : [gstbase_dep, shout2_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstshout2]
|
|
endif
|