mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
meson: build examples
https://bugzilla.gnome.org/show_bug.cgi?id=784134
This commit is contained in:
parent
4e2095bd5e
commit
9f678898f8
11 changed files with 94 additions and 1 deletions
12
tests/examples/audiofx/meson.build
Normal file
12
tests/examples/audiofx/meson.build
Normal file
|
@ -0,0 +1,12 @@
|
|||
executable('firfilter-example', 'firfilter-example.c',
|
||||
dependencies: [gstfft_dep, gst_dep, libm],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
||||
|
||||
executable('iirfilter-example', 'iirfilter-example.c',
|
||||
dependencies: [gst_dep, libm],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
||||
|
7
tests/examples/cairo/meson.build
Normal file
7
tests/examples/cairo/meson.build
Normal file
|
@ -0,0 +1,7 @@
|
|||
if cairo_dep.found()
|
||||
executable('cairo_overlay', 'cairo_overlay.c',
|
||||
dependencies: [gstvideo_dep, gst_dep, cairo_dep, libm],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
||||
endif
|
6
tests/examples/equalizer/meson.build
Normal file
6
tests/examples/equalizer/meson.build
Normal file
|
@ -0,0 +1,6 @@
|
|||
executable('equalizer-demo', 'demo.c',
|
||||
dependencies: [gst_dep, gtk_dep],
|
||||
c_args: gst_plugins_good_args,
|
||||
include_directories: [configinc],
|
||||
install: false)
|
||||
|
7
tests/examples/jack/meson.build
Normal file
7
tests/examples/jack/meson.build
Normal file
|
@ -0,0 +1,7 @@
|
|||
if libjack_dep.found()
|
||||
executable('jack_client', 'jack_client.c',
|
||||
dependencies: [gst_dep, gtk_dep, libjack_dep],
|
||||
c_args: gst_plugins_good_args,
|
||||
include_directories: [configinc],
|
||||
install: false)
|
||||
endif
|
5
tests/examples/level/meson.build
Normal file
5
tests/examples/level/meson.build
Normal file
|
@ -0,0 +1,5 @@
|
|||
executable('level-example', 'level-example.c',
|
||||
dependencies: [gst_dep, libm],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
13
tests/examples/meson.build
Normal file
13
tests/examples/meson.build
Normal file
|
@ -0,0 +1,13 @@
|
|||
subdir('audiofx')
|
||||
subdir('cairo')
|
||||
subdir('level')
|
||||
subdir('rtp')
|
||||
subdir('shapewipe')
|
||||
subdir('v4l2')
|
||||
|
||||
if gtk_dep.found()
|
||||
subdir('equalizer')
|
||||
subdir('jack')
|
||||
subdir('spectrum')
|
||||
endif
|
||||
|
16
tests/examples/rtp/meson.build
Normal file
16
tests/examples/rtp/meson.build
Normal file
|
@ -0,0 +1,16 @@
|
|||
rtp_progs = [
|
||||
'server-alsasrc-PCMA',
|
||||
'client-PCMA',
|
||||
'client-rtpaux',
|
||||
'server-rtpaux',
|
||||
'client-rtpbundle',
|
||||
'server-rtpbundle',
|
||||
]
|
||||
|
||||
foreach prog : rtp_progs
|
||||
executable(prog, prog + '.c',
|
||||
dependencies: [gstrtp_dep, gst_dep, libm],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
||||
endforeach
|
5
tests/examples/shapewipe/meson.build
Normal file
5
tests/examples/shapewipe/meson.build
Normal file
|
@ -0,0 +1,5 @@
|
|||
executable('shapewipe-example', 'shapewipe-example.c',
|
||||
dependencies: [gstcontroller_dep, gst_dep],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
17
tests/examples/spectrum/meson.build
Normal file
17
tests/examples/spectrum/meson.build
Normal file
|
@ -0,0 +1,17 @@
|
|||
executable('demo-audiotest', 'demo-audiotest.c',
|
||||
dependencies: [gstfft_dep, gst_dep, gtk_dep],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
||||
|
||||
executable('demo-osssrc', 'demo-osssrc.c',
|
||||
dependencies: [gst_dep, gtk_dep],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
||||
|
||||
executable('spectrum-example', 'spectrum-example.c',
|
||||
dependencies: [gst_dep, gtk_dep],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
5
tests/examples/v4l2/meson.build
Normal file
5
tests/examples/v4l2/meson.build
Normal file
|
@ -0,0 +1,5 @@
|
|||
executable('camctrl', 'camctrl.c',
|
||||
dependencies: [gstcontroller_dep, gst_dep],
|
||||
c_args : gst_plugins_good_args,
|
||||
include_directories : [configinc],
|
||||
install: false)
|
|
@ -4,4 +4,4 @@ subdir('check')
|
|||
endif
|
||||
|
||||
subdir('icles')
|
||||
# TODO: Implement examples etc
|
||||
subdir('examples')
|
||||
|
|
Loading…
Reference in a new issue