Avoid hyprpm rebuilding Hyprland outside of ports --- hyprpm/src/core/PluginManager.cpp.orig 2024-04-14 18:48:28 UTC +++ hyprpm/src/core/PluginManager.cpp @@ -316,9 +316,6 @@ eHeadersErrors CPluginManager::headersValid() { eHeadersErrors CPluginManager::headersValid() { const auto HLVER = getHyprlandVersion(); - if (!std::filesystem::exists(DataState::getHeadersPath() + "/share/pkgconfig/hyprland.pc")) - return HEADERS_MISSING; - // find headers commit std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkgconf --cflags --keep-system-cflags hyprland", DataState::getHeadersPath()); auto headers = execAndGet(cmd.c_str());