This package provides the Mesa OpenGL Utility library.
Download (HTTP): https://archive.mesa3d.org/glu/glu-9.0.3.tar.xz
OpenGL (libglvnd or Mesa; only the normal installation is required for either)
Install GLU by running the following commands:
mkdir build && cd build && meson setup .. \ --prefix=$XORG_PREFIX \ $(pkgconf libglvnd && \ echo -D gl_provider=glvnd) \ $(pkgconf --print-provides \ gl | grep "gl =" 1>&2 && \ echo -D gl_provider=gl) \ --buildtype=release && ninja
This package does not come with a test suite.
Now, as the root
user:
ninja install && rm -vf /usr/lib/libGLU.a
$(pkgconf ...): These commands check which provider OpenGL has been installed from based on pkgconf files. Then it passes the correct provider to meson to ensure this package works properly.