gnu: blueman: Update to 2.2.2.

* gnu/packages/networking.scm (blueman): Update to 2.2.2.
[arguments]: Don't explicitly return #t from phases.
This commit is contained in:
Tobias Geerinckx-Rice 2021-10-17 02:11:47 +02:00
parent c34333c3db
commit a7e7978937
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -645,14 +645,14 @@ (define-public nanomsg
(define-public blueman
(package
(name "blueman")
(version "2.2.1")
(version "2.2.2")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/blueman-project/blueman/releases"
"/download/" version "/blueman-" version ".tar.xz"))
(sha256
(base32 "0whs1bqnn1fgzrq7y2w1d06ldvfafq6h2xzmcfncbwmyb4i0mhgw"))))
(base32 "1xnhxhr2l4cf703j76wvzl4rf2k4xxgjjisz03y89x9ll6qmkv8r"))))
(build-system glib-or-gtk-build-system)
(arguments
`(#:configure-flags (list "--enable-polkit"
@ -672,8 +672,7 @@ (define-public blueman
(("@PYTHON@") (string-append (assoc-ref inputs "python")
"/bin/python"
,(version-major+minor
(package-version python))))))
#t))
(package-version python))))))))
;; Fix loading of external programs.
(add-after 'unpack 'patch-external-programs
(lambda* (#:key inputs #:allow-other-keys)
@ -687,8 +686,7 @@ (define-public blueman
"/sbin/iptables"))
(("/usr/sbin/pppd")
(string-append (assoc-ref inputs "ppp")
"/sbin/pppd")))
#t))
"/sbin/pppd")))))
;; Fix loading of pulseaudio libraries.
(add-after 'unpack 'patch-pulseaudio-libraries
(lambda* (#:key inputs #:allow-other-keys)
@ -699,8 +697,7 @@ (define-public blueman
(with-directory-excursion "blueman/main"
(substitute* "PulseAudioUtils.py"
(("libpulse.so.0") pulse)
(("libpulse-mainloop-glib.so.0") pulse-glib)))
#t)))
(("libpulse-mainloop-glib.so.0") pulse-glib))))))
;; Fix running of blueman programs.
(add-after 'glib-or-gtk-wrap 'wrap-blueman-progs
(lambda* (#:key outputs #:allow-other-keys)
@ -721,8 +718,7 @@ (define-public blueman
'("adapters" "applet" "manager"
"sendto" "services" "tray"))
(map (lambda (prog) (string-append libexec prog))
'("mechanism" "rfcomm-watcher"))))
#t))))))
'("mechanism" "rfcomm-watcher"))))))))))
(native-inputs
`(("cython" ,python-cython)
("glib:bin" ,glib "bin")