mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
e8fb7fc046
Status: - scan QR code with low resolution - Scan barcode with high resolution
18 lines
544 B
Meson
18 lines
544 B
Meson
zxing_sources = [
|
|
'gstzxing.cpp',
|
|
'gstzxingplugin.c',
|
|
]
|
|
zxing_dep = dependency('zxing', version : '>= 0.9', required : get_option('zxing'))
|
|
if zxing_dep.found()
|
|
gstzxing = library('gstzxing',
|
|
zxing_sources,
|
|
c_args : gst_plugins_bad_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstvideo_dep, zxing_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
override_options : ['cpp_std=c++11'],
|
|
)
|
|
pkgconfig.generate(gstzxing, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstzxing]
|
|
endif
|