mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
6a4425e46a
Removing some copy pasted code Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2970>
27 lines
667 B
Meson
27 lines
667 B
Meson
aes_sources = [
|
|
'gstaes.c',
|
|
'gstaeshelper.c',
|
|
'gstaesenc.c',
|
|
'gstaesdec.c',
|
|
]
|
|
|
|
aes_cargs = []
|
|
aes_dep = dependency('openssl', version : '>= 1.1.0', required : get_option('aes'))
|
|
if aes_dep.found()
|
|
aes_cargs += ['-DHAVE_OPENSSL']
|
|
else
|
|
subdir_done()
|
|
endif
|
|
|
|
gstaes = library('gstaes',
|
|
aes_sources,
|
|
c_args : gst_plugins_bad_args + aes_cargs,
|
|
link_args : noseh_link_args,
|
|
include_directories : [configinc],
|
|
dependencies : [gstpbutils_dep, gstvideo_dep,
|
|
aes_dep, gio_dep, libm],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
plugins += [gstaes]
|
|
aes_dep = declare_dependency(include_directories : include_directories('.'))
|