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'],
|
2023-04-28 15:06:24 +00:00
|
|
|
c_args : gst_plugins_good_args,
|
2016-08-12 15:55:34 +00:00
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstaudio_dep, amrnb_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_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)
|
2022-02-21 16:37:26 +00:00
|
|
|
|
|
|
|
env = environment()
|
|
|
|
env.prepend('GST_PRESET_PATH', meson.current_source_dir())
|
|
|
|
meson.add_devenv(env)
|
2016-08-12 15:55:34 +00:00
|
|
|
endif
|