summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-12-13 22:53:19 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-12-13 22:53:19 +0100
commit9f9520a1299fccd8508d03ce0c9280c6e0030207 (patch)
tree03d1f8f7b54190d8c09b7ecc1da3a4d61212c731 /gnu
parent1c2e3d7d316573b3fd51d2a37af19a27df20be97 (diff)
downloadguix-9f9520a1299fccd8508d03ce0c9280c6e0030207.tar.gz
gnu: bluez-alsa: Update to 2.0.0.
* gnu/packages/audio.scm (bluez-alsa): Update to 2.0.0.
[source]: Use git-file-name.
[arguments]: Override ALSA plugin directory and dbus configuration directory.
[inputs]: Add dbus.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm15
1 files changed, 12 insertions, 3 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 24c294b8e2..e6e89c0064 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -3331,7 +3331,7 @@ mixers.")
 (define-public bluez-alsa
   (package
     (name "bluez-alsa")
-    (version "1.2.0")
+    (version "2.0.0")
     (source (origin
               ;; The tarballs are mere snapshots and don't contain a
               ;; bootstrapped build system.
@@ -3339,11 +3339,19 @@ mixers.")
               (uri (git-reference
                     (url "https://github.com/Arkq/bluez-alsa.git")
                     (commit (string-append "v" version))))
-              (file-name (string-append name "-" version "-checkout"))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1qinf41wl2ihx54zmmhanycihwjkn7dn1cicq6pp4rqbiv79b95x"))))
+                "08mppgnjf1j2733bk9yf0cny6rfxxwiys0s62lz2zd2lpdl6d9lz"))))
     (build-system gnu-build-system)
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-alsaplugindir="
+                            (assoc-ref %outputs "out")
+                            "/lib/alsa-lib")
+             (string-append "--with-dbusconfdir="
+                            (assoc-ref %outputs "out")
+                            "/etc/dbus-1"))))
     (native-inputs
      `(("autoconf" ,autoconf)
        ("automake" ,automake)
@@ -3352,6 +3360,7 @@ mixers.")
     (inputs
      `(("alsa-lib" ,alsa-lib)
        ("bluez" ,bluez)
+       ("dbus" ,dbus)
        ("glib" ,glib)
        ("libbsd" ,libbsd)
        ("ncurses" ,ncurses)