more hyprland packages
This commit is contained in:
9
tasks/config/hyprlang.yml
Normal file
9
tasks/config/hyprlang.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
- name: Set hyprlang config
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
hyprlang:
|
||||||
|
vers: "{{ pkgconfig.hyprlang.version }}"
|
||||||
|
repo: "{{ pkgconfig.hyprlang.repo }}"
|
||||||
|
pkg_deps: "{{ pkgconfig.hyprlang.pkg_deps }}"
|
||||||
|
build_deps: "{{ pkgconfig.hyrplang.build_deps[ansible_os_family] }}"
|
||||||
|
git_path: "{{ d_tempdir.path }}/hyprlang"
|
||||||
|
installed_files: "{{ pkgconfig.hyprlang.build_installed_files }}"
|
||||||
13
tasks/pkgs/hyprlang.yml
Normal file
13
tasks/pkgs/hyprlang.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
- name: Ensure pkg_deps are added
|
||||||
|
loop: hyprlang.pkg_deps
|
||||||
|
loop_control:
|
||||||
|
loop_var: pkg_dep
|
||||||
|
vars:
|
||||||
|
pkg: "{{ pkg_dep }}"
|
||||||
|
ansible.builtin.include_tasks:
|
||||||
|
file: addpkg.yml
|
||||||
|
|
||||||
|
- name: Append to pkg_src
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
pkg_sys: "{{ pkg_sys + hyprlang.build_deps }}"
|
||||||
|
pkg_src: "{{ pkg_src + ['hyprlang'] }}"
|
||||||
58
tasks/src/hyprlang.yml
Normal file
58
tasks/src/hyprlang.yml
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
- name: Remove existing install
|
||||||
|
when:
|
||||||
|
- hyprland_clean
|
||||||
|
become: "{{ ext_become }}"
|
||||||
|
loop: hyprlang.installed_files
|
||||||
|
loop_control:
|
||||||
|
loop_var: file
|
||||||
|
ansible.builtin.file:
|
||||||
|
state: absent
|
||||||
|
path: "{{ path.prefix }}/{{ file }}"
|
||||||
|
|
||||||
|
- name: Build and install hyprlang
|
||||||
|
block:
|
||||||
|
- name: Clone git repository
|
||||||
|
ansible.builtin.git:
|
||||||
|
depth: 1
|
||||||
|
dest: "{{ hyprlang.git_path }}"
|
||||||
|
repo: "{{ hyprlang.repo }}"
|
||||||
|
version: "{{ hyprlang.vers }}"
|
||||||
|
|
||||||
|
- name: Configure hyprlang
|
||||||
|
ansible.builtin.command:
|
||||||
|
creates: "{{ hyprlang.git_path }}/build"
|
||||||
|
chdir: "{{ hyprlang.git_path }}"
|
||||||
|
argv:
|
||||||
|
- cmake
|
||||||
|
- --no-warn-unused-cli
|
||||||
|
- DCMAKE_BUILD_TYPE=Release
|
||||||
|
- -DCMAKE_INSTALL_PREFIX={{ path.prefix }}
|
||||||
|
- -S
|
||||||
|
- .
|
||||||
|
- -B
|
||||||
|
- ./build
|
||||||
|
|
||||||
|
- name: Build hyprlang
|
||||||
|
ansible.builtin.command:
|
||||||
|
creates: "{{ hyprlang.git_path }}/build/hyprlang.pc"
|
||||||
|
chdir: "{{ hyprlang.git_path }}"
|
||||||
|
argv:
|
||||||
|
- cmake
|
||||||
|
- --build
|
||||||
|
- ./build
|
||||||
|
- --config
|
||||||
|
- Release
|
||||||
|
- --target
|
||||||
|
- all
|
||||||
|
- -j
|
||||||
|
- "{{ ansible_processor_nproc|int }}"
|
||||||
|
|
||||||
|
- name: Install hyprlang
|
||||||
|
become: "{{ ext_become }}"
|
||||||
|
ansible.builtin.command:
|
||||||
|
creates: "{{ path.bin }}/hyprlang"
|
||||||
|
chdir: "{{ hyprlang.git_path }}"
|
||||||
|
argv:
|
||||||
|
- cmake
|
||||||
|
- --install
|
||||||
|
- ./build
|
||||||
@@ -2,107 +2,108 @@
|
|||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
vars:
|
vars:
|
||||||
testpkgs:
|
testpkgs:
|
||||||
- air
|
- hyprland
|
||||||
- alacritty
|
# - air
|
||||||
- ansible-language-server
|
# - alacritty
|
||||||
- ansible-lint
|
# - ansible-language-server
|
||||||
- ansible
|
# - ansible-lint
|
||||||
- bashls
|
# - ansible
|
||||||
- bat
|
# - bashls
|
||||||
- bitwarden
|
# - bat
|
||||||
- blender
|
# - bitwarden
|
||||||
- broot
|
# - blender
|
||||||
- btop
|
# - broot
|
||||||
- buf
|
# - btop
|
||||||
- bufls
|
# - buf
|
||||||
- carapace
|
# - bufls
|
||||||
- cheat
|
# - carapace
|
||||||
- checkmake
|
# - cheat
|
||||||
- choose
|
# - checkmake
|
||||||
- clangd
|
# - choose
|
||||||
- cmake
|
# - clangd
|
||||||
- cmakelang
|
# - cmake
|
||||||
- commitlint-cli
|
# - cmakelang
|
||||||
- commitlint-config-conventional
|
# - commitlint-cli
|
||||||
- consul
|
# - commitlint-config-conventional
|
||||||
- cssls
|
# - consul
|
||||||
- curlie
|
# - cssls
|
||||||
- dbeaver
|
# - curlie
|
||||||
- direnv
|
# - dbeaver
|
||||||
- dockerls
|
# - direnv
|
||||||
- dotenv-linter
|
# - dockerls
|
||||||
- duf
|
# - dotenv-linter
|
||||||
- dust
|
# - duf
|
||||||
- editorconfig
|
# - dust
|
||||||
- eslint
|
# - editorconfig
|
||||||
- eza
|
# - eslint
|
||||||
- fd
|
# - eza
|
||||||
- firefox
|
# - fd
|
||||||
- flatpak
|
# - firefox
|
||||||
- fzf
|
# - flatpak
|
||||||
- ghostty
|
# - fzf
|
||||||
- git
|
# - ghostty
|
||||||
- glow
|
# - git
|
||||||
- go
|
# - glow
|
||||||
- godot
|
# - go
|
||||||
- gopls
|
# - godot
|
||||||
- gping
|
# - gopls
|
||||||
- heroic
|
# - gping
|
||||||
- htmlls
|
# - heroic
|
||||||
- htmx-lsp
|
# - htmlls
|
||||||
- httpie
|
# - htmx-lsp
|
||||||
- hugo
|
# - httpie
|
||||||
- hyperfine
|
# - hugo
|
||||||
- intelephense
|
# - hyperfine
|
||||||
- jinja-lsp
|
# - intelephense
|
||||||
- jq
|
# - jinja-lsp
|
||||||
- jsonls
|
# - jq
|
||||||
- kitty
|
# - jsonls
|
||||||
- lazygit
|
# - kitty
|
||||||
- libreoffice
|
# - lazygit
|
||||||
- lua-language-server
|
# - libreoffice
|
||||||
- markdownlint-cli
|
# - lua-language-server
|
||||||
- mcfly
|
# - markdownlint-cli
|
||||||
- neovide
|
# - mcfly
|
||||||
- neovim
|
# - neovide
|
||||||
- nerdfonts
|
# - neovim
|
||||||
- nextcloud
|
# - nerdfonts
|
||||||
- nginxls
|
# - nextcloud
|
||||||
- nodejs
|
# - nginxls
|
||||||
- nomad
|
# - nodejs
|
||||||
- packer
|
# - nomad
|
||||||
- pandoc
|
# - packer
|
||||||
- pgadmin
|
# - pandoc
|
||||||
- pipx
|
# - pgadmin
|
||||||
- podman
|
# - pipx
|
||||||
- pyright
|
# - podman
|
||||||
- python3
|
# - pyright
|
||||||
- quobix-vacuum
|
# - python3
|
||||||
- revive
|
# - quobix-vacuum
|
||||||
- ripgrep
|
# - revive
|
||||||
- rust
|
# - ripgrep
|
||||||
- sd
|
# - rust
|
||||||
- sqlfluff
|
# - sd
|
||||||
- sqlls
|
# - sqlfluff
|
||||||
- starship
|
# - sqlls
|
||||||
- stow
|
# - starship
|
||||||
- tailscale
|
# - stow
|
||||||
- tailwindcss-languageserver
|
# - tailscale
|
||||||
- templ
|
# - tailwindcss-languageserver
|
||||||
- terraform
|
# - templ
|
||||||
- terraformls
|
# - terraform
|
||||||
- thunderbird
|
# - terraformls
|
||||||
- tidy
|
# - thunderbird
|
||||||
- tldr
|
# - tidy
|
||||||
- tmux
|
# - tldr
|
||||||
- vault
|
# - tmux
|
||||||
- xh
|
# - vault
|
||||||
- yamlls
|
# - xh
|
||||||
- zfs
|
# - yamlls
|
||||||
- zig
|
# - zfs
|
||||||
- zls
|
# - zig
|
||||||
- zoxide
|
# - zls
|
||||||
- zsh
|
# - zoxide
|
||||||
|
# - zsh
|
||||||
tasks:
|
tasks:
|
||||||
- name: Test all packages with use_local=false
|
- name: Test all packages with use_local=false
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ aquamarine:
|
|||||||
version: v0.7.2
|
version: v0.7.2
|
||||||
repo: https://github.com/hyprwm/aquamarine
|
repo: https://github.com/hyprwm/aquamarine
|
||||||
pkg_deps:
|
pkg_deps:
|
||||||
- hyprwayland-scanner
|
- hyprwayland_scanner
|
||||||
- hyprutils
|
- hyprutils
|
||||||
build_deps:
|
build_deps:
|
||||||
RedHat:
|
RedHat:
|
||||||
|
|||||||
7
vars/pkgs/hyprcursor.yml
Normal file
7
vars/pkgs/hyprcursor.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
hyprcursor:
|
||||||
|
version:
|
||||||
|
repo: https://github.com/hyprwm/hyprcursor
|
||||||
|
pkg_deps: []
|
||||||
|
build_deps:
|
||||||
|
RedHat: []
|
||||||
|
build_installed_file: []
|
||||||
@@ -2,6 +2,11 @@ hyprland:
|
|||||||
version: v0.47.2
|
version: v0.47.2
|
||||||
repo: https://github.com/hyprwm/Hyprland
|
repo: https://github.com/hyprwm/Hyprland
|
||||||
pkg_deps:
|
pkg_deps:
|
||||||
|
- hyprwayland_scanner
|
||||||
|
- hyprutils
|
||||||
|
- hyprlang
|
||||||
|
- hyprcursor
|
||||||
|
- hyprgraphics
|
||||||
- aquamarine
|
- aquamarine
|
||||||
build_deps:
|
build_deps:
|
||||||
RedHat:
|
RedHat:
|
||||||
@@ -27,3 +32,4 @@ hyprland:
|
|||||||
- xcb-util-renderutil-devel
|
- xcb-util-renderutil-devel
|
||||||
- xcb-util-wm-devel
|
- xcb-util-wm-devel
|
||||||
- xorg-x11-server-Xwayland-devel
|
- xorg-x11-server-Xwayland-devel
|
||||||
|
build_installed_files: []
|
||||||
|
|||||||
7
vars/pkgs/hyprlang.yml
Normal file
7
vars/pkgs/hyprlang.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
hyprlang:
|
||||||
|
version: v0.6.0
|
||||||
|
repo: https://github.com/hyprwm/hyprlang
|
||||||
|
pkg_deps: []
|
||||||
|
build_deps:
|
||||||
|
RedHat: []
|
||||||
|
build_installed_files: []
|
||||||
Reference in New Issue
Block a user