From f98307b017c0cfb1a4a46f9a882ec558cec294b1 Mon Sep 17 00:00:00 2001 From: Sergiu Ivanov Date: Sun, 15 Jan 2023 23:23:44 +0100 Subject: [PATCH 3/3] gnu: volctl: Update to 0.9.3. * gnu/packages/gtk.scm (volctl): Update to 0.9.3. --- gnu/packages/gtk.scm | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/gnu/packages/gtk.scm b/gnu/packages/gtk.scm index ea22d0e930..2e6a546308 100644 --- a/gnu/packages/gtk.scm +++ b/gnu/packages/gtk.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2022 Benjamin Slade ;;; Copyright © 2022 Denis 'GNUtoo' Carikli ;;; Copyright © 2022 Petr Hodina +;;; Copyright © 2023 Sergiu Ivanov ;;; ;;; This file is part of GNU Guix. ;;; @@ -67,6 +68,7 @@ (define-module (gnu packages gtk) #:use-module (guix build-system waf) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages audio) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) @@ -2949,7 +2951,7 @@ (define-public gtkdatabox (define-public volctl (package (name "volctl") - (version "0.8.2") + (version "0.9.3") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/buzz/volctl") @@ -2957,26 +2959,21 @@ (define-public volctl (file-name (git-file-name name version)) (sha256 (base32 - "1cx27j83pz2qffnzb85fbl1x6pp3irv1kbw7g1hri7kaw6ky4xiz")))) + "0fz80w3ywq54jn4v31frfdj01s5g9lz6v9cd7hpg3kirca0zisln")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'patch-path (lambda* (#:key inputs #:allow-other-keys) - (let ((pulse (assoc-ref inputs "pulseaudio")) - (xfixes (assoc-ref inputs "libxfixes"))) - (substitute* "volctl/lib/xwrappers.py" - (("libXfixes.so") - (string-append xfixes "/lib/libXfixes.so"))) - (substitute* "volctl/lib/pulseaudio.py" - (("libpulse.so.0") - (string-append pulse "/lib/libpulse.so.0"))) - #t)))))) + (substitute* "volctl/xwrappers.py" + (("libXfixes.so") + (string-append (search-input-file inputs "/lib/libXfixes.so"))))))))) (inputs - (list gtk+ libxfixes pulseaudio)) + (list libxfixes)) (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/") (synopsis "Per-application volume control and on-screen display") (description "Volctl is a PulseAudio-enabled tray icon volume control and -- 2.38.1