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")) (lib (string-append out "/lib"))
(gtk (assoc-ref inputs "gtk+")) (gtk (assoc-ref inputs "gtk+"))
(gtk-share (string-append gtk "/share")) (gtk-share (string-append gtk "/share"))
(mesa (assoc-ref inputs "mesa"))
(mesa-lib (string-append mesa "/lib"))
(pulseaudio (assoc-ref inputs "pulseaudio")) (pulseaudio (assoc-ref inputs "pulseaudio"))
(pulseaudio-lib (string-append pulseaudio "/lib"))) (pulseaudio-lib (string-append pulseaudio "/lib")))
(wrap-program (car (find-files lib "^icecat$")) (wrap-program (car (find-files lib "^icecat$"))
`("XDG_DATA_DIRS" prefix (,gtk-share)) `("XDG_DATA_DIRS" prefix (,gtk-share))
`("LD_LIBRARY_PATH" prefix (,pulseaudio-lib))) `("LD_LIBRARY_PATH" prefix (,pulseaudio-lib ,mesa-lib)))
#t)))))) #t))))))
(home-page "https://www.gnu.org/software/gnuzilla/") (home-page "https://www.gnu.org/software/gnuzilla/")
(synopsis "Entirely free browser derived from Mozilla Firefox") (synopsis "Entirely free browser derived from Mozilla Firefox")