mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
build: blacklist only libva 0.99.0
Intel's MSDK uses libva 0.99.0, meanwhile open source libva bumped its API version to 1.0.0. Thus we have to blacklist only the MSDK's libva (0.99.0) https://bugzilla.gnome.org/show_bug.cgi?id=784398
This commit is contained in:
parent
8a7354380c
commit
d8de185355
2 changed files with 3 additions and 2 deletions
|
@ -505,7 +505,7 @@ dnl -- VA-API --
|
|||
dnl ---------------------------------------------------------------------------
|
||||
|
||||
dnl Core API
|
||||
PKG_CHECK_MODULES([LIBVA], [libva >= $VAAPI_REQ libva < 0.99.0])
|
||||
PKG_CHECK_MODULES([LIBVA], [libva >= $VAAPI_REQ libva != 0.99.0])
|
||||
VA_VERSION_STR=`$PKG_CONFIG --modversion libva`
|
||||
VA_DRIVERS_PATH=`$PKG_CONFIG --variable=driverdir libva`
|
||||
AC_DEFINE_UNQUOTED([VA_DRIVERS_PATH], ["$VA_DRIVERS_PATH"],
|
||||
|
|
|
@ -15,6 +15,7 @@ else
|
|||
gst_version_nano = 0
|
||||
endif
|
||||
|
||||
libva_req = ['>= 0.30.4', '!= 0.99.0']
|
||||
glib_req = '>= 2.40.0'
|
||||
gst_req = '>= @0@.@1@.0'.format(gst_version_major, gst_version_minor)
|
||||
|
||||
|
@ -37,7 +38,7 @@ gstcodecparsers_dep = dependency('gstreamer-codecparsers-1.0', version : gst_req
|
|||
gstgl_dep = dependency('gstreamer-gl-1.0', version : gst_req,
|
||||
fallback : ['gst-plugins-bad', 'gstgl_dep'], required: false)
|
||||
gmodule_dep = dependency('gmodule-2.0', required: false)
|
||||
libva_dep = dependency('libva', version: ['>= 0.30.4', '< 0.99.0'])
|
||||
libva_dep = dependency('libva', version: libva_req)
|
||||
|
||||
libva_drm_dep = dependency('libva-drm', version: '>= 0.33.0', required: false)
|
||||
libva_wayland_dep = dependency('libva-wayland', version: '>= 0.33.0', required: false)
|
||||
|
|
Loading…
Reference in a new issue