mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 11:26:39 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
17 lines
471 B
Meson
17 lines
471 B
Meson
zxing_sources = [
|
|
'gstzxing.cpp',
|
|
'gstzxingplugin.c',
|
|
]
|
|
zxing_dep = dependency('zxing', version : '>= 1.1.1', 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'],
|
|
)
|
|
plugins += [gstzxing]
|
|
endif
|