mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 07:31:53 -07:00
hyprpm: fix wlroots path (#5567)
This commit is contained in:
@@ -338,7 +338,7 @@ eHeadersErrors CPluginManager::headersValid() {
|
|||||||
else
|
else
|
||||||
headers = "";
|
headers = "";
|
||||||
|
|
||||||
if (PATH.ends_with("protocols") || PATH.ends_with("wlroots"))
|
if (PATH.ends_with("protocols") || PATH.ends_with("wlroots-hyprland"))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
verHeader = removeBeginEndSpacesTabs(PATH.substr(2)) + "/hyprland/src/version.h";
|
verHeader = removeBeginEndSpacesTabs(PATH.substr(2)) + "/hyprland/src/version.h";
|
||||||
@@ -436,7 +436,7 @@ bool CPluginManager::updateHeaders(bool force) {
|
|||||||
progress.printMessageAbove(std::string{Colors::BLUE} + "[v] " + Colors::RESET + "cmake returned: " + ret);
|
progress.printMessageAbove(std::string{Colors::BLUE} + "[v] " + Colors::RESET + "cmake returned: " + ret);
|
||||||
|
|
||||||
// le hack. Wlroots has to generate its build/include
|
// le hack. Wlroots has to generate its build/include
|
||||||
ret = execAndGet("cd /tmp/hyprpm/hyprland/subprojects/wlroots && meson setup -Drenderers=gles2 -Dexamples=false build");
|
ret = execAndGet("cd /tmp/hyprpm/hyprland/subprojects/wlroots-hyprland && meson setup -Drenderers=gles2 -Dexamples=false build");
|
||||||
if (m_bVerbose)
|
if (m_bVerbose)
|
||||||
progress.printMessageAbove(std::string{Colors::BLUE} + "[v] " + Colors::RESET + "meson returned: " + ret);
|
progress.printMessageAbove(std::string{Colors::BLUE} + "[v] " + Colors::RESET + "meson returned: " + ret);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user