mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 05:46:36 +00:00
b004464ac6
They are part of gst_dep already and we have to make sure to always have gst_dep. The order in dependencies matters, because it is also the order in which Meson will set -I args. We want gstreamer's config.h to take precedence over glib's private config.h when it's a subproject. While at it, remove useless fallback args for gmodule/gio dependencies, only gstreamer core needs it. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2031>
22 lines
727 B
Meson
22 lines
727 B
Meson
libvisual_sources = [
|
|
'visual.c',
|
|
'plugin.c',
|
|
]
|
|
|
|
libvisual_dep = dependency('libvisual-0.4', version : '>= 0.4.0',
|
|
required : get_option('libvisual'))
|
|
if libvisual_dep.found()
|
|
core_conf.set_quoted('LIBVISUAL_PLUGINSBASEDIR',
|
|
libvisual_dep.get_variable('pluginsbasedir'))
|
|
|
|
gstlibvisual = library('gstlibvisual',
|
|
libvisual_sources,
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : [libvisual_dep, audio_dep, video_dep, pbutils_dep, gst_dep, gst_base_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstlibvisual, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstlibvisual]
|
|
endif
|