1openmpt_dep = dependency('libopenmpt', required: get_option('openmpt')) 2if openmpt_dep.found() 3 gstopenmpt = library('gstopenmpt', 4 'gstopenmptdec.c', 'plugin.c', 5 c_args: gst_plugins_bad_args, 6 include_directories: [configinc], 7 dependencies: [gstbadaudio_dep, gstaudio_dep, openmpt_dep], 8 install: true, 9 install_dir: plugins_install_dir, 10 ) 11 pkgconfig.generate(gstopenmpt, install_dir: plugins_pkgconfig_install_dir) 12 plugins += [gstopenmpt] 13endif 14