gnu: volctl: Update to 0.9.3.
Fixes <https://issues.guix.gnu.org/58120>. * gnu/packages/gtk.scm (volctl): Update to 0.9.3. [arguments]: Update substitutions in patch-path phase and delete trailing #t. [inputs]: Delete pulseaudio. Move gtk+ to... [propagated-inputs] ... here. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com> Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
		
							parent
							
								
									7a932ccf85
								
							
						
					
					
						commit
						356e33641a
					
				
					 1 changed files with 15 additions and 13 deletions
				
			
		|  | @ -33,6 +33,7 @@ | ||||||
| ;;; Copyright © 2022 Benjamin Slade <slade@lambda-y.net> | ;;; Copyright © 2022 Benjamin Slade <slade@lambda-y.net> | ||||||
| ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | ;;; Copyright © 2022 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | ||||||
| ;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com> | ;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com> | ||||||
|  | ;;; Copyright © 2023 Sergiu Ivanov <sivanov@colimite.fr> | ||||||
| ;;; | ;;; | ||||||
| ;;; This file is part of GNU Guix. | ;;; This file is part of GNU Guix. | ||||||
| ;;; | ;;; | ||||||
|  | @ -67,6 +68,7 @@ | ||||||
|   #:use-module (guix build-system waf) |   #:use-module (guix build-system waf) | ||||||
|   #:use-module (gnu packages) |   #:use-module (gnu packages) | ||||||
|   #:use-module (gnu packages algebra) |   #:use-module (gnu packages algebra) | ||||||
|  |   #:use-module (gnu packages audio) | ||||||
|   #:use-module (gnu packages autotools) |   #:use-module (gnu packages autotools) | ||||||
|   #:use-module (gnu packages base) |   #:use-module (gnu packages base) | ||||||
|   #:use-module (gnu packages bash) |   #:use-module (gnu packages bash) | ||||||
|  | @ -2949,7 +2951,7 @@ user interaction (e.g.  measuring distances).") | ||||||
| (define-public volctl | (define-public volctl | ||||||
|   (package |   (package | ||||||
|     (name "volctl") |     (name "volctl") | ||||||
|     (version "0.8.2") |     (version "0.9.3") | ||||||
|     (source (origin |     (source (origin | ||||||
|               (method git-fetch) |               (method git-fetch) | ||||||
|               (uri (git-reference (url "https://github.com/buzz/volctl") |               (uri (git-reference (url "https://github.com/buzz/volctl") | ||||||
|  | @ -2957,26 +2959,26 @@ user interaction (e.g.  measuring distances).") | ||||||
|               (file-name (git-file-name name version)) |               (file-name (git-file-name name version)) | ||||||
|               (sha256 |               (sha256 | ||||||
|                (base32 |                (base32 | ||||||
|                 "1cx27j83pz2qffnzb85fbl1x6pp3irv1kbw7g1hri7kaw6ky4xiz")))) |                 "0fz80w3ywq54jn4v31frfdj01s5g9lz6v9cd7hpg3kirca0zisln")))) | ||||||
|     (build-system python-build-system) |     (build-system python-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:phases |      `(#:phases | ||||||
|        (modify-phases %standard-phases |        (modify-phases %standard-phases | ||||||
|          (add-after 'unpack 'patch-path |          (add-after 'unpack 'patch-path | ||||||
|            (lambda* (#:key inputs #:allow-other-keys) |            (lambda* (#:key inputs #:allow-other-keys) | ||||||
|              (let ((pulse (assoc-ref inputs "pulseaudio")) |              (substitute* "volctl/xwrappers.py" | ||||||
|                    (xfixes (assoc-ref inputs "libxfixes"))) |                (("libXfixes.so") | ||||||
|                (substitute* "volctl/lib/xwrappers.py" |                 (string-append (search-input-file inputs | ||||||
|                  (("libXfixes.so") |                                                   "/lib/libXfixes.so"))))))))) | ||||||
|                   (string-append xfixes "/lib/libXfixes.so"))) |  | ||||||
|                (substitute* "volctl/lib/pulseaudio.py" |  | ||||||
|                  (("libpulse.so.0") |  | ||||||
|                   (string-append pulse "/lib/libpulse.so.0"))) |  | ||||||
|                #t)))))) |  | ||||||
|     (inputs |     (inputs | ||||||
|      (list gtk+ libxfixes pulseaudio)) |      (list libxfixes)) | ||||||
|     (propagated-inputs |     (propagated-inputs | ||||||
|      (list python-click python-pycairo python-pygobject python-pyyaml)) |      (list python-click | ||||||
|  |            python-pycairo | ||||||
|  |            python-pygobject | ||||||
|  |            python-pyyaml | ||||||
|  |            python-pulsectl | ||||||
|  |            gtk+)) | ||||||
|     (home-page "https://buzz.github.io/volctl/") |     (home-page "https://buzz.github.io/volctl/") | ||||||
|     (synopsis "Per-application volume control and on-screen display") |     (synopsis "Per-application volume control and on-screen display") | ||||||
|     (description "Volctl is a PulseAudio-enabled tray icon volume control and |     (description "Volctl is a PulseAudio-enabled tray icon volume control and | ||||||
|  |  | ||||||
		Reference in a new issue