guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/12: gnu: xfce4-pulseaudio-plugin: Update to 0.4.2.


From: guix-commits
Subject: 08/12: gnu: xfce4-pulseaudio-plugin: Update to 0.4.2.
Date: Sun, 1 Sep 2019 17:04:12 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 8c6cfdd766beb2b4cdbb2bb2ff209e33b5d76c19
Author: L p R n d n <address@hidden>
Date:   Mon Aug 19 15:51:42 2019 +0200

    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 <address@hidden>
---
 gnu/packages/xfce.scm | 21 ++++++++++++++++++---
 1 file changed, 18 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index cad3f75..1256578 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -390,7 +390,7 @@ matching them against regular expressions.")
 (define-public xfce4-pulseaudio-plugin
   (package
     (name "xfce4-pulseaudio-plugin")
-    (version "0.4.1")
+    (version "0.4.2")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://archive.xfce.org/src/panel-plugins/";
@@ -398,11 +398,26 @@ matching them against regular expressions.")
                                   name "-" version ".tar.bz2"))
               (sha256
                (base32
-                "1w29y0a066y8as12xrkbfqcn7dpdsvx97idzw7028gmcvca87a3c"))))
+                "0851b0vs5xmy3cq899khcghmkqwvh9rnzwavi17msrsq4jyaxs2a"))))
     (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
      `(("intltool" ,intltool)
-       ("pkg-config" ,pkg-config)))
+       ("pkg-config" ,pkg-config)
+       ("dbus-glib" ,dbus-glib)
+       ("dbus" ,dbus)))
     (inputs
      `(("exo" ,exo)
        ("libnotify" ,libnotify)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]