meson: build ofa plugin

This commit is contained in:
Tim-Philipp Müller 2018-12-16 01:05:25 +00:00 committed by Sebastian Dröge
parent 7c69abd918
commit d7b7f2a9a5
3 changed files with 14 additions and 1 deletions

View file

@ -32,7 +32,7 @@ subdir('mpeg2enc')
subdir('mplex')
subdir('musepack')
subdir('neon')
#subdir('ofa')
subdir('ofa')
#subdir('openal')
subdir('opencv')
#subdir('openexr')

12
ext/ofa/meson.build Normal file
View file

@ -0,0 +1,12 @@
ofa_dep = dependency('libofa', version: '>= 0.9.3', required: get_option('ofa'))
if ofa_dep.found()
gstofa = library('gstofa', 'gstofa.c',
c_args: gst_plugins_bad_args,
include_directories: [configinc],
dependencies: [gstaudio_dep, ofa_dep],
install: true,
install_dir: plugins_install_dir,
)
pkgconfig.generate(gstofa, install_dir: plugins_pkgconfig_install_dir)
endif

View file

@ -116,6 +116,7 @@ option('musepack', type : 'feature', value : 'auto', description : 'libmpcdec Mu
option('neon', type : 'feature', value : 'auto', description : 'NEON HTTP source plugin')
option('nvdec', type : 'feature', value : 'auto', description : 'NVIDIA GPU decoder plugin')
option('nvenc', type : 'feature', value : 'auto', description : 'NVIDIA GPU encoder plugin')
option('ofa', type : 'feature', value : 'auto', description : 'Open Fingerprint Architecture library 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('opensles', type : 'feature', value : 'auto', description : 'OpenSL ES audio source/sink plugin')