standarizing cmake builds
This commit is contained in:
61
vars/src/aquamarine.yml
Normal file
61
vars/src/aquamarine.yml
Normal file
@@ -0,0 +1,61 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
aquamarine:
|
||||
gitrepo: "{{ hyprgitbase }}/aquamarine"
|
||||
src_path: "{{ d_tempdir.path }}/aquamarine"
|
||||
deps:
|
||||
RedHat:
|
||||
- hwdata-devel
|
||||
- libdisplay-info-devel
|
||||
- libdrm-devel
|
||||
- libinput-devel
|
||||
- libseat-devel
|
||||
- mesa-libgbm-devel
|
||||
- systemd-devel
|
||||
- wayland-devel
|
||||
- wayland-protocols-devel
|
||||
Alpine:
|
||||
- build-base
|
||||
- elogind-dev
|
||||
- hwdata-dev
|
||||
- libdisplay-info-dev
|
||||
- libdrm-dev
|
||||
- libinput-dev
|
||||
- libseat-dev
|
||||
- mesa-gbm
|
||||
- mesa-dev
|
||||
- wayland-dev
|
||||
- wayland-protocols
|
||||
configure:
|
||||
- cmake
|
||||
- --no-warn-unused-cli
|
||||
- -DCMAKE_BUILD_TYPE=Release
|
||||
- -DCMAKE_INSTALL_PREFIX={{ root_prefix }}
|
||||
- -S
|
||||
- .
|
||||
- -B
|
||||
- ./build
|
||||
build_creates: "{{ d_tempdir.path }}/build/libaquamarine.so"
|
||||
build:
|
||||
- cmake
|
||||
- --build
|
||||
- ./build
|
||||
- --config
|
||||
- Release
|
||||
- --target
|
||||
- all
|
||||
- -j
|
||||
- "{{ ansible_processor_nproc | int }}"
|
||||
build_installs: "{{ root_prefix }}/{{ lib_path }}/libaquamarine.so"
|
||||
install:
|
||||
- cmake
|
||||
- --install
|
||||
- ./build
|
||||
build_installed_files:
|
||||
- "{{ lib_path }}/libaquamarine.so.0.8.0"
|
||||
- "{{ lib_path }}/libaquamarine.so.7"
|
||||
- "{{ lib_path }}/libaquamarine.so.0.7.2"
|
||||
- "{{ lib_path }}libaquamarine.so.6"
|
||||
- "{{ lib_path }}/libaquamarine.so"
|
||||
- include/aquamarine
|
||||
- "{{ lib_path }}/pkgconfig/aquamarine.pc"
|
||||
Reference in New Issue
Block a user