mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2025-01-11 00:13:17 +01:00
nongnu: firefox: Enable the integration with native notifications.
* nongnu/packages/mozilla.scm (firefox)[input]: Add libnotify. [arguments]<phases>: Add libnotify to LD_LIBRARY_PATH in 'wrap-program'. (firefox-wayland): Dito. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
60b295ce15
commit
d97af23faf
1 changed files with 11 additions and 5 deletions
|
@ -278,10 +278,13 @@
|
|||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(lib (string-append out "/lib"))
|
||||
(ld-libs (map (lambda (x)
|
||||
(string-append (assoc-ref inputs x)
|
||||
"/lib"))
|
||||
'("pulseaudio" "mesa")))
|
||||
(ld-libs
|
||||
(map (lambda (x)
|
||||
(string-append (assoc-ref inputs x)
|
||||
"/lib"))
|
||||
'("pulseaudio" "mesa"
|
||||
;; For the integration of native notifications
|
||||
"libnotify")))
|
||||
(gtk-share (string-append (assoc-ref inputs "gtk+")
|
||||
"/share")))
|
||||
(wrap-program (car (find-files lib "^firefox$"))
|
||||
|
@ -347,6 +350,7 @@
|
|||
("libffi" ,libffi)
|
||||
("libgnome" ,libgnome)
|
||||
("libjpeg-turbo" ,libjpeg-turbo)
|
||||
("libnotify" ,libnotify)
|
||||
;; ("libpng-apng" ,libpng-apng)
|
||||
("libvpx" ,libvpx)
|
||||
("libxcomposite" ,libxcomposite)
|
||||
|
@ -407,7 +411,9 @@ the official icon and the name \"firefox\".")
|
|||
(ld-libs (map (lambda (x)
|
||||
(string-append (assoc-ref inputs x)
|
||||
"/lib"))
|
||||
'("pulseaudio" "mesa")))
|
||||
'("pulseaudio" "mesa"
|
||||
;; For the integration of native notifications
|
||||
"libnotify")))
|
||||
(gtk-share (string-append (assoc-ref inputs "gtk+")
|
||||
"/share")))
|
||||
(wrap-program (car (find-files lib "^firefox$"))
|
||||
|
|
Loading…
Reference in a new issue