1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 13:10:33 +02:00

gnu: python-audioread: Fix gstreamer initialization.

* gnu/packages/mp3.scm (python-audioread) [arguments]: New field.

Change-Id: Ie1545631e97cdd5b3d9a6bbe80ed9809f1e4de48
This commit is contained in:
Maxim Cournoyer
2026-03-03 16:15:16 +09:00
parent b8d7a360e2
commit 50b58e1109

View File

@@ -695,6 +695,15 @@ is to provide an accurate identifier for record tracks.")
(sha256
(base32 "0v866n5rwdz45ks8dlhl8hzx3p54hcjl0rz7x3rbsj4c96jn0m5c"))))
(build-system pyproject-build-system)
(arguments
(list #:phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-gst-init
(lambda _
;; `None' is no longer accepted as of gstreamer
;; 2.28.1.
(substitute* "audioread/gstdec.py"
(("Gst.init\\(None\\)")
"Gst.init([])")))))))
(propagated-inputs (list ffmpeg python-pygobject))
(native-inputs
(list gstreamer