--- /dev/null
+openmpt_dep = dependency('libopenmpt', required: get_option('openmpt'))
+if openmpt_dep.found()
+ gstopenmpt = library('gstopenmpt',
+ 'gstopenmptdec.c', 'plugin.c',
+ c_args: gst_plugins_bad_args,
+ include_directories: [configinc],
+ dependencies: [gstbadaudio_dep, gstaudio_dep, openmpt_dep],
+ install: true,
+ install_dir: plugins_install_dir,
+ )
+ pkgconfig.generate(gstopenmpt, install_dir: plugins_pkgconfig_install_dir)
+endif
option('openexr', type : 'feature', value : 'auto', description : 'OpenEXR plugin')
option('openh264', type : 'feature', value : 'auto', description : 'H.264 video codec plugin')
option('openjpeg', type : 'feature', value : 'auto', description : 'JPEG2000 image codec plugin')
+option('openmpt', type : 'feature', value : 'auto', description : 'OpenMPT module music library plugin')
option('opensles', type : 'feature', value : 'auto', description : 'OpenSL ES audio source/sink plugin')
option('opus', type : 'feature', value : 'auto', description : 'OPUS audio parser plugin')
option('resindvd', type : 'feature', value : 'auto', description : 'Resin DVD playback plugin')