2016-08-12 15:51:45 +00:00
|
|
|
bz2_sources = [
|
|
|
|
'gstbz2.c',
|
|
|
|
'gstbz2dec.c',
|
|
|
|
'gstbz2enc.c',
|
|
|
|
]
|
|
|
|
|
2018-07-27 13:29:23 +00:00
|
|
|
bz2_dep = cc.find_library('bz2', required : get_option('bz2'))
|
2016-08-12 15:51:45 +00:00
|
|
|
|
|
|
|
if bz2_dep.found() and cc.has_header_symbol('bzlib.h', 'BZ2_bzlibVersion')
|
|
|
|
gstbz2 = library('gstbz2',
|
|
|
|
bz2_sources,
|
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstvideo_dep, bz2_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstbz2, install_dir : plugins_pkgconfig_install_dir)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstbz2]
|
2016-08-12 15:51:45 +00:00
|
|
|
endif
|