guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#68290] [PATCH] gnu: obs: Fix VLC plugin.


From: Oleg Pykhalov
Subject: [bug#68290] [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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]