2018-07-25 02:05:28 +00:00
|
|
|
mpg123_dep = dependency('libmpg123', version : '>= 1.3', required : get_option('mpg123'))
|
2016-08-12 15:55:34 +00:00
|
|
|
|
|
|
|
if mpg123_dep.found()
|
|
|
|
gstmpg123 = library('gstmpg123',
|
2017-08-20 12:56:19 +00:00
|
|
|
'gstmpg123audiodec.c',
|
|
|
|
c_args : gst_plugins_good_args,
|
2016-08-12 15:55:34 +00:00
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstaudio_dep, mpg123_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:06:10 +00:00
|
|
|
pkgconfig.generate(gstmpg123, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:39:55 +00:00
|
|
|
plugins += [gstmpg123]
|
2016-08-12 15:55:34 +00:00
|
|
|
endif
|