1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: opencascade-occt: Add RapidJson and Draco support.

* gnu/packages/maths.scm (opencascade-occt)[inputs]: Add draco and
rapidjson.
[arguments]<#:configure-flags>: Enable Draco (for mesh-compression)
and RapidJson (for the glTF writer).

Change-Id: Id09f31e3be9798c77380ec0958eb8f9fe6d7b71b
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
Peter Polidoro
2026-02-01 14:50:18 -05:00
committed by Andreas Enge
parent 825a1c0251
commit c7fe80064f

View File

@@ -73,6 +73,7 @@
;;; Copyright © 2025 nomike Postmann <nomike@nomike.com>
;;; Copyright © 2025 Reza Housseini <reza@housseini.me>
;;; Copyright © 2026 Cayetano Santos <csantosb@inventati.org>
;;; Copyright © 2026 Peter Polidoro <peter@polidoro.io>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -3546,7 +3547,9 @@ script files.")
#:tests? #f
#:configure-flags
#~(list "-DCMAKE_CXX_FLAGS=-fpermissive" ;from unsigned char* to char*
"-DUSE_DRACO:BOOL=ON"
"-DUSE_FREEIMAGE:BOOL=ON"
"-DUSE_RAPIDJSON:BOOL=ON"
"-DUSE_TBB:BOOL=ON"
"-DUSE_VTK:BOOL=OFF"
"-DBUILD_DOC_Overview:BOOL=OFF"
@@ -3555,7 +3558,8 @@ script files.")
"-UCMAKE_INSTALL_LIBDIR")))
(native-inputs (list doxygen fontconfig))
(inputs
(list freetype
(list draco
freetype
freeimage
glu
libxext
@@ -3563,6 +3567,7 @@ script files.")
libxmu
mesa
onetbb
rapidjson
tcl
tk))
;; TODO: build Overview documentation and add 'doc' output.