mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
e774d1ca4b
instead of calling pkg-config ourselves.
19 lines
596 B
Meson
19 lines
596 B
Meson
libvisual_sources = [
|
|
'visual.c',
|
|
'plugin.c',
|
|
]
|
|
|
|
libvisual_dep = dependency('libvisual-0.4', version : '>= 0.4.0', required : false)
|
|
if libvisual_dep.found()
|
|
core_conf.set_quoted('LIBVISUAL_PLUGINSBASEDIR',
|
|
libvisual_dep.get_pkgconfig_variable('pluginsbasedir'))
|
|
|
|
gstlibvisual = library('gstlibvisual',
|
|
libvisual_sources,
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : glib_deps + [libvisual_dep, audio_dep, video_dep, pbutils_dep, gst_dep, gst_base_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
endif
|