gnu: dunst: Build dunstify.
* gnu/packages/dunst.scm (dunst)[arguments]: Add phase install-dunstify. [inputs]: Add libnotify.
This commit is contained in:
parent
56973172c9
commit
81565d23df
1 changed files with 12 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
;;; Copyright © 2015, 2017, 2018 Alex Kost <alezost@gmail.com>
|
;;; Copyright © 2015, 2017, 2018 Alex Kost <alezost@gmail.com>
|
||||||
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
|
||||||
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
|
;;; Copyright © 2019 Efraim Flashner <efraim@flashner.co.il>
|
||||||
|
;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -26,6 +27,7 @@
|
||||||
#:use-module (gnu packages base)
|
#:use-module (gnu packages base)
|
||||||
#:use-module (gnu packages freedesktop)
|
#:use-module (gnu packages freedesktop)
|
||||||
#:use-module (gnu packages glib)
|
#:use-module (gnu packages glib)
|
||||||
|
#:use-module (gnu packages gnome)
|
||||||
#:use-module (gnu packages gtk)
|
#:use-module (gnu packages gtk)
|
||||||
#:use-module (gnu packages perl)
|
#:use-module (gnu packages perl)
|
||||||
#:use-module (gnu packages pkg-config)
|
#:use-module (gnu packages pkg-config)
|
||||||
|
@ -52,9 +54,16 @@
|
||||||
;; Otherwise it tries to install service file
|
;; Otherwise it tries to install service file
|
||||||
;; to "dbus" store directory.
|
;; to "dbus" store directory.
|
||||||
(string-append "SERVICEDIR_DBUS=" %output
|
(string-append "SERVICEDIR_DBUS=" %output
|
||||||
"/share/dbus-1/services"))
|
"/share/dbus-1/services")
|
||||||
|
"dunstify")
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(delete 'configure))))
|
(delete 'configure)
|
||||||
|
(add-after 'install 'install-dunstify
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(install-file "dunstify"
|
||||||
|
(string-append out "/bin")))
|
||||||
|
#t)))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("perl" ,perl) ; for pod2man
|
("perl" ,perl) ; for pod2man
|
||||||
|
@ -65,6 +74,7 @@
|
||||||
("glib" ,glib)
|
("glib" ,glib)
|
||||||
("cairo" ,cairo)
|
("cairo" ,cairo)
|
||||||
("pango" ,pango)
|
("pango" ,pango)
|
||||||
|
("libnotify" ,libnotify) ; for dunstify
|
||||||
("libx11" ,libx11)
|
("libx11" ,libx11)
|
||||||
("libxscrnsaver" ,libxscrnsaver)
|
("libxscrnsaver" ,libxscrnsaver)
|
||||||
("libxinerama" ,libxinerama)
|
("libxinerama" ,libxinerama)
|
||||||
|
|
Reference in a new issue