gnu: xfce4-pulseaudio-plugin: Update to 0.4.2.

* gnu/packages/xfce.scm (xfce4-pulseaudio-plugin): Update to 0.4.2.
[arguments] Add augment-cflags phase.
[native-inputs] Add dbus and dbus-glib.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
L p R n d n 2019-08-19 15:51:42 +02:00 committed by Ludovic Courtès
parent d4902f9a84
commit 8c6cfdd766
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 18 additions and 3 deletions

View File

@ -390,7 +390,7 @@ matching them against regular expressions.")
(define-public xfce4-pulseaudio-plugin (define-public xfce4-pulseaudio-plugin
(package (package
(name "xfce4-pulseaudio-plugin") (name "xfce4-pulseaudio-plugin")
(version "0.4.1") (version "0.4.2")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "https://archive.xfce.org/src/panel-plugins/" (uri (string-append "https://archive.xfce.org/src/panel-plugins/"
@ -398,11 +398,26 @@ matching them against regular expressions.")
name "-" version ".tar.bz2")) name "-" version ".tar.bz2"))
(sha256 (sha256
(base32 (base32
"1w29y0a066y8as12xrkbfqcn7dpdsvx97idzw7028gmcvca87a3c")))) "0851b0vs5xmy3cq899khcghmkqwvh9rnzwavi17msrsq4jyaxs2a"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
`(#:phases
;; For dbus/dbus-glib.h in pulseaudio-config.h
(modify-phases %standard-phases
(add-after 'set-paths 'augment-cflags
(lambda* (#:key inputs #:allow-other-keys)
(setenv "C_INCLUDE_PATH"
(string-append (assoc-ref inputs "dbus-glib")
"/include/dbus-1.0" ":"
(assoc-ref inputs "dbus")
"/include/dbus-1.0" ":"
(getenv "C_INCLUDE_PATH")))
#t)))))
(native-inputs (native-inputs
`(("intltool" ,intltool) `(("intltool" ,intltool)
("pkg-config" ,pkg-config))) ("pkg-config" ,pkg-config)
("dbus-glib" ,dbus-glib)
("dbus" ,dbus)))
(inputs (inputs
`(("exo" ,exo) `(("exo" ,exo)
("libnotify" ,libnotify) ("libnotify" ,libnotify)