gnu: icecat: Fix WebGL support.

* gnu/packages/gnuzilla.scm (icecat): Wrap mesa.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
Ekaitz Zarraga 2020-06-11 22:33:49 +02:00 committed by Julien Lepiller
parent 8a02e45d93
commit 9c6ea3cb56
No known key found for this signature in database
GPG key ID: 53D457B2D636EE82

View file

@ -1112,11 +1112,13 @@ (define-public icecat
(lib (string-append out "/lib"))
(gtk (assoc-ref inputs "gtk+"))
(gtk-share (string-append gtk "/share"))
(mesa (assoc-ref inputs "mesa"))
(mesa-lib (string-append mesa "/lib"))
(pulseaudio (assoc-ref inputs "pulseaudio"))
(pulseaudio-lib (string-append pulseaudio "/lib")))
(wrap-program (car (find-files lib "^icecat$"))
`("XDG_DATA_DIRS" prefix (,gtk-share))
`("LD_LIBRARY_PATH" prefix (,pulseaudio-lib)))
`("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib)))
#t))))))
(home-page "https://www.gnu.org/software/gnuzilla/")
(synopsis "Entirely free browser derived from Mozilla Firefox")