summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaghav Gururajan <raghavgururajan@disroot.org>2020-04-24 20:07:27 -0400
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2020-04-25 23:01:29 +0200
commit5cca16968ea1ff90df9ecb306636d60162a666f0 (patch)
tree51f3e8337daaf8c5ff467ee2f88f76668ed7277e
parent3a5d1c9b6b539c8f5ac2b44f4751935a230a92bd (diff)
downloadguix-5cca16968ea1ff90df9ecb306636d60162a666f0.tar.gz
gnu: pavucontrol: Fix icons.
* gnu/packages/pulseaudio.scm (pavucontrol): Fix icons.
[build-system]: Use glib-or-gtk-build-system instead of gnu-build-system.
[inputs]: Add adwaita-icon-theme.  Re-order inputs.

Since the adwaita icon theme is hard-coded in the application, there is
no choice for the user anyway. So added adwaita-icon-theme to inputs and
changed build-system to glib-or-gtk to fix loading of icons.
-rw-r--r--gnu/packages/pulseaudio.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index c2853dcd82..a1500392fc 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -31,6 +31,7 @@
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix l:)
+  #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module (gnu packages)
@@ -233,10 +234,11 @@ sound server.")
              (sha256
               (base32
                "14486c6lmmirkhscbfygz114f6yzf97h35n3h3pdr27w4mdfmlmk"))))
-    (build-system gnu-build-system)
+    (build-system glib-or-gtk-build-system)
     (inputs
-     `(("libcanberra" ,libcanberra)
+     `(("adwaita-icon-theme" ,adwaita-icon-theme)          ;hard-coded theme
        ("gtkmm" ,gtkmm)
+       ("libcanberra" ,libcanberra)
        ("pulseaudio" ,pulseaudio)))
     (native-inputs
      `(("intltool" ,intltool)