The linkage of all of the gallium media targets is broken in various
ways in the meson build. This series should correct that by doing more
what the autotools build does.

You may note in the last 5 patches the addition of libswdri and
libswkmsdri, these are needed because we're now linking the whole state
tracker and the symbols in those libraries would otherwise be unresolved. In
this case as-needed and gc-sections were hiding this.

Changes since v2:
- Add patch to fix va-api version checking
- link xcb libs into vlwinsys instead of into each media state
- Split the remaining bits into patches that fix one problem.

Dylan Baker (9):
  meson: use va-api version reported by pkg-config
  meson: link dri3 xcb libs into vlwinsys instead of into each target
  meson: actually link with libomxil-bellagio
  meson: Actually link xvmc target with libxvmc
  meson: fix vdpau target linkage
  meson: fix va target linkage
  meson: Fix omx-bellagio target linkage
  meson: Fix xa target linkage
  meson: fix xvmc target linkage                                  | 10 +---------
 src/gallium/auxiliary/            |  7 ++++++-
 src/gallium/state_trackers/va/    |  6 +++---
 src/gallium/targets/omx-bellagio/ | 18 ++++++++++++------
 src/gallium/targets/va/           | 17 +++++++++++------
 src/gallium/targets/vdpau/        | 16 ++++++++++++----
 src/gallium/targets/xa/           | 16 ++++++++++++----
 src/gallium/targets/xvmc/         | 18 ++++++++++++------
 8 files changed, 69 insertions(+), 39 deletions(-)

base-commit: d7235ef83b92175537e3b538634ffcff29bf0dce
git-series 0.9.1
mesa-dev mailing list

Reply via email to