gnu: wine: Improve formatting of some package definitions.
* gnu/packages/wine.scm (wine, wine64)[arguments]: Fix formatting issues.
This commit is contained in:
parent
80c65f30d6
commit
e2b4450d18
1 changed files with 40 additions and 38 deletions
|
@ -171,10 +171,12 @@
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(icd (string-append out "/share/vulkan/icd.d")))
|
(icd (string-append out "/share/vulkan/icd.d")))
|
||||||
(mkdir-p icd)
|
(mkdir-p icd)
|
||||||
(copy-file (string-append (assoc-ref inputs "mesa")
|
(copy-file (string-append
|
||||||
|
(assoc-ref inputs "mesa")
|
||||||
"/share/vulkan/icd.d/radeon_icd.i686.json")
|
"/share/vulkan/icd.d/radeon_icd.i686.json")
|
||||||
(string-append icd "/radeon_icd.i686.json"))
|
(string-append icd "/radeon_icd.i686.json"))
|
||||||
(copy-file (string-append (assoc-ref inputs "mesa")
|
(copy-file (string-append
|
||||||
|
(assoc-ref inputs "mesa")
|
||||||
"/share/vulkan/icd.d/intel_icd.i686.json")
|
"/share/vulkan/icd.d/intel_icd.i686.json")
|
||||||
(string-append icd "/intel_icd.i686.json"))
|
(string-append icd "/intel_icd.i686.json"))
|
||||||
(wrap-program (string-append out "/bin/wine-preloader")
|
(wrap-program (string-append out "/bin/wine-preloader")
|
||||||
|
@ -184,8 +186,7 @@
|
||||||
icd "/intel_icd.i686.json"))))
|
icd "/intel_icd.i686.json"))))
|
||||||
#t)))))
|
#t)))))
|
||||||
(_
|
(_
|
||||||
`())
|
`()))
|
||||||
)
|
|
||||||
(add-after 'configure 'patch-dlopen-paths
|
(add-after 'configure 'patch-dlopen-paths
|
||||||
;; Hardcode dlopened sonames to absolute paths.
|
;; Hardcode dlopened sonames to absolute paths.
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -233,7 +234,8 @@ integrate Windows applications into your desktop.")
|
||||||
(let* ((out (assoc-ref outputs "out")))
|
(let* ((out (assoc-ref outputs "out")))
|
||||||
(wrap-program (string-append out "/bin/wine-preloader")
|
(wrap-program (string-append out "/bin/wine-preloader")
|
||||||
`("VK_ICD_FILENAMES" ":" =
|
`("VK_ICD_FILENAMES" ":" =
|
||||||
(,(string-append (assoc-ref inputs "mesa")
|
(,(string-append
|
||||||
|
(assoc-ref inputs "mesa")
|
||||||
"/share/vulkan/icd.d/radeon_icd.x86_64.json" ":"
|
"/share/vulkan/icd.d/radeon_icd.x86_64.json" ":"
|
||||||
(assoc-ref inputs "mesa")
|
(assoc-ref inputs "mesa")
|
||||||
"/share/vulkan/icd.d/intel_icd.x86_64.json" ":"
|
"/share/vulkan/icd.d/intel_icd.x86_64.json" ":"
|
||||||
|
@ -243,7 +245,8 @@ integrate Windows applications into your desktop.")
|
||||||
"/share/vulkan/icd.d/intel_icd.i686.json"))))
|
"/share/vulkan/icd.d/intel_icd.i686.json"))))
|
||||||
(wrap-program (string-append out "/bin/wine64-preloader")
|
(wrap-program (string-append out "/bin/wine64-preloader")
|
||||||
`("VK_ICD_FILENAMES" ":" =
|
`("VK_ICD_FILENAMES" ":" =
|
||||||
(,(string-append (assoc-ref inputs "mesa")
|
(,(string-append
|
||||||
|
(assoc-ref inputs "mesa")
|
||||||
"/share/vulkan/icd.d/radeon_icd.x86_64.json"
|
"/share/vulkan/icd.d/radeon_icd.x86_64.json"
|
||||||
":" (assoc-ref inputs "mesa")
|
":" (assoc-ref inputs "mesa")
|
||||||
"/share/vulkan/icd.d/intel_icd.x86_64.json"
|
"/share/vulkan/icd.d/intel_icd.x86_64.json"
|
||||||
|
@ -253,8 +256,7 @@ integrate Windows applications into your desktop.")
|
||||||
"/share/vulkan/icd.d/intel_icd.i686.json"))))
|
"/share/vulkan/icd.d/intel_icd.i686.json"))))
|
||||||
#t)))))
|
#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"))
|
(let* ((wine32 (assoc-ref %build-inputs "wine"))
|
||||||
|
|
Reference in a new issue