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],
|
|
|
|
dependencies : [glib_deps, 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 : [glib_deps, 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, glib_deps, gst_dep, video_dep],
|
|
|
|
install: false)
|
|
|
|
|
|
|
|
executable('stepping2', 'stepping2.c',
|
|
|
|
c_args : gst_plugins_base_args,
|
|
|
|
include_directories: [configinc, libsinc],
|
|
|
|
dependencies : [libm, glib_deps, gst_dep, video_dep],
|
|
|
|
install: false)
|