mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 11:26:39 +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>
40 lines
982 B
Meson
40 lines
982 B
Meson
examples = [
|
|
'test-appsrc',
|
|
'test-appsrc2',
|
|
'test-auth',
|
|
'test-auth-digest',
|
|
'test-launch',
|
|
'test-mp4',
|
|
'test-multicast2',
|
|
'test-multicast',
|
|
'test-netclock',
|
|
'test-netclock-client',
|
|
'test-ogg',
|
|
'test-onvif-client',
|
|
'test-onvif-server',
|
|
'test-readme',
|
|
'test-record-auth',
|
|
'test-record',
|
|
'test-replay-server',
|
|
'test-sdp',
|
|
'test-uri',
|
|
'test-video',
|
|
'test-video-rtx',
|
|
]
|
|
|
|
foreach example : examples
|
|
executable(example, '@0@.c'.format(example),
|
|
c_args : rtspserver_args,
|
|
include_directories : rtspserver_incs,
|
|
dependencies : [gst_dep, gstapp_dep, gstnet_dep, gst_rtsp_server_dep],
|
|
install: false)
|
|
endforeach
|
|
|
|
cgroup_dep = dependency('libcgroup', version : '>= 0.26', required : false)
|
|
if cgroup_dep.found()
|
|
executable('test-cgroups', 'test-cgroups.c',
|
|
c_args : rtspserver_args,
|
|
include_directories : rtspserver_incs,
|
|
dependencies : [gst_dep, gstnet_dep, gst_rtsp_server_dep, cgroup_dep],
|
|
install: false)
|
|
endif
|