Commit cbf74678 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠 Committed by Sebastian Dröge
Browse files

meson: build modplug plugin

parent 4130b087
......@@ -27,7 +27,7 @@ subdir('ladspa')
subdir('libde265')
subdir('libmms')
subdir('lv2')
#subdir('modplug')
subdir('modplug')
subdir('mpeg2enc')
subdir('mplex')
subdir('musepack')
......
if not add_languages('cpp', required: get_option('modplug'))
subdir_done()
endif
modplug_dep = dependency('libmodplug', required: get_option('modplug'))
if modplug_dep.found()
gstmodplug = library('gstmodplug',
'gstmodplug.cc',
cpp_args: gst_plugins_bad_args,
include_directories: [configinc],
dependencies: [gstaudio_dep, modplug_dep, libm],
install: true,
install_dir: plugins_install_dir,
)
pkgconfig.generate(gstmodplug, install_dir: plugins_pkgconfig_install_dir)
endif
......@@ -110,6 +110,7 @@ option('ladspa', type : 'feature', value : 'auto', description : 'LADSPA plugin
option('libde265', type : 'feature', value : 'auto', description : 'HEVC/H.265 video decoder plugin')
option('libmms', type : 'feature', value : 'auto', description : 'Microsoft multimedia server network source plugin')
option('lv2', type : 'feature', value : 'auto', description : 'LV2 audio plugin bridge')
option('modplug', type : 'feature', value : 'auto', description : 'ModPlug audio decoder plugin')
option('mpeg2enc', type : 'feature', value : 'auto', description : 'mpeg2enc video encoder plugin')
option('mplex', type : 'feature', value : 'auto', description : 'mplex audio/video multiplexer plugin')
option('msdk', type : 'feature', value : 'auto', description : 'Intel Media SDK video encoder/decoder plugin')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment