gnu: wine64-staging: Enable Vulkan support.
* gnu/packages/wine.scm (wine64-staging)[arguments]: Add 'hardcode-libvulkan-path phase.
This commit is contained in:
		
							parent
							
								
									39b4744a07
								
							
						
					
					
						commit
						ee5402bfce
					
				
					 1 changed files with 8 additions and 0 deletions
				
			
		| 
						 | 
					@ -281,6 +281,14 @@ integrated into the main branch.")
 | 
				
			||||||
             (string-append "libdir=" %output "/lib/wine64"))
 | 
					             (string-append "libdir=" %output "/lib/wine64"))
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-before 'configure 'hardcore-libvulkan-path
 | 
				
			||||||
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
 | 
					             (let* ((libvulkan (string-append (assoc-ref %build-inputs
 | 
				
			||||||
 | 
					                               "vulkan-icd-loader") "/lib/libvulkan.so")))
 | 
				
			||||||
 | 
					               ;; Hard-code the path to libvulkan.so.
 | 
				
			||||||
 | 
					               (substitute* "dlls/vulkan/vulkan_thunks.c" (("libvulkan.so")
 | 
				
			||||||
 | 
					                            libvulkan))
 | 
				
			||||||
 | 
					               #t)))
 | 
				
			||||||
         (add-after 'install 'copy-wine32-binaries
 | 
					         (add-after 'install 'copy-wine32-binaries
 | 
				
			||||||
           (lambda* (#:key outputs #:allow-other-keys)
 | 
					           (lambda* (#:key outputs #:allow-other-keys)
 | 
				
			||||||
             (let* ((wine32 (assoc-ref %build-inputs "wine-staging"))
 | 
					             (let* ((wine32 (assoc-ref %build-inputs "wine-staging"))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue