2018-07-27 13:59:01 +00:00
|
|
|
amrnb_dep = dependency('opencore-amrnb', version : '>= 0.1.3', required : get_option('amrnb'))
|
2016-08-12 15:55:34 +00:00
|
|
|
|
|
|
|
if amrnb_dep.found()
|
|
|
|
amrnb = library('gstamrnb',
|
|
|
|
['amrnb.c', 'amrnbdec.c', 'amrnbenc.c'],
|
|
|
|
c_args : ugly_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstaudio_dep, amrnb_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:06:20 +00:00
|
|
|
pkgconfig.generate(amrnb, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:47:37 +00:00
|
|
|
plugins += [amrnb]
|
2016-12-16 19:52:00 +00:00
|
|
|
install_data(sources: 'GstAmrnbEnc.prs', install_dir: presetdir)
|
2016-08-12 15:55:34 +00:00
|
|
|
endif
|