hyprpm: drop meson dep
This commit is contained in:
parent
d6e2ae0247
commit
8f547c6fa0
1 changed files with 3 additions and 3 deletions
|
|
@ -133,7 +133,7 @@ bool CPluginManager::addNewPluginRepo(const std::string& url, const std::string&
|
||||||
|
|
||||||
if (!hasDeps()) {
|
if (!hasDeps()) {
|
||||||
std::println(stderr, "\n{}",
|
std::println(stderr, "\n{}",
|
||||||
failureString("Could not clone the plugin repository. Dependencies not satisfied. Hyprpm requires: cmake, meson, cpio, pkg-config, git, g++, gcc"));
|
failureString("Could not clone the plugin repository. Dependencies not satisfied. Hyprpm requires: cmake, cpio, pkg-config, git, g++, gcc"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -453,7 +453,7 @@ bool CPluginManager::updateHeaders(bool force) {
|
||||||
const auto HLVER = getHyprlandVersion(false);
|
const auto HLVER = getHyprlandVersion(false);
|
||||||
|
|
||||||
if (!hasDeps()) {
|
if (!hasDeps()) {
|
||||||
std::println("\n{}", failureString("Could not update. Dependencies not satisfied. Hyprpm requires: cmake, meson, cpio, pkg-config, git, g++, gcc"));
|
std::println("\n{}", failureString("Could not update. Dependencies not satisfied. Hyprpm requires: cmake, cpio, pkg-config, git, g++, gcc"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -988,7 +988,7 @@ std::string CPluginManager::headerErrorShort(const eHeadersErrors err) {
|
||||||
|
|
||||||
bool CPluginManager::hasDeps() {
|
bool CPluginManager::hasDeps() {
|
||||||
bool hasAllDeps = true;
|
bool hasAllDeps = true;
|
||||||
std::vector<std::string> deps = {"meson", "cpio", "cmake", "pkg-config", "g++", "gcc", "git"};
|
std::vector<std::string> deps = {"cpio", "cmake", "pkg-config", "g++", "gcc", "git"};
|
||||||
|
|
||||||
for (auto const& d : deps) {
|
for (auto const& d : deps) {
|
||||||
if (!execAndGet("command -v " + d).contains("/")) {
|
if (!execAndGet("command -v " + d).contains("/")) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue