summaryrefslogtreecommitdiff
path: root/subprojects/gstreamer-vaapi/tests/examples/meson.build
blob: e7b1dee58cbb1d8d6b9cde9b8bfbea40597d98d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
examples = [
  'test-vaapisink',
  'test-vaapipostproc',
  'test-roi',
]

foreach example : examples
  executable(example, '@0@.c'.format(example),
    c_args : gstreamer_vaapi_args,
    include_directories: [configinc, libsinc],
    dependencies : [gst_dep, gstvideo_dep],
    install: false)
endforeach

if USE_X11 and USE_WAYLAND
if gtk_dep.found()
  executable('test-vaapicontext', 'test-vaapicontext.c',
    c_args : gstreamer_vaapi_args,
    include_directories: [configinc, libsinc],
    dependencies : [ gst_dep,
                     gstvideo_dep,
                     libva_dep,
                     x11_dep,
                     gtk_dep,
                     libva_wayland_dep,
                     libva_x11_dep ],
    install: false)
endif
endif