port hyprgraphics to using helpers

This commit is contained in:
Matthew Stobbs
2025-04-01 03:53:23 -06:00
parent f045cbfa85
commit 8814ff5bc7
3 changed files with 49 additions and 53 deletions

View File

@@ -1,6 +1,32 @@
# vim: set filetype=yaml.ansible :
---
hyprgraphics:
src_path: "{{ d_tempdir.path }}/hyprgraphics"
configure:
- cmake
- --no-warn-unused-cli
- DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX={{ hyprland.prefix }}
- -S
- .
- -B
- ./build
build_creates: "{{ d_tempdir.path }}/hyprgraphics/build/libhyprgraphics.so"
build:
- cmake
- --build
- ./build
- --config
- Release
- --target
- all
- -j
- "{{ ansible_processor_nproc | int }}"
install_creates: "{{ root_prefix }}/{{ lib_path }}/libhyprgraphics.so.0.1.2"
install:
- cmake
- --install
- ./build
deps:
RedHat:
- pixman-devel