mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-27 23:02:16 -05:00
gnu: Add guile3.0-opengl.
* gnu/packages/gl.scm (guile3.0-opengl): New variable.
This commit is contained in:
parent
59d10c3112
commit
ad1edd03ad
1 changed files with 21 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
|
;;; Copyright © 2014, 2016 David Thompson <davet@gnu.org>
|
||||||
;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2014, 2015, 2016, 2017 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2016 ng0 <ng0@n0.is>
|
;;; Copyright © 2016 ng0 <ng0@n0.is>
|
||||||
;;; Copyright © 2016, 2017, 2018 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2016, 2017, 2018, 2020 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2016 David Thompson <davet@gnu.org>
|
;;; Copyright © 2016 David Thompson <davet@gnu.org>
|
||||||
;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2017, 2018, 2019 Efraim Flashner <efraim@flashner.co.il>
|
||||||
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
|
;;; Copyright © 2017 Arun Isaac <arunisaac@systemreboot.net>
|
||||||
|
@ -603,6 +603,26 @@ (define (dynamic-link-substitute file lib input)
|
||||||
OpenGL graphics API.")
|
OpenGL graphics API.")
|
||||||
(license license:lgpl3+)))
|
(license license:lgpl3+)))
|
||||||
|
|
||||||
|
(define-public guile3.0-opengl
|
||||||
|
(package
|
||||||
|
(inherit guile-opengl)
|
||||||
|
(name "guile3.0-opengl")
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments guile-opengl)
|
||||||
|
((#:phases phases)
|
||||||
|
`(modify-phases ,phases
|
||||||
|
(add-after 'unpack 'build-with-guile-3.0
|
||||||
|
(lambda _
|
||||||
|
(substitute* "configure"
|
||||||
|
(("_guile_versions_to_search=\"")
|
||||||
|
"_guile_versions_to_search=\"3.0 "))
|
||||||
|
#t))))))
|
||||||
|
(inputs
|
||||||
|
`(("guile" ,guile-3.0)
|
||||||
|
("mesa" ,mesa)
|
||||||
|
("glu" ,glu)
|
||||||
|
("freeglut" ,freeglut)))))
|
||||||
|
|
||||||
(define-public libepoxy
|
(define-public libepoxy
|
||||||
(package
|
(package
|
||||||
(name "libepoxy")
|
(name "libepoxy")
|
||||||
|
|
Loading…
Reference in a new issue