2024-02-16 18:03:19 -05:00
|
|
|
{#
|
|
|
|
SPDX-FileCopyrightText: 2024 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#}
|
|
|
|
|
|
|
|
{% if grains['nodename'] != 'dom0' -%}
|
|
|
|
|
|
|
|
include:
|
2024-03-18 11:29:01 -04:00
|
|
|
- utils.tools.common.update
|
2024-02-16 18:03:19 -05:00
|
|
|
- .install-common
|
|
|
|
- dotfiles.copy-ssh
|
|
|
|
- dotfiles.copy-git
|
|
|
|
- sys-git.install-client
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-source-installed":
|
|
|
|
pkg.installed:
|
2024-03-18 11:29:01 -04:00
|
|
|
- require:
|
|
|
|
- sls: utils.tools.common.update
|
2024-02-16 18:03:19 -05:00
|
|
|
- install_recommends: False
|
|
|
|
- skip_suggestions: True
|
|
|
|
- pkgs:
|
|
|
|
- clang
|
|
|
|
- ccache
|
|
|
|
- help2man
|
|
|
|
|
|
|
|
{% set pkg = {
|
|
|
|
'Debian': {
|
|
|
|
'pkg': ['build-essential', 'libtool', 'autotools-dev', 'automake',
|
|
|
|
'pkg-config', 'bsdmainutils', 'python3', 'libevent-dev',
|
|
|
|
'libboost-dev', 'libsqlite3-dev', 'libzmq3-dev'],
|
|
|
|
},
|
|
|
|
'RedHat': {
|
|
|
|
'pkg': ['gcc-c++', 'libtool', 'make', 'autoconf', 'automake', 'python3',
|
|
|
|
'libevent-devel', 'boost-devel', 'sqlite-devel', 'zeromq-devel'],
|
|
|
|
},
|
|
|
|
}.get(grains.os_family) -%}
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-source-installed-os-specific":
|
|
|
|
pkg.installed:
|
2024-03-18 11:29:01 -04:00
|
|
|
- require:
|
|
|
|
- sls: utils.tools.common.update
|
2024-02-16 18:03:19 -05:00
|
|
|
- install_recommends: False
|
|
|
|
- skip_suggestions: True
|
|
|
|
- pkgs: {{ pkg.pkg|sequence|yaml }}
|
|
|
|
|
|
|
|
{% set pkg = {
|
|
|
|
'Debian': {
|
2024-06-17 15:52:30 -04:00
|
|
|
'pkg': ['qtbase5-dev', 'qttools5-dev',
|
2024-02-16 18:03:19 -05:00
|
|
|
'qttools5-dev-tools', 'libqrencode-dev'],
|
|
|
|
},
|
|
|
|
'RedHat': {
|
|
|
|
'pkg': ['qt5-qttools-devel', 'qt5-qtbase-devel', 'qrencode-devel'],
|
|
|
|
},
|
|
|
|
}.get(grains.os_family) -%}
|
|
|
|
|
|
|
|
"{{ slsdotpath }}-source-qt-installed-os-specific":
|
|
|
|
pkg.installed:
|
2024-03-18 11:29:01 -04:00
|
|
|
- require:
|
|
|
|
- sls: utils.tools.common.update
|
2024-02-16 18:03:19 -05:00
|
|
|
- install_recommends: False
|
|
|
|
- skip_suggestions: True
|
|
|
|
- pkgs: {{ pkg.pkg|sequence|yaml }}
|
|
|
|
|
|
|
|
{% endif -%}
|