Skip to content

Commit

Permalink
x11-wm/hyprland: unbreak headers skip after 5b41952
Browse files Browse the repository at this point in the history
$ hyprpm add <URL>
[...]
Headers corrupted. Please run hyprpm update to fix those.

See also:	3a8517f
  • Loading branch information
jbeich committed Mar 1, 2024
1 parent 9aee297 commit 1f50359
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions x11-wm/hyprland/files/patch-system-wlroots
Expand Up @@ -36,3 +36,12 @@ Allow system wlroots to reduce maintenance (wlroots has tons of options)
// find headers commit
std::string cmd = std::format("PKG_CONFIG_PATH=\"{}/share/pkgconfig\" pkg-config --cflags --keep-system-cflags hyprland", DataState::getHeadersPath());
auto headers = execAndGet(cmd.c_str());
@@ -307,7 +304,7 @@ eHeadersErrors CPluginManager::headersValid() {
else
headers = "";

- if (PATH.ends_with("protocols") || PATH.ends_with("wlroots"))
+ if (PATH.ends_with("protocols") || PATH.contains("wlroots"))
continue;

verHeader = removeBeginEndSpacesTabs(PATH.substr(2)) + "/hyprland/src/version.h";

0 comments on commit 1f50359

Please sign in to comment.