From 4c980a2b9af6cc33abb85713a989d55c1e654b9c Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Wed, 27 Jul 2022 14:37:20 +0200 Subject: [PATCH] gnu: rust-wayland-egl: Add 0.29.4. * gnu/packages/crates-graphics.scm (rust-wayland-egl-0.29): New variable. (rust-wayland-egl-0.28): Inherit from it. --- gnu/packages/crates-graphics.scm | 38 +++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 10 deletions(-) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 7b64c46065..d69a8292de 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -2655,8 +2655,35 @@ and load them into WlBuffers as well as obtain the necessary metadata to properly display animated cursors.") (license license:expat))) +(define-public rust-wayland-egl-0.29 + (package + (name "rust-wayland-egl") + (version "0.29.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "wayland-egl" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0flslbp8q4nv3hcw941vapn3jh6y7glqaqv63h1mjaqnxrlisa43")))) + (build-system cargo-build-system) + (inputs + (list rust-wayland-client-0.29 rust-wayland-sys-0.29)) + ;; For the PKG_CONFIG_PATH environment variable. + (native-inputs + (list pkg-config)) + (home-page "https://github.com/smithay/wayland-rs") + (synopsis "Bindings to libwayland-egl") + (description + "This crate provides bindings for OpenGL/Vulkan support for +Wayland client apps. It creates an EGLSurface from any +WlSurface, which can then play the role of the base surface for +initializing an OpenGL or Vulkan context.") + (license license:expat))) + (define-public rust-wayland-egl-0.28 (package + (inherit rust-wayland-egl-0.29) (name "rust-wayland-egl") (version "0.28.3") (source @@ -2669,17 +2696,8 @@ properly display animated cursors.") (build-system cargo-build-system) (inputs (list rust-wayland-client-0.28 rust-wayland-sys-0.28)) - ;; For the PKG_CONFIG_PATH environment variable. (native-inputs - (list pkg-config)) - (home-page "https://github.com/smithay/wayland-rs") - (synopsis "Bindings to libwayland-egl") - (description - "This crate provides bindings for OpenGL/Vulkan support for -Wayland client apps. It creates an EGLSurface from any -WlSurface, which can then play the role of the base surface for -initializing an OpenGL or Vulkan context.") - (license license:expat))) + (list pkg-config)))) (define-public rust-wayland-protocols-0.29 (package