2016-08-12 15:42:30 +00:00
|
|
|
shout2_sources = ['gstshout2.c']
|
|
|
|
|
2022-05-23 19:23:38 +00:00
|
|
|
shout2_dep = dependency('shout', version : '>= 2.4.2', required : get_option('shout2'))
|
2016-08-12 15:42:30 +00:00
|
|
|
|
|
|
|
if shout2_dep.found()
|
2022-05-23 19:23:38 +00:00
|
|
|
shout2_extra_args = []
|
|
|
|
if shout2_dep.version().version_compare('>= 2.4.6')
|
|
|
|
shout2_extra_args += ['-DHAVE_SHOUT_2_4_6_OR_NEWER']
|
|
|
|
endif
|
|
|
|
|
2016-08-12 15:42:30 +00:00
|
|
|
gstshout2 = library('gstshout2',
|
|
|
|
shout2_sources,
|
2022-05-23 19:23:38 +00:00
|
|
|
c_args : gst_plugins_good_args + shout2_extra_args,
|
2016-08-12 15:42:30 +00:00
|
|
|
include_directories : [configinc, libsinc],
|
|
|
|
dependencies : [gstbase_dep, shout2_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:06:10 +00:00
|
|
|
pkgconfig.generate(gstshout2, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:39:55 +00:00
|
|
|
plugins += [gstshout2]
|
2016-08-12 15:42:30 +00:00
|
|
|
endif
|