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.

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.

Changes since v3:
- Define libswdri and libswkmsdri as empty lists if they're not going to
  be built, this allows them to be unconditionally included in the
  targets that want them
- Change the d3dadaptor and dri targets to take advantage of that change
- Make the media drivers take advantage of that change as well

Dylan Baker (12):
  meson: define empty variables for libswdri and libswkmsdri
  meson: add libswdri and libswkmsdri to link_with unconditionally
  meson: Unconditionally add libswdri and libswkmsdri to dri link_with
  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/                      | 12 ++++++++++--
 src/gallium/state_trackers/va/    |  6 +++---
 src/gallium/targets/d3dadapter9/  | 13 +++----------
 src/gallium/targets/dri/          | 11 ++---------
 src/gallium/targets/omx-bellagio/ | 12 +++++-------
 src/gallium/targets/va/           | 13 +++++--------
 src/gallium/targets/vdpau/        | 11 ++++++-----
 src/gallium/targets/xa/           | 11 ++++++-----
 src/gallium/targets/xvmc/         | 13 ++++++-------
 src/gallium/winsys/sw/dri/        |  2 +-
 src/gallium/winsys/sw/kms-dri/    |  3 +--
 13 files changed, 55 insertions(+), 69 deletions(-)

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

Reply via email to