gnu: weston: Use G-expression.
* gnu/packages/freedesktop.scm (weston)[arguments]: Use gexp to remove references to %outputs and %build-inputs.
This commit is contained in:
parent
4678f77b49
commit
9e1c255b35
1 changed files with 17 additions and 16 deletions
|
@ -1209,22 +1209,23 @@ protocol either in Wayland core, or some other protocol in wayland-protocols.")
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list libxkbcommon pixman wayland))
|
(list libxkbcommon pixman wayland))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
(list
|
||||||
(list
|
#:configure-flags
|
||||||
;; Otherwise, the RUNPATH will lack the final path component.
|
#~(list
|
||||||
(string-append "-Dc_link_args=-Wl,-rpath="
|
;; Otherwise, the RUNPATH will lack the final path component.
|
||||||
(assoc-ref %outputs "out") "/lib:"
|
(string-append "-Dc_link_args=-Wl,-rpath="
|
||||||
(assoc-ref %outputs "out") "/lib/weston:"
|
#$output "/lib:"
|
||||||
(assoc-ref %outputs "out") "/lib/libweston-"
|
#$output "/lib/weston:"
|
||||||
,(version-major (package-version this-package)))
|
#$output "/lib/libweston-"
|
||||||
"-Dbackend-default=auto"
|
#$(version-major (package-version this-package)))
|
||||||
"-Dsystemd=false"
|
"-Dbackend-default=auto"
|
||||||
(string-append "-Dxwayland-path="
|
"-Dsystemd=false"
|
||||||
(assoc-ref %build-inputs "xorg-server-xwayland")
|
(string-append "-Dxwayland-path="
|
||||||
"/bin/Xwayland"))
|
#$(this-package-input "xorg-server-xwayland")
|
||||||
#:parallel-tests? #f ; Parallel tests cause failures.
|
"/bin/Xwayland"))
|
||||||
#:phases
|
#:parallel-tests? #f ; Parallel tests cause failures.
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
|
'(modify-phases %standard-phases
|
||||||
(add-before 'configure 'use-elogind
|
(add-before 'configure 'use-elogind
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Use elogind instead of systemd
|
;; Use elogind instead of systemd
|
||||||
|
|
Reference in a new issue