dev-qt/qtwebengine: depend on vulkan-headers for vaapi in 6.6+

In QTBUG-115722, Qt opted to disable vaapi autodetection if
QT_FEATURE_vulkan is disabled due to missing headers, but can ignore
that and just pull the headers (not used without webengine_vulkan).

Ideally would just depend on vulkan-headers regardless of vaapi,
but it is not used in other parts of qtwebengine (it bundles like
3-4 different copies of vulkan-headers and for some reason wants
the system's here).

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2023-09-26 10:25:29 -04:00
parent 66d6c2654b
commit cf434f2ea1
2 changed files with 6 additions and 0 deletions
@@ -94,6 +94,9 @@ DEPEND="
test? (
widgets? ( app-text/poppler[cxx(+)] )
)
vaapi? (
vulkan? ( dev-util/vulkan-headers )
)
"
BDEPEND="
$(python_gen_any_dep 'dev-python/html5lib[${PYTHON_USEDEP}]')
@@ -94,6 +94,9 @@ DEPEND="
test? (
widgets? ( app-text/poppler[cxx(+)] )
)
vaapi? (
vulkan? ( dev-util/vulkan-headers )
)
"
BDEPEND="
$(python_gen_any_dep 'dev-python/html5lib[${PYTHON_USEDEP}]')