Nirbheek Chauhan c8db7a9127 ipcpipeline: Rework compiler checks
`pipe()` isn't used since 15927b6511bc8304ae144a45c9fbfca88e5dd641,
and `socketpair()` from `#include <sys/socket.h>` is used only in the
examples. In practice, you can use probably also use anything that
allows you to create fd pairs, such as named pipes or anonymous pipes.

We use the cross-platform GstPollFD API in the plugin.
2020-01-14 09:23:02 +05:30

23 lines
548 B
Meson

ipcpipeline_sources = [
'gstipcpipeline.c',
'gstipcpipelinecomm.c',
'gstipcpipelinesink.c',
'gstipcpipelinesrc.c',
'gstipcslavepipeline.c'
]
if get_option('ipcpipeline').disabled()
subdir_done()
endif
gstipcpipeline = library('gstipcpipeline',
ipcpipeline_sources,
c_args : gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstbase_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gstipcpipeline, install_dir : plugins_pkgconfig_install_dir)
plugins += [gstipcpipeline]