diff options
| author | Vaxry <vaxry@vaxry.net> | 2025-04-20 16:54:22 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2025-04-20 16:54:28 +0100 |
| commit | 9b4060f09be06250e859b27d6dd3ded5349f5546 (patch) | |
| tree | 7a2ee42a3f4523c86f8e26741ce0f138deaecd19 /hyprpm/src/core/PluginManager.cpp | |
| parent | 867bc860895ef4de7030c6a615aa10e5bfa1e133 (diff) | |
hyprpm: extend dep list
Diffstat (limited to 'hyprpm/src/core/PluginManager.cpp')
| -rw-r--r-- | hyprpm/src/core/PluginManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hyprpm/src/core/PluginManager.cpp b/hyprpm/src/core/PluginManager.cpp index 3343cbe0..ebf0e03d 100644 --- a/hyprpm/src/core/PluginManager.cpp +++ b/hyprpm/src/core/PluginManager.cpp @@ -129,7 +129,7 @@ bool CPluginManager::addNewPluginRepo(const std::string& url, const std::string& const auto HLVER = getHyprlandVersion(); if (!hasDeps()) { - std::println(stderr, "\n{}", failureString("Could not clone the plugin repository. Dependencies not satisfied. Hyprpm requires: cmake, meson, cpio, pkg-config")); + std::println(stderr, "\n{}", failureString("Could not clone the plugin repository. Dependencies not satisfied. Hyprpm requires: cmake, meson, cpio, pkg-config, git, g++, gcc")); return false; } @@ -435,7 +435,7 @@ bool CPluginManager::updateHeaders(bool force) { const auto HLVER = getHyprlandVersion(false); if (!hasDeps()) { - std::println("\n{}", failureString("Could not update. Dependencies not satisfied. Hyprpm requires: cmake, meson, cpio, pkg-config")); + std::println("\n{}", failureString("Could not update. Dependencies not satisfied. Hyprpm requires: cmake, meson, cpio, pkg-config, git, g++, gcc")); return false; } @@ -947,7 +947,7 @@ std::string CPluginManager::headerErrorShort(const eHeadersErrors err) { } bool CPluginManager::hasDeps() { - std::vector<std::string> deps = {"meson", "cpio", "cmake", "pkg-config"}; + std::vector<std::string> deps = {"meson", "cpio", "cmake", "pkg-config", "g++", "gcc", "git"}; for (auto const& d : deps) { if (!execAndGet("command -v " + d).contains("/")) return false; |
