add helpers for git cloning and building
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user