gnu: coin3d: Use G-Expressions.

* gnu/packages/graphics.scm (coin3d) <source>, <arguments>: Use
G-Expressions.

Change-Id: I79a77bda6fc919d9c3b80e77e38855824e81f6e6
Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
Jean-Pierre De Jesus DIAZ 2024-04-09 12:22:35 +02:00 committed by Christopher Baines
parent f2c5482af4
commit 94fa92cc8e
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577

View File

@ -1967,7 +1967,7 @@ or by subtracting one shape from the other.")
(base32 "1ayg0hl8wanhadahm5xbghghxw1qjwqbrs3dl3ngnff027hsyf8p")) (base32 "1ayg0hl8wanhadahm5xbghghxw1qjwqbrs3dl3ngnff027hsyf8p"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin #~(begin
;; Delete binaries ;; Delete binaries
(for-each delete-file (for-each delete-file
'("cfg/csubst.exe" '("cfg/csubst.exe"
@ -1976,19 +1976,17 @@ or by subtracting one shape from the other.")
;; fails with "add_subdirectory given source "cpack.d" which is not ;; fails with "add_subdirectory given source "cpack.d" which is not
;; an existing directory." ;; an existing directory."
(substitute* "CMakeLists.txt" (substitute* "CMakeLists.txt"
((".*cpack.d.*") "")) ((".*cpack.d.*") ""))))))
#t))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments
(list #:configure-flags
#~(list "-DCOIN_BUILD_DOCUMENTATION_MAN=ON"
(string-append "-DBOOST_ROOT="
#$(this-package-input "boost")))))
(native-inputs (native-inputs
(list doxygen graphviz)) (list doxygen graphviz))
(inputs (inputs
(list boost freeglut glew)) (list boost freeglut glew))
(arguments
`(#:configure-flags
(list
"-DCOIN_BUILD_DOCUMENTATION_MAN=ON"
(string-append "-DBOOST_ROOT="
(assoc-ref %build-inputs "boost")))))
(home-page "https://github.com/coin3d/coin") (home-page "https://github.com/coin3d/coin")
(synopsis (synopsis
"High-level 3D visualization library with Open Inventor 2.1 API") "High-level 3D visualization library with Open Inventor 2.1 API")