x11-wm/hyprland: skip updating headers after 47721ef8e3

- Avoid ABI mismatch between bundled and system wlroots
- Building Hyprland on FreeBSD outside of ports/ may fail

Disables https://github.com/hyprwm/Hyprland/commit/3656045ad887
This commit is contained in:
Jan Beich 2024-02-05 20:15:50 +01:00
parent 0687c649f5
commit 3a8517f685
2 changed files with 13 additions and 1 deletions

View file

@ -31,7 +31,7 @@ GH_TUPLE= hyprwm:hyprland-protocols:v0.2-4-g0c2ce70:hyprland_protocols/subprojec
canihavesomecoffee:udis86:1.7.2-186-g5336633:udis86/subprojects/udis86
MESON_ARGS= -Dsystemd=disabled
# Generated by "make update-hash" for "hyprpm update" (headersValid)
# Generated by "make update-hash" for commit_pins in hyprpm.toml
GH_HASH= 84ab8d11e8951a6551d1e1bf87796a8589da6d47
# XXX Drop after FreeBSD 14.0 EOL around 2025-03-01

View file

@ -24,3 +24,15 @@ Allow system wlroots to reduce maintenance (wlroots has tons of options)
dependency('cairo'),
dependency('libdrm'),
dependency('egl'),
--- hyprpm/src/core/PluginManager.cpp.orig 2024-02-05 01:59:02 UTC
+++ hyprpm/src/core/PluginManager.cpp
@@ -285,9 +285,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\" pkg-config --cflags --keep-system-cflags hyprland", DataState::getHeadersPath());
auto headers = execAndGet(cmd.c_str());