hyprgraphics/README.md

35 lines
866 B
Markdown
Raw Permalink Normal View History

2024-11-22 14:16:34 +00:00
# hyprgraphics
2024-11-22 15:02:12 +00:00
Hyprgraphics is a small C++ library with graphics / resource related utilities used across the hypr* ecosystem.
## Stability
2024-11-22 15:09:49 +00:00
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.
2024-11-22 15:02:12 +00:00
2025-01-01 00:07:26 +08:00
## Dependencies
Requires a compiler with C++26 support.
Dep list:
- pixman-1
- cairo
- hyprutils
- libjpeg
- libwebp
- libjxl [optional]
- libjxl_cms [optional]
- libjxl_threads [optional]
2025-01-01 00:07:26 +08:00
- libmagic
- libpng
2025-09-30 19:31:50 +01:00
- librsvg2
2025-01-01 00:07:26 +08:00
2024-11-22 15:02:12 +00:00
## Building
```sh
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`
2024-11-22 15:02:12 +00:00
sudo cmake --install build
```