feat: add libglvnd dep to basalt

This commit is contained in:
Gabriele Musco 2024-06-24 07:21:04 +02:00
parent c592fc5917
commit 495ffef93b
No known key found for this signature in database
GPG key ID: 1068D795C80E51DE

View file

@ -10,6 +10,19 @@ fn basalt_deps() -> Vec<Dependency> {
dep_gpp(),
dep_cmake(),
dep_ninja(),
Dependency {
name: "libglvnd-dev".into(),
dep_type: DepType::Include,
filename: "GL/gl.h".into(),
packages: HashMap::from([
(LinuxDistro::Arch, "libglvnd".into()),
(LinuxDistro::Debian, "libglvnd-dev".into()),
(LinuxDistro::Fedora, "libglvnd-devel".into()),
// WARN: can't find anything exact for alpine, mesa-dev offers
// GL/gl.h hopefully that's the only one needed
(LinuxDistro::Alpine, "mesa-dev".into()),
]),
},
Dependency {
name: "lz4-dev".into(),
dep_type: DepType::Include,