me
/
guix
Archived
1
0
Fork 0

gnu: obs: Fix VLC plugin.

* gnu/packages/video.scm (obs)[arguments]<#:phases>: Wrap LD_LIBRARY_PATH.

Change-Id: If22b5294284ea500da0e6d9ee4d4bbcc765c6771
master
Oleg Pykhalov 2024-01-06 18:24:56 +03:00
parent 728d471d73
commit 9018c6af49
No known key found for this signature in database
GPG Key ID: 167F8EA5001AFA9C
1 changed files with 4 additions and 1 deletions

View File

@ -3642,7 +3642,10 @@ be used for realtime video capture via Linux-specific APIs.")
(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")