mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 10:31:05 +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>
39 lines
1.2 KiB
Meson
39 lines
1.2 KiB
Meson
if gtk_x11_dep.found()
|
|
if cc.compiles('''
|
|
#include <linux/input.h>
|
|
#include <linux/joystick.h>
|
|
void foo (void) {
|
|
struct js_event js;
|
|
js.type = JS_EVENT_AXIS;
|
|
}''', name : 'Linux joystick headers needed by jseek example')
|
|
executable('jsseek', 'jsseek.c',
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : [gst_dep, video_dep, libm, gtk_dep],
|
|
install: false)
|
|
endif
|
|
executable('scrubby', 'scrubby.c',
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : [gst_dep, video_dep, libm, gtk_dep],
|
|
install: false)
|
|
endif
|
|
|
|
executable('stepping', 'stepping.c',
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : [libm, gst_dep, video_dep],
|
|
install: false)
|
|
|
|
executable('stepping2', 'stepping2.c',
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : [libm, gst_dep, video_dep],
|
|
install: false)
|
|
|
|
executable('instant-rate-change', 'instant-rate-change.c',
|
|
c_args : gst_plugins_base_args,
|
|
include_directories: [configinc, libsinc],
|
|
dependencies : [libm, gst_dep, video_dep],
|
|
install: false)
|
|
|