mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-07-28 03:38:46 +00:00
fix(openhmd): add meson as a dependency
This commit is contained in:
parent
e19df22cce
commit
09172d6f6c
1 changed files with 21 additions and 2 deletions
|
@ -1,10 +1,29 @@
|
||||||
use super::{
|
use super::{
|
||||||
common::{dep_cmake, dep_gcc, dep_git, dep_gpp, dep_ninja},
|
common::{dep_gcc, dep_git, dep_gpp, dep_ninja},
|
||||||
Dependency, DependencyCheckResult,
|
Dependency, DependencyCheckResult,
|
||||||
};
|
};
|
||||||
|
use crate::linux_distro::LinuxDistro;
|
||||||
|
use std::collections::HashMap;
|
||||||
|
|
||||||
fn openhmd_deps() -> Vec<Dependency> {
|
fn openhmd_deps() -> Vec<Dependency> {
|
||||||
vec![dep_gcc(), dep_gpp(), dep_cmake(), dep_ninja(), dep_git()]
|
vec![
|
||||||
|
dep_gcc(),
|
||||||
|
dep_gpp(),
|
||||||
|
dep_ninja(),
|
||||||
|
dep_git(),
|
||||||
|
Dependency {
|
||||||
|
name: "meson".into(),
|
||||||
|
filename: "meson".into(),
|
||||||
|
dep_type: crate::depcheck::DepType::Executable,
|
||||||
|
packages: HashMap::from([
|
||||||
|
(LinuxDistro::Arch, "meson".into()),
|
||||||
|
(LinuxDistro::Debian, "meson".into()),
|
||||||
|
(LinuxDistro::Fedora, "meson".into()),
|
||||||
|
(LinuxDistro::Alpine, "meson".into()),
|
||||||
|
(LinuxDistro::Suse, "meson".into()),
|
||||||
|
]),
|
||||||
|
},
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn check_openhmd_deps() -> Vec<DependencyCheckResult> {
|
pub fn check_openhmd_deps() -> Vec<DependencyCheckResult> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue