Find a file
Linux User 621e2e00f1
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
formats: include vector header (#34)
Fixes error `no member named 'vector' in namespace 'std'` on llvm/musl
2025-09-03 11:21:59 +02:00
.github/workflows chore: replace libspng with libpng in README.md and CI/Arch (#30) 2025-08-04 12:56:53 +02:00
include/hyprgraphics formats: add optional AVIF image support with libheif (#32) 2025-08-20 09:30:02 +01:00
nix formats: add optional AVIF image support with libheif (#32) 2025-08-20 09:30:02 +01:00
src formats: include vector header (#34) 2025-09-03 11:21:59 +02:00
tests formats: add optional AVIF image support with libheif (#32) 2025-08-20 09:30:02 +01:00
.clang-format core: add clang-format 2024-11-28 15:29:49 +00:00
.clang-tidy core: clang-tidy & comp changes (#15) 2025-04-19 00:31:30 +02:00
.gitignore tests: add a symlink test (#10) 2025-02-01 20:10:59 +01:00
CMakeLists.txt formats: add optional AVIF image support with libheif (#32) 2025-08-20 09:30:02 +01:00
flake.lock nix: update to gcc15 (#21) 2025-06-05 18:46:40 +01:00
flake.nix nix: update to gcc15 (#21) 2025-06-05 18:46:40 +01:00
hyprgraphics.pc.in core: Add image and cairo 2024-11-22 15:02:12 +00:00
LICENSE Initial commit 2024-11-22 14:16:34 +00:00
README.md chore: replace libspng with libpng in README.md and CI/Arch (#30) 2025-08-04 12:56:53 +02:00
VERSION version: bump to 0.1.5 2025-07-10 14:05:40 +02:00

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.

Dependencies

Requires a compiler with C++26 support.

Dep list:

  • pixman-1
  • cairo
  • hyprutils
  • libjpeg
  • libwebp
  • libjxl [optional]
  • libjxl_cms [optional]
  • libjxl_threads [optional]
  • libmagic
  • libpng

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