gnu: volctl: Update to 0.9.5.

* gnu/packages/gtk.scm (volctl): Update to 0.9.5.
[build-system]: Switch to pyproject-build-system.
[arguments]<#:tests?>: Disable them.
<#:phases>: Improve style.
[native-inputs]: Add python-setuptools.
[description]: Improve style.

Change-Id: Idd0c1ff06f0469c3afdbe102d3ac08fceb29eb38
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
Nicolas Graves 2025-12-26 23:39:10 +01:00 committed by Sharlatan Hellseher
parent 98bf33f91c
commit a7a18db1b8
No known key found for this signature in database
GPG key ID: 76D727BFF62CD2B5

View file

@ -3036,27 +3036,29 @@ user interaction (e.g. measuring distances).")
(define-public volctl (define-public volctl
(package (package
(name "volctl") (name "volctl")
(version "0.9.4") (version "0.9.5")
(source (origin (source
(method git-fetch) (origin
(uri (git-reference (url "https://github.com/buzz/volctl") (method git-fetch)
(commit (string-append "v" version)))) (uri (git-reference
(file-name (git-file-name name version)) (url "https://github.com/buzz/volctl")
(sha256 (commit (string-append "v" version))))
(base32 (file-name (git-file-name name version))
"0anrwz8rvbliskmcgpw2zabgjj5c72hpi7cf0jg05vvmlpnbsd4g")))) (sha256
(build-system python-build-system) (base32 "0113mkhvjh2asmydpvm96j1d8s6bbp5gnhfzirjb6flj6zy6dgfc"))))
(build-system pyproject-build-system)
(arguments (arguments
`(#:phases (list
(modify-phases %standard-phases #:tests? #f ;No tests.
(add-after 'unpack 'patch-path #:phases
(lambda* (#:key inputs #:allow-other-keys) #~(modify-phases %standard-phases
(substitute* "volctl/xwrappers.py" (add-after 'unpack 'patch-path
(("libXfixes.so") (lambda* (#:key inputs #:allow-other-keys)
(string-append (search-input-file inputs (substitute* "volctl/xwrappers.py"
"/lib/libXfixes.so"))))))))) (("libXfixes.so")
(inputs (search-input-file inputs "/lib/libXfixes.so"))))))))
(list libxfixes)) (native-inputs (list python-setuptools))
(inputs (list libxfixes))
(propagated-inputs (propagated-inputs
(list python-click (list python-click
python-pycairo python-pycairo
@ -3066,8 +3068,9 @@ user interaction (e.g. measuring distances).")
gtk+)) 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
OSD applet for graphical desktops. It's not meant to be an replacement for a "Volctl is a PulseAudio-enabled tray icon volume control and OSD applet
for graphical desktops. It's not meant to be an replacement for a
full-featured mixer application. If you're looking for that check out the full-featured mixer application. If you're looking for that check out the
excellent pavucontrol.") excellent pavucontrol.")