mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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>
26 lines
680 B
Meson
26 lines
680 B
Meson
if get_option('ipcpipeline').disabled()
|
|
subdir_done()
|
|
endif
|
|
|
|
build_ipcpipeline_example = cc.has_header('sys/socket.h')
|
|
foreach f : ['kill', 'socketpair', 'fcntl', 'fork']
|
|
if build_ipcpipeline_example
|
|
build_ipcpipeline_example = cc.has_function(f)
|
|
endif
|
|
endforeach
|
|
|
|
if not build_ipcpipeline_example
|
|
subdir_done()
|
|
endif
|
|
|
|
executable('ipcpipeline1', 'ipcpipeline1.c',
|
|
include_directories: [configinc],
|
|
dependencies: [gst_dep, gstbase_dep],
|
|
c_args: gst_plugins_bad_args,
|
|
install: false)
|
|
|
|
executable('ipc-play', 'ipc-play.c',
|
|
include_directories: [configinc],
|
|
dependencies: [gst_dep, gstbase_dep, gstvideo_dep],
|
|
c_args: gst_plugins_bad_args,
|
|
install: false)
|