mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: weston: Update to 9.0.0 and adjust arguments+inputs accordingly.
* gnu/packages/freedesktop.scm (weston)[version]: Update to 9.0.0. [configure-flags](c_link_args): New flag. (simple-dmabuf-drm): Remove flag. [native-inputs]: Add mscgen. [inputs]: Add pipewire.
This commit is contained in:
parent
45881ea747
commit
17a8656bc7
1 changed files with 20 additions and 11 deletions
|
@ -75,6 +75,7 @@
|
||||||
#:use-module (gnu packages glib) ;intltool
|
#:use-module (gnu packages glib) ;intltool
|
||||||
#:use-module (gnu packages gnome)
|
#:use-module (gnu packages gnome)
|
||||||
#:use-module (gnu packages gperf)
|
#:use-module (gnu packages gperf)
|
||||||
|
#:use-module (gnu packages graph)
|
||||||
#:use-module (gnu packages graphviz)
|
#:use-module (gnu packages graphviz)
|
||||||
#:use-module (gnu packages gstreamer)
|
#:use-module (gnu packages gstreamer)
|
||||||
#:use-module (gnu packages gtk)
|
#:use-module (gnu packages gtk)
|
||||||
|
@ -1037,7 +1038,7 @@ applications, X servers (rootless or fullscreen) or other display servers.")
|
||||||
(define-public weston
|
(define-public weston
|
||||||
(package
|
(package
|
||||||
(name "weston")
|
(name "weston")
|
||||||
(version "6.0.1")
|
(version "9.0.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
@ -1045,10 +1046,11 @@ applications, X servers (rootless or fullscreen) or other display servers.")
|
||||||
"weston-" version ".tar.xz"))
|
"weston-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1d2m658ll8x7prlsfk71qgw89c7dz6y7d6nndfxwl49fmrd6sbxz"))))
|
"1zlql0xgiqc3pvgbpnnvj4xvpd91pwva8qf83xfb23if377ddxaw"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("mscgen" ,mscgen)
|
||||||
|
("pkg-config" ,pkg-config)
|
||||||
("xorg-server" ,xorg-server)))
|
("xorg-server" ,xorg-server)))
|
||||||
(inputs
|
(inputs
|
||||||
`(("cairo" ,cairo-xcb)
|
`(("cairo" ,cairo-xcb)
|
||||||
|
@ -1069,19 +1071,26 @@ applications, X servers (rootless or fullscreen) or other display servers.")
|
||||||
("mtdev" ,mtdev)
|
("mtdev" ,mtdev)
|
||||||
("linux-pam" ,linux-pam)
|
("linux-pam" ,linux-pam)
|
||||||
("pango" ,pango)
|
("pango" ,pango)
|
||||||
|
("pipewire" ,pipewire)
|
||||||
("wayland" ,wayland)
|
("wayland" ,wayland)
|
||||||
("wayland-protocols" ,wayland-protocols)
|
("wayland-protocols" ,wayland-protocols)
|
||||||
("xorg-server-xwayland" ,xorg-server-xwayland)))
|
("xorg-server-xwayland" ,xorg-server-xwayland)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list "-Dbackend-rdp=false" ; TODO: Enable.
|
(list
|
||||||
"-Dremoting=false" ; TODO: Enable.
|
;; Otherwise, the RUNPATH will lack the final path component.
|
||||||
"-Dsimple-dmabuf-drm=auto"
|
(string-append "-Dc_link_args=-Wl,-rpath="
|
||||||
"-Dsystemd=false"
|
(assoc-ref %outputs "out") "/lib:"
|
||||||
(string-append "-Dxwayland-path="
|
(assoc-ref %outputs "out") "/lib/weston:"
|
||||||
(assoc-ref %build-inputs "xorg-server-xwayland")
|
(assoc-ref %outputs "out") "/lib/libweston-"
|
||||||
"/bin/Xwayland"))
|
,(version-major (package-version this-package)))
|
||||||
#:parallel-tests? #f ; Parallel tests cause failures.
|
"-Dbackend-rdp=false" ; TODO: Enable.
|
||||||
|
"-Dremoting=false" ; TODO: Enable.
|
||||||
|
"-Dsystemd=false"
|
||||||
|
(string-append "-Dxwayland-path="
|
||||||
|
(assoc-ref %build-inputs "xorg-server-xwayland")
|
||||||
|
"/bin/Xwayland"))
|
||||||
|
#:parallel-tests? #f ; Parallel tests cause failures.
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-before 'configure 'use-elogind
|
(add-before 'configure 'use-elogind
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue