gnu: obs: Fix VLC plugin.
* gnu/packages/video.scm (obs)[arguments]<#:phases>: Wrap LD_LIBRARY_PATH. Change-Id: If22b5294284ea500da0e6d9ee4d4bbcc765c6771
This commit is contained in:
		
							parent
							
								
									728d471d73
								
							
						
					
					
						commit
						9018c6af49
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		| 
						 | 
					@ -3642,7 +3642,10 @@ be used for realtime video capture via Linux-specific APIs.")
 | 
				
			||||||
             (lambda* _
 | 
					             (lambda* _
 | 
				
			||||||
               (let ((plugin-path (getenv "QT_PLUGIN_PATH")))
 | 
					               (let ((plugin-path (getenv "QT_PLUGIN_PATH")))
 | 
				
			||||||
                 (wrap-program (string-append #$output "/bin/obs")
 | 
					                 (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
 | 
					    (native-search-paths
 | 
				
			||||||
     (list (search-path-specification
 | 
					     (list (search-path-specification
 | 
				
			||||||
            (variable "OBS_PLUGINS_DIRECTORY")
 | 
					            (variable "OBS_PLUGINS_DIRECTORY")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue