Find a file
Vaxry e19ee9031a
Some checks are pending
Build & Test (Arch) / Arch: Build and Test (gcc) (push) Waiting to run
Build & Test (Arch) / Arch: Build and Test (clang) (push) Waiting to run
Build & Test / nix (hyprgraphics) (push) Waiting to run
Build & Test / nix (hyprgraphics-with-tests) (push) Waiting to run
version: bump to 0.1.2
2025-02-04 16:55:19 +00:00
.github/workflows CI/Arch/Clang: add libspng 2025-01-27 15:43:56 +02:00
include/hyprgraphics color: Add color 2024-12-03 17:52:39 +00:00
nix Nix: add libspng dep 2025-01-27 15:42:22 +02:00
src png: handle invalid buffer size returned by libspng 2025-01-27 23:00:29 +00:00
tests tests: add a symlink test (#10) 2025-02-01 20:10:59 +01:00
.clang-format core: add clang-format 2024-11-28 15:29:49 +00:00
.gitignore tests: add a symlink test (#10) 2025-02-01 20:10:59 +01:00
CMakeLists.txt core: move to libspng for png 2025-01-27 13:39:39 +00:00
flake.lock flake.lock: update 2025-01-23 14:21:29 +02:00
flake.nix Nix: init 2024-11-26 13:57:40 +02: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 core: move to libspng for png 2025-01-27 13:39:39 +00:00
VERSION version: bump to 0.1.2 2025-02-04 16:55:19 +00: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
  • libspng

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