GNU bug report logs - #68290
[PATCH] gnu: obs: Fix VLC plugin.

Previous Next

Package: guix-patches;

Reported by: Oleg Pykhalov <go.wigust <at> gmail.com>

Date: Sat, 6 Jan 2024 15:31:01 UTC

Severity: normal

Tags: patch

Done: Oleg Pykhalov <go.wigust <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Oleg Pykhalov <go.wigust <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: Oleg Pykhalov <go.wigust <at> gmail.com>
Subject: [PATCH] gnu: obs: Fix VLC plugin.
Date: Sat,  6 Jan 2024 18:28:59 +0300
* gnu/packages/video.scm (obs)[arguments]<#:phases>: Wrap LD_LIBRARY_PATH.

Change-Id: If22b5294284ea500da0e6d9ee4d4bbcc765c6771
---
 gnu/packages/video.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 6da4897a57..5a49f7e03b 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3631,7 +3631,10 @@ (define-public obs
              (lambda* _
                (let ((plugin-path (getenv "QT_PLUGIN_PATH")))
                  (wrap-program (string-append #$output "/bin/obs")
-                   `("QT_PLUGIN_PATH" ":" prefix (,plugin-path)))))))))
+                   `("QT_PLUGIN_PATH" ":" prefix (,plugin-path))
+                   `("LD_LIBRARY_PATH" ":" prefix
+                     (,(string-append #$(this-package-input "vlc")
+                                      "/lib"))))))))))
     (native-search-paths
      (list (search-path-specification
             (variable "OBS_PLUGINS_DIRECTORY")

base-commit: 93ac4c20bf4b46b2bb9d0d2b9bec0b728b34de87
-- 
2.41.0





This bug report was last modified 1 year and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.