add helpers for git cloning and building

This commit is contained in:
Matthew Stobbs
2025-03-31 19:44:02 -06:00
parent dc120c0fec
commit 6593947256
5 changed files with 68 additions and 50 deletions

View File

@@ -6,6 +6,32 @@ aquamarine:
pkg_deps:
- hyprwayland_scanner
- hyprutils
build:
configure:
- cmake
- --no-warn-unused-cli
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX={{ hyprland.prefix }}
- -S
- .
- -B
- ./build
creates: build/libaquamarine.so
build:
- cmake
- --build
- ./build
- --config
- Release
- --target
- all
- -j
- "{{ ansible_processor_nproc | int }}"
installs: "{{ lib_path }}/libaquamarine.so"
install:
- cmake
- --install
- ./build
build_deps:
RedHat:
- hwdata-devel