mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: opencsg: Update to 1.8.2.
* gnu/packages/graphics.scm (opencsg): Update to 1.8.2. [build-system]: Switch to cmake build system. [arguments]<#:phases>[configure]: Remove replacement. [skip-example]: Delete phase. [check]: Delete phase. Change-Id: Iba5ee7f2d3a95b2df8226a5f4d42baa2806eec84 Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
This commit is contained in:
parent
3d70c680b6
commit
f0657cef97
1 changed files with 6 additions and 12 deletions
|
@ -2212,7 +2212,7 @@ and GPU architectures.")
|
||||||
(let ((dot-to-dash (lambda (c) (if (char=? c #\.) #\- c))))
|
(let ((dot-to-dash (lambda (c) (if (char=? c #\.) #\- c))))
|
||||||
(package
|
(package
|
||||||
(name "opencsg")
|
(name "opencsg")
|
||||||
(version "1.4.2")
|
(version "1.8.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -2224,18 +2224,12 @@ and GPU architectures.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"00m4vs6jn3scqczscc4591l1d6zg6anqp9v1ldf9ymf70rdyvm7m"))))
|
"0q19mswyjlampdssqgik4q7j08fbj0dhxdr9mzg0i7ma2b2rhdhw"))))
|
||||||
(build-system gnu-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases (modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
;; library has no tests
|
||||||
(replace 'configure
|
(delete 'check))))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
|
||||||
(substitute* "src/Makefile"
|
|
||||||
(("/usr/local") (assoc-ref outputs "out")))
|
|
||||||
#t))
|
|
||||||
(add-before 'build 'skip-example
|
|
||||||
(lambda _ (chdir "src") #t)))))
|
|
||||||
(inputs
|
(inputs
|
||||||
(list glew freeglut))
|
(list glew freeglut))
|
||||||
(synopsis "Library for rendering Constructive Solid Geometry (CSG)")
|
(synopsis "Library for rendering Constructive Solid Geometry (CSG)")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue