Files
ansible_role_package/vars/src/hyprcursor.yml
2025-03-31 21:17:22 -06:00

51 lines
1.2 KiB
YAML

# vim: set filetype=yaml.ansible :
---
hyprcursor:
gitrepo: "{{ hyprgitbase }}/hyprcursor"
src_path: "{{ d_tempdir.path }}/hyprcursor"
configure:
- cmake
- --no-warn-unused-cli
- DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX={{ hyprland.prefix }}
- -S
- .
- -B
- ./build
build_creates: "{{ d_tempdir.path }}/hyprcursor/build/libhyprcursor.so"
build:
- cmake
- --build
- ./build
- --config
- Release
- --target
- all
- -j
- "{{ ansible_processor_nproc | int }}"
install_creates: "{{ root_prefix }}/bin/hyprcursor-util"
install:
- cmake
- --install
- ./build
deps:
RedHat:
- cairo-devel
- libzip-devel
- librsvg2-devel
- tomlplusplus-devel
Alpine:
- cairo-dev
- libzip-dev
- librsvg-dev
- tomlplusplus-dev
build_installed_files:
- "{{ lib_path }}/libhyprcursor.so.0.1.12"
- "{{ lib_path }}/libhyprcursor.so.0.1.11"
- "{{ lib_path }}/libhyprcursor.so.0"
- "{{ lib_path }}/libhyprcursor.so"
- include/hyprcursor.hpp
- bin/hyprcursor-util
- include/hyprcursor
- "{{ lib_path }}/pkgconfig/hyprcursor.pc"