• Haihao Xiang's avatar
    meson: build test-vaapicontext when using X11 · 81203a60
    Haihao Xiang authored
    x11_dep and libva_x11_dep are optional and meson ignores these
    dependencies even if they are added into the dependency list.
    
    This fixes the error below when libva-x11 is not avaiblabe:
    
    cc -Itests/elements/tests@elements@@test-vaapicontext@exe
    -Itests/elements -I../../gstreamer-vaapi/tests/elements -I.
    -I../../gstreamer-vaapi/ -Igst-libs -I../../gstreamer-vaapi/gst-libs
    -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
    -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/orc-0.4
    -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0
    -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include
    -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/
    -I/usr/include/libdrm -I/usr/include/harfbuzz -I/usr/include/pango-1.0
    -I/usr/include/fribidi -I/usr/include/atk-1.0 -I/usr/include/cairo
    -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2
    -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0
    -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall
    -Winvalid-pch -O2 -g -fvisibility=hidden -fno-strict-aliasing -pthread
    -DHAVE_CONFIG_H  -MD -MQ
    'tests/elements/tests@elements@@test-vaapicontext@exe/test-vaapicontext.c.o'
    -MF
    'tests/elements/tests@elements@@test-vaapicontext@exe/test-vaapicontext.c.o.d'
    -o
    'tests/elements/tests@elements@@test-vaapicontext@exe/test-vaapicontext.c.o'
    -c ../../gstreamer-vaapi/tests/elements/test-vaapicontext.c
    ../../gstreamer-vaapi/tests/elements/test-vaapicontext.c:29:10: fatal
    error: va/va_x11.h: No such file or directory
     #include <va/va_x11.h>
    81203a60
Name
Last commit
Last update
..
elements Loading commit data...
Makefile.am Loading commit data...
codec.c Loading commit data...
codec.h Loading commit data...
decoder.c Loading commit data...
decoder.h Loading commit data...
image.c Loading commit data...
image.h Loading commit data...
meson.build Loading commit data...
output.c Loading commit data...
output.h Loading commit data...
simple-decoder.c Loading commit data...
simple-encoder.c Loading commit data...
test-decode.c Loading commit data...
test-decode.h Loading commit data...
test-display.c Loading commit data...
test-fei-enc-in.c Loading commit data...
test-fei-enc-out.c Loading commit data...
test-filter.c Loading commit data...
test-h264.c Loading commit data...
test-h264.h Loading commit data...
test-jpeg.c Loading commit data...
test-jpeg.h Loading commit data...
test-mpeg2.c Loading commit data...
test-mpeg2.h Loading commit data...
test-mpeg4.c Loading commit data...
test-mpeg4.h Loading commit data...
test-subpicture-data.c Loading commit data...
test-subpicture-data.h Loading commit data...
test-subpicture.c Loading commit data...
test-surfaces.c Loading commit data...
test-textures.c Loading commit data...
test-vc1.c Loading commit data...
test-vc1.h Loading commit data...
test-windows.c Loading commit data...
y4mreader.c Loading commit data...
y4mreader.h Loading commit data...