mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
gnu: inspekt3d: Adjust to changes in libfive.
* gnu/packages/engineering.scm (inspekt3d)[arguments]: Use G-expression; patch file to avoid loading removed extension; adjust name of libfive library.
This commit is contained in:
parent
2d4888b791
commit
e2c1506e86
1 changed files with 11 additions and 10 deletions
|
@ -975,16 +975,17 @@ (define-public inspekt3d
|
|||
(("2\\.2") "3.0 2.2")))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-libfive-guile-location
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(substitute* "inspekt3d/library.scm"
|
||||
(("\"libfive-guile")
|
||||
(string-append "\""
|
||||
(assoc-ref inputs "libfive")
|
||||
"/lib/libfive-guile")))
|
||||
#t)))))
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-libfive-guile-location
|
||||
(lambda _
|
||||
(substitute* "inspekt3d/library.scm"
|
||||
(("\\(load-extension \"libfive-guile\" \"scm_init_libfive_modules\"\\)") "#t")
|
||||
(("\"libfive-guile")
|
||||
(string-append "\""
|
||||
#$(this-package-input "libfive")
|
||||
"/lib/libfive-stdlib"))))))))
|
||||
(native-inputs
|
||||
(list autoconf automake pkg-config))
|
||||
(inputs
|
||||
|
|
Loading…
Reference in a new issue