2020-07-09 16:37:55 +00:00
|
|
|
qrencode_dep = dependency('libqrencode', required: get_option('qroverlay'))
|
2020-07-09 18:14:45 +00:00
|
|
|
json_dep = dependency('json-glib-1.0', fallback : ['json-glib', 'json_glib_dep'])
|
2020-07-09 16:37:55 +00:00
|
|
|
if qrencode_dep.found()
|
2020-07-12 04:03:04 +00:00
|
|
|
gstqroverlay = library('gstqroverlay', ['gstqroverlay.c', 'gstdebugqroverlay.c', 'gstbaseqroverlay.c'],
|
2020-07-09 16:37:55 +00:00
|
|
|
c_args : gst_plugins_bad_args,
|
|
|
|
include_directories : [configinc],
|
2020-07-12 00:42:51 +00:00
|
|
|
dependencies : [gstvideo_dep, qrencode_dep, json_dep],
|
2020-07-09 16:37:55 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
|
|
|
pkgconfig.generate(gstqroverlay, install_dir : plugins_pkgconfig_install_dir)
|
|
|
|
plugins += [gstqroverlay]
|
|
|
|
endif
|
|
|
|
|