From 9f9520a1299fccd8508d03ce0c9280c6e0030207 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Fri, 13 Dec 2019 22:53:19 +0100 Subject: [PATCH] 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. --- gnu/packages/audio.scm | 15 ++++++++++++--- 1 file 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 @@ (define-public python2-pyalsaaudio (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 @@ (define-public bluez-alsa (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 @@ (define-public bluez-alsa (inputs `(("alsa-lib" ,alsa-lib) ("bluez" ,bluez) + ("dbus" ,dbus) ("glib" ,glib) ("libbsd" ,libbsd) ("ncurses" ,ncurses)