forked from mirrors/nixpkgs
7e59877fe1
Bump abandoned package to close #132479. - Use fetchFromGitHub to download the archive. - No need for the updated platform.h patch. The released archive builds with default stdenv. (It may be needed again in the future?.) - Use the proper attribute to set CMake flags. - Don't build the (dummy?) libraries. They are not used anyway by any other target nor made available by the glmConfig.cmake file. - Build and run the tests now. - Don't define the GLM_COMPILER macro on Darwin. Doesn't seem necessary anymore, there are no errors without it. (And it is not even documented what was the original error that required it to be defined.) - Upstream became package-unfriendly and removed the install command, so it needs to be installed manually. - Don't set the now unsupported CMake option GLM_INSTALL_ENABLE. - Remove unwanted files from the include directory. - Fix glmConfig.cmake with the proper path to the include directory. - While on it, install a custom pkg-config file, since it is trivial. - Don't install unnecessary files as documentation. - Since I practically rewrote the entire derivation and the package is abandoned, add myself as maintainer (I guess?). |
||
---|---|---|
.. | ||
default.nix | ||
glm.pc.in |