diff options
| author | Maxim Cournoyer <maxim@guixotic.coop> | 2026-02-26 21:58:16 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim@guixotic.coop> | 2026-03-11 10:03:23 +0900 |
| commit | b8d7a360e25da711b21a26bf52dd5b56226d00b1 (patch) | |
| tree | b742611bcedbf09ffc22a493ada0e671d76122aa | |
| parent | f16f25db36799fe313d23a5af0a2f7378a0e48a1 (diff) | |
gnu: python-gst: Update to 1.28.1.
* gnu/packages/gstreamer.scm (python-gst): Update to 1.28.1.
[#:phases] {check}: Re-order phase after...
{install}: ... this one.
{disable-problematic-tests, add-install-to-pythonpath}: New phases.
Change-Id: I2790555af875e23582a53c3fbd5e3f91179811cc
| -rw-r--r-- | gnu/packages/gstreamer.scm | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index 754d80d0315..3023daaff24 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -1143,7 +1143,7 @@ RTSP connections and messages.") (define-public python-gst (package (name "python-gst") - (version "1.26.3") + (version "1.28.1") (source (origin (method url-fetch) (uri (string-append @@ -1151,7 +1151,7 @@ RTSP connections and messages.") "gst-python-" version ".tar.xz")) (sha256 (base32 - "04hv5pj8br56knvw1nsx74j1lpxskbm6znsdqac28iszqjkvjhwk")))) + "11bhdylgkfcgdlfcv61vyjp0f27sqp3i4y7d8c2a2nxrmnaylz6l")))) (build-system meson-build-system) (arguments (list @@ -1163,7 +1163,22 @@ RTSP connections and messages.") #:configure-flags #~(list (string-append "-Dpygi-overrides-dir=" - (py:site-packages %build-inputs %outputs) "/gi/overrides")))) + (py:site-packages %build-inputs %outputs) "/gi/overrides")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'disable-problematic-tests + (lambda _ + ;; The 'fundamentals' test fails with a segmentation fault since + ;; 1.28.1 (see: + ;; <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/4937>). + (substitute* "testsuite/meson.build" + ((".*'fundamentals',.*") "")))) + (delete 'check) ;moved after install + (add-after 'install 'check + (assoc-ref %standard-phases 'check)) + (add-before 'check 'add-install-to-pythonpath + ;; Required for the 'plugins' test. + (assoc-ref py:%standard-phases 'add-install-to-pythonpath))))) (native-inputs (list pkg-config python)) ;; XXX: Move back to propagated-inputs once we no longer need to use |
