gentoo/dev-qt/qtquick3d/files/qtquick3d-6.11.0-assimp6.patch
Ionen Wolkens 420f0bf6d3
dev-qt/qtquick3d: update assimp6 patch in live
Unfortunately not fixed, it only added extra line wrapping
that make the patch files.

Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
2025-12-13 19:22:36 -05:00

16 lines
712 B
Diff

Seems that the '5' enforces the major version and it refuses to find
system's assimp-6.0.2 (which is perfectly usable given Qt 6.9.2 bundles
that version without it).
We don't package older ones, so drop the check as a quick workaround.
https://bugreports.qt.io/browse/QTBUG-137996
--- a/src/plugins/assetimporters/configure.cmake
+++ b/src/plugins/assetimporters/configure.cmake
@@ -16 +16 @@
-qt_find_package(WrapQuick3DAssimp 5.1.6 PROVIDED_TARGETS WrapQuick3DAssimp::WrapQuick3DAssimp
+qt_find_package(WrapQuick3DAssimp PROVIDED_TARGETS WrapQuick3DAssimp::WrapQuick3DAssimp
@@ -43 +43 @@
- PACKAGES PACKAGE WrapQuick3DAssimp 5.1.6)
+ PACKAGES PACKAGE WrapQuick3DAssimp)