This commit is contained in:
Daniel Ziltener 2024-03-19 20:09:20 +01:00
parent 90e2f7ce52
commit 2ce02a13da
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -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