guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 61f18e6d0c7fe39f13f5038e48fab6dc126e28c2
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Dec 17 23:10:35 2025 +0000
gnu: pulsemixer: Improve package.
* gnu/packages/pulseaudio.scm (pulsemixer):
[build-system]: Switch to pyproject-build-system.
[arguments]: Switch to search-input-file, drop trailing #t from lambda.
[native-inputs]: Add python-setuptools.
Change-Id: Ia0921a46be451b522bf5ad39de366b5ba2e949a5
---
gnu/packages/pulseaudio.scm | 45 +++++++++++++++++++++++++--------------------
1 file changed, 25 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/pulseaudio.scm b/gnu/packages/pulseaudio.scm
index 276fbeb8db..fc36ed22c4 100644
--- a/gnu/packages/pulseaudio.scm
+++ b/gnu/packages/pulseaudio.scm
@@ -45,7 +45,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system go)
#:use-module (guix build-system meson)
- #:use-module (guix build-system python)
+ #:use-module (guix build-system pyproject)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages audio)
@@ -68,6 +68,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages protobuf)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-build)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages python-web)
#:use-module (gnu packages pkg-config)
@@ -329,30 +330,34 @@ command-line interface. In addition, it is possible to
use named sources and
sinks.")
(license l:expat)))
+;; XXX: The project is potentially abandoned, consider to remove when stops
+;; building, see: <https://github.com/GeorgeFilipkin/pulsemixer/issues/65>.
(define-public pulsemixer
(package
(name "pulsemixer")
(version "1.5.1")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/GeorgeFilipkin/pulsemixer")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1jagx9zmz5pfsld8y2rj2kqg6ww9f6vqiawfy3vhqc49x3xx92p4"))))
- (build-system python-build-system)
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/GeorgeFilipkin/pulsemixer")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1jagx9zmz5pfsld8y2rj2kqg6ww9f6vqiawfy3vhqc49x3xx92p4"))))
+ (build-system pyproject-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")))
- (substitute* "pulsemixer"
- (("libpulse.so.0")
- (string-append pulse "/lib/libpulse.so.0")))
- #t))))))
+ (list
+ #:tests? #f ;no tests.
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "pulsemixer"
+ (("libpulse.so.0")
+ (search-input-file inputs "/lib/libpulse.so.0"))))))))
+ (native-inputs
+ (list python-setuptools))
(inputs
(list pulseaudio))
(home-page "https://github.com/GeorgeFilipkin/pulsemixer/")