standarizing cmake builds
This commit is contained in:
50
vars/src/hyprcursor.yml
Normal file
50
vars/src/hyprcursor.yml
Normal file
@@ -0,0 +1,50 @@
|
||||
# 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"
|
||||
Reference in New Issue
Block a user