FS#76104 - [assimp] missing new build flag due to default change

Attached to Project: Arch Linux
Opened by Oliver Matthews (cwoac) - Monday, 03 October 2022, 12:02 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Sunday, 09 October 2022, 02:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Upstream changed the build to no longer compile the binary tools by default (see https://github.com/assimp/assimp/pull/4598).

This patch to pkgbuild restores them:

diff --git a/PKGBUILD b/PKGBUILD
index 8c73ba2..0e45455 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,7 +22,8 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DASSIMP_BUILD_SAMPLES=OFF \
- -DASSIMP_WARNINGS_AS_ERRORS=OFF
+ -DASSIMP_WARNINGS_AS_ERRORS=OFF \
+ -DASSIMP_BUILD_ASSIMP_TOOLS=ON
ninja -C build
}
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Sunday, 09 October 2022, 02:59 GMT
Reason for closing:  Fixed

Loading...