mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
meson: build modplug plugin
This commit is contained in:
parent
4130b08776
commit
cbf746782b
3 changed files with 19 additions and 1 deletions
|
@ -27,7 +27,7 @@ subdir('ladspa')
|
|||
subdir('libde265')
|
||||
subdir('libmms')
|
||||
subdir('lv2')
|
||||
#subdir('modplug')
|
||||
subdir('modplug')
|
||||
subdir('mpeg2enc')
|
||||
subdir('mplex')
|
||||
subdir('musepack')
|
||||
|
|
17
ext/modplug/meson.build
Normal file
17
ext/modplug/meson.build
Normal file
|
@ -0,0 +1,17 @@
|
|||
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')
|
||||
|
|
Loading…
Reference in a new issue