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

commit a6762fa3f98f75fc7f03915ccf5516b797307b39
Author: Maxim Cournoyer <[email protected]>
AuthorDate: Fri Mar 13 23:57:13 2026 +0900

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

diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 5e794e81be..a52c3237da 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -1176,6 +1176,15 @@ after their category.")
            #:phases
            #~(modify-phases %standard-phases
                #$@%common-gstreamer-phases
+               (add-after 'unpack 'patch-paths
+                 (lambda* (#:key inputs #:allow-other-keys)
+                   (substitute* "ext/dvdread/dvdreadsrc.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-before 'check 'pre-check
                  (lambda _
                    ;; Tests require a running X server.

Reply via email to