meson: enable bs2b compilation

Add meson build system support to bs2b plugin.

https://bugzilla.gnome.org/show_bug.cgi?id=794346
This commit is contained in:
Patrik Nilsson 2018-03-05 18:23:09 +01:00 committed by Nicolas Dufresne
parent 93e56ed473
commit 3fdcdf2705
2 changed files with 16 additions and 1 deletions

15
ext/bs2b/meson.build Normal file
View file

@ -0,0 +1,15 @@
bs2b_sources = [ 'gstbs2b.c', ]
bs2b_dep = dependency('libbs2b', version : '>=3.1.0', required : false)
if bs2b_dep.found()
gstbs2b = library('gstbs2b',
bs2b_sources,
c_args : gst_plugins_bad_args,
link_args : noseh_link_args,
include_directories : [configinc, libsinc],
dependencies : [gstaudio_dep, gstbase_dep, bs2b_dep],
install : true,
install_dir : plugins_install_dir,
)
endif

View file

@ -1,6 +1,6 @@
subdir('assrender')
subdir('aom')
#subdir('bs2b')
subdir('bs2b')
subdir('bz2')
subdir('chromaprint')
subdir('curl')