standarizing cmake builds
This commit is contained in:
@@ -8,27 +8,3 @@ alacritty:
|
||||
cargo:
|
||||
locked: true
|
||||
name: alacritty
|
||||
build_deps:
|
||||
RedHat:
|
||||
- cmake
|
||||
- fontconfig-devel
|
||||
- freetype-devel
|
||||
- g++
|
||||
- libxcb-devel
|
||||
- libxkbcommon-devel
|
||||
Debian:
|
||||
- cmake
|
||||
- libfontconfig1-dev
|
||||
- libfreetype6-dev
|
||||
- libxcb-xfixes0-dev
|
||||
- libxkbcommon-dev
|
||||
- pkg-config
|
||||
- python3
|
||||
Alpine:
|
||||
- cmake
|
||||
- fontconfig-dev
|
||||
- freetype-dev
|
||||
- g++
|
||||
- libxcb-dev
|
||||
- libxkbcommon-dev
|
||||
- pkgconf
|
||||
|
||||
@@ -2,64 +2,6 @@
|
||||
---
|
||||
aquamarine:
|
||||
version: v0.8.0
|
||||
repo: "{{ hyprgitbase }}/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
|
||||
- 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
|
||||
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"
|
||||
|
||||
@@ -2,26 +2,5 @@
|
||||
---
|
||||
hyprcursor:
|
||||
version: v0.1.12
|
||||
repo: "{{ hyprgitbase }}/hyprcursor"
|
||||
pkg_deps:
|
||||
- hyprlang
|
||||
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"
|
||||
|
||||
@@ -5,30 +5,3 @@ hyprgraphics:
|
||||
repo: "{{ hyprgitbase }}/hyprgraphics"
|
||||
pkg_deps:
|
||||
- hyprutils
|
||||
build_deps:
|
||||
RedHat:
|
||||
- pixman-devel
|
||||
- cairo-devel
|
||||
- libjpeg-turbo-devel
|
||||
- libwebp-devel
|
||||
- libjxl-devel
|
||||
- libjxl-devtools
|
||||
- libjxl-utils
|
||||
- file-devel
|
||||
- file-libs
|
||||
- libspng-devel
|
||||
Alpine:
|
||||
- pixman-dev
|
||||
- cairo-dev
|
||||
- libjpeg-turbo-dev
|
||||
- libwebp-dev
|
||||
- libjxl-dev
|
||||
- file-dev
|
||||
- file
|
||||
- libspng-dev
|
||||
build_installed_files:
|
||||
- "{{ lib_path }}/libhyprgraphics.so.0.1.2"
|
||||
- "{{ lib_path }}/libhyprgraphics.so.0"
|
||||
- "{{ lib_path }}/libhyprgraphics.so"
|
||||
- include/hyprgraphics
|
||||
- "{{ lib_path }}/pkgconfig/hyprgraphics.pc"
|
||||
|
||||
27
vars/src/alacritty.yml
Normal file
27
vars/src/alacritty.yml
Normal file
@@ -0,0 +1,27 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
alacritty:
|
||||
deps:
|
||||
RedHat:
|
||||
- cmake
|
||||
- fontconfig-devel
|
||||
- freetype-devel
|
||||
- g++
|
||||
- libxcb-devel
|
||||
- libxkbcommon-devel
|
||||
Debian:
|
||||
- cmake
|
||||
- libfontconfig1-dev
|
||||
- libfreetype6-dev
|
||||
- libxcb-xfixes0-dev
|
||||
- libxkbcommon-dev
|
||||
- pkg-config
|
||||
- python3
|
||||
Alpine:
|
||||
- cmake
|
||||
- fontconfig-dev
|
||||
- freetype-dev
|
||||
- g++
|
||||
- libxcb-dev
|
||||
- libxkbcommon-dev
|
||||
- pkgconf
|
||||
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"
|
||||
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"
|
||||
30
vars/src/hyrpgraphics.yml
Normal file
30
vars/src/hyrpgraphics.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
# vim: set filetype=yaml.ansible :
|
||||
---
|
||||
hyprgraphics:
|
||||
deps:
|
||||
RedHat:
|
||||
- pixman-devel
|
||||
- cairo-devel
|
||||
- libjpeg-turbo-devel
|
||||
- libwebp-devel
|
||||
- libjxl-devel
|
||||
- libjxl-devtools
|
||||
- libjxl-utils
|
||||
- file-devel
|
||||
- file-libs
|
||||
- libspng-devel
|
||||
Alpine:
|
||||
- pixman-dev
|
||||
- cairo-dev
|
||||
- libjpeg-turbo-dev
|
||||
- libwebp-dev
|
||||
- libjxl-dev
|
||||
- file-dev
|
||||
- file
|
||||
- libspng-dev
|
||||
build_installed_files:
|
||||
- "{{ lib_path }}/libhyprgraphics.so.0.1.2"
|
||||
- "{{ lib_path }}/libhyprgraphics.so.0"
|
||||
- "{{ lib_path }}/libhyprgraphics.so"
|
||||
- include/hyprgraphics
|
||||
- "{{ lib_path }}/pkgconfig/hyprgraphics.pc"
|
||||
Reference in New Issue
Block a user