mirror of
https://github.com/hyprwm/hyprgraphics.git
synced 2024-12-25 19:49:49 +01:00
Read-only mirror of https://github.com/hyprwm/hyprgraphics
0f9b8ca692
Some checks failed
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Has been cancelled
Build & Test (Arch) / Arch: Build and Test (clang) (push) Has been cancelled
Build & Test / nix (hyprgraphics) (push) Has been cancelled
Build & Test / nix (hyprgraphics-with-tests) (push) Has been cancelled
src/color/Color.cpp:71:66: error: no member named 'min' in namespace 'std'; did you mean 'fmin'? 71 | const double vmax = std::max(std::max(r, g), b), vmin = std::min(std::min(r, g), b); | ~~~~~^~~ | fmin /usr/include/c++/v1/cmath:447:9: note: 'fmin' declared here 447 | using ::fmin _LIBCPP_USING_IF_EXISTS; | ^ src/color/Color.cpp:71:75: error: no member named 'min' in namespace 'std'; did you mean 'fmin'? 71 | const double vmax = std::max(std::max(r, g), b), vmin = std::min(std::min(r, g), b); | ~~~~~^~~ | fmin /usr/include/c++/v1/cmath:447:9: note: 'fmin' declared here 447 | using ::fmin _LIBCPP_USING_IF_EXISTS; | ^ |
||
---|---|---|
.github/workflows | ||
include/hyprgraphics | ||
nix | ||
src | ||
tests | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
flake.lock | ||
flake.nix | ||
hyprgraphics.pc.in | ||
LICENSE | ||
README.md | ||
VERSION |
hyprgraphics
Hyprgraphics is a small C++ library with graphics / resource related utilities used across the hypr* ecosystem.
Stability
Hyprgraphics depends on the ABI stability of the stdlib implementation of your compiler. Sover bumps will be done only for hyprgraphics ABI breaks, not stdlib.
Building
git clone https://github.com/hyprwm/hyprgraphics
cd hyprgraphics/
cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Release -DCMAKE_INSTALL_PREFIX:PATH=/usr -S . -B ./build
cmake --build ./build --config Release --target all -j`nproc 2>/dev/null || getconf NPROCESSORS_CONF`
sudo cmake --install build