From 2ce02a13da61634d7365961d2df95b65b34e3cda Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Tue, 19 Mar 2024 20:09:20 +0100 Subject: [PATCH] . --- zilti/packages/hyprland.scm | 38 +++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/zilti/packages/hyprland.scm b/zilti/packages/hyprland.scm index efc685d..bccba75 100644 --- a/zilti/packages/hyprland.scm +++ b/zilti/packages/hyprland.scm @@ -44,7 +44,41 @@ #:use-module (gnu packages wm) #:use-module (gnu packages xorg)) -(define-public cairo ;; SENT to Guix +(define-public glu ;; SENT to Guix + (package + (name "glu") + (version "9.0.3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.freedesktop.org/mesa/glu") + (commit (string-append "glu-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0kmzmz93qqq0kv1c680nwf8whxf0zdw68khy7ask7plb41zdbbx1")))) + (build-system meson-build-system) + (native-inputs + (list pkg-config + mesa-headers)) + (propagated-inputs + (list `("opengl" ,libglvnd))) ; according to glu.pc + (home-page "http://www.opengl.org/archives/resources/faq/technical/glu.htm") + (synopsis "Mesa OpenGL Utility library") + (description + "GLU, or OpenGL Utility Library provides some higher-level functionality +not provided by just OpenGL itself. Some of GLU's Features +include: Scaling of 2D images and creation of mipmap pyramids, +Transformation of object coordinates into device coordinates and +vice versa, Support for NURBS surfaces, Support for tessellation +of concave or bow tie polygonal primitives, Specialty transformation +matrices for creating perspective and orthographic projections, +positioning a camera, and selection/picking, Rendering of disk, +cylinder, and sphere primitives, Interpreting OpenGL error values +as ASCII text.") + (license (license:x11-style "http://directory.fsf.org/wiki/License:SGIFreeBv2")))) + +(define-public cairo-1.18.0 ;; SENT to Guix (package (name "cairo") (version "1.18.0") @@ -677,7 +711,7 @@ Wayland compositor based on wlroots") (description "Hyprland.") meson pkg-config)) (inputs - (list cairo + (list cairo-1.18.0 egl-wayland glu glfw