gstreamer/subprojects/gst-plugins-base/gst/tcp/meson.build
Xavier Claessens b004464ac6 Remove glib and gobject dependencies everywhere
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>
2022-04-01 16:32:17 +00:00

27 lines
656 B
Meson

tcp_sources = [
'gstmultihandlesink.c',
'gstmultisocketsink.c',
'gstsocketsrc.c',
'gsttcpclientsrc.c',
'gsttcpclientsink.c',
'gsttcpelements.c',
'gsttcpserversrc.c',
'gsttcpserversink.c',
'gsttcpsrcstats.c',
'gsttcpplugin.c',
]
if core_conf.has('HAVE_SYS_SOCKET_H')
tcp_sources += 'gstmultifdsink.c'
endif
gsttcp = library('gsttcp',
tcp_sources,
c_args : gst_plugins_base_args,
include_directories: [configinc, libsinc],
dependencies : [gst_base_dep, gst_net_dep, gio_dep],
install : true,
install_dir : plugins_install_dir,
)
pkgconfig.generate(gsttcp, install_dir : plugins_pkgconfig_install_dir)
plugins += [gsttcp]