meson.build: blacklist only libva 0.99.0

This is the same fix we used in gstreaemr-vaapi to blacklist
the notoroious libva version 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=789744
This commit is contained in:
Sreerenj Balachandran 2017-11-01 10:32:55 -07:00
parent 13996d5244
commit ccedfe7472

View file

@ -60,7 +60,7 @@ if not get_option('disable_gst_omx')
endif endif
if not get_option('disable_gstreamer_vaapi') if not get_option('disable_gstreamer_vaapi')
if dependency('libva', version: ['>= 0.30.4', '< 0.99.0'], required : false).found() if dependency('libva', version: ['>= 0.30.4', '!= 0.99.0'], required : false).found()
subprojects += ['gstreamer-vaapi'] subprojects += ['gstreamer-vaapi']
else else
message('WARNING: not building gstreamer-vaapi module, missing libva') message('WARNING: not building gstreamer-vaapi module, missing libva')