guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.

commit 9dcef32ec67091e543b77d94247f046f850430c2
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Fri Mar 13 23:56:26 2026 +0900

    gnu: gst-plugins-bad: Patch libdvdcss.so reference.
    
    * gnu/packages/gstreamer.scm (gst-plugins-bad)
    [#:phases] {patch-paths}: New phase.
    
    Change-Id: Idaf5de29b7cd6d0f5187af4250d8292997ecd38c
---
 gnu/packages/gstreamer.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 26545c645f..5e794e81be 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -777,6 +777,15 @@ model to base your own plug-in on, here it is.")
       #:phases
       #~(modify-phases %standard-phases
           #$@%common-gstreamer-phases
+          (add-after 'unpack 'patch-paths
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* "ext/resindvd/resindvdsrc.c"
+                ;; `g_module_open' is a wrapper above dlopen; pass it the
+                ;; absolute file name of the library to ensure it is always
+                ;; found.
+                (("\"libdvdcss\"")
+                 (format #f "~s"
+                         (search-input-file inputs "lib/libdvdcss.so"))))))
           (add-after 'unpack 'adjust-tests
             (lambda* (#:key native-inputs inputs #:allow-other-keys)
               (let ((gst-plugins-good (assoc-ref (or native-inputs inputs)

Reply via email to