2016-08-27 10:22:11 +00:00
|
|
|
if gtk_x11_dep.found()
|
|
|
|
if cc.compiles('''
|
|
|
|
#include <linux/input.h>
|
|
|
|
#include <linux/joystick.h>
|
2016-09-04 20:41:04 +00:00
|
|
|
void foo (void) {
|
|
|
|
struct js_event js;
|
|
|
|
js.type = JS_EVENT_AXIS;
|
|
|
|
}''', name : 'Linux joystick headers needed by jseek example')
|
2016-08-27 10:22:11 +00:00
|
|
|
executable('jsseek', 'jsseek.c',
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [gst_dep, video_dep, libm, gtk_dep],
|
2016-08-27 10:22:11 +00:00
|
|
|
install: false)
|
|
|
|
endif
|
|
|
|
executable('scrubby', 'scrubby.c',
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [gst_dep, video_dep, libm, gtk_dep],
|
2016-08-27 10:22:11 +00:00
|
|
|
install: false)
|
|
|
|
endif
|
|
|
|
|
|
|
|
executable('stepping', 'stepping.c',
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [libm, gst_dep, video_dep],
|
2016-08-27 10:22:11 +00:00
|
|
|
install: false)
|
|
|
|
|
|
|
|
executable('stepping2', 'stepping2.c',
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [libm, gst_dep, video_dep],
|
2016-08-27 10:22:11 +00:00
|
|
|
install: false)
|
2018-08-17 17:37:09 +00:00
|
|
|
|
|
|
|
executable('instant-rate-change', 'instant-rate-change.c',
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
2022-03-25 19:00:20 +00:00
|
|
|
dependencies : [libm, gst_dep, video_dep],
|
2018-08-17 17:37:09 +00:00
|
|
|
install: false)
|
|
|
|
|