File QtWebEngine_6.8_skip_xnnpack.patch of Package qt6-webengine

Don't use xnnpack on ARM with QtWebEngine 6.8.0

Bug ref: https://bugreports.qt.io/browse/QTBUG-129985

diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 9b9be814d..7f76ec696 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -566,6 +566,10 @@ foreach(arch ${archs})
                     list(APPEND gnArgArg libyuv_use_sve=false)
                 endif()
             endif()
+            if(cpu MATCHES "arm.*")
+                # https://bugreports.qt.io/browse/QTBUG-129985
+                list(APPEND gnArgArg build_webnn_with_xnnpack=false)
+            endif()
             unset(cpu)
         endif()
 
openSUSE Build Service is sponsored by