Mismatch between pkgconfig and headers location
Description:
There is a bug in the PKGBUILD
file for hyprland-0.39.1-1
The bug will only be noticed if anyone tries to build a plugin using the headers.
Additional info:
- package version(s): 0.39.1-1
- config and/or log files:
- link to upstream bug report, if any: No bugs upstream
Steps to reproduce:
cd /tmp
git clone https://github.com/dawsers/hyprscroller
cd hyprscroller
make dev
You will see an error about headers missing.
The reason is hyprland.pc
(pkgconfig file distributed with Hyprland starting with v0.39) points to a location for the headers in .../wlroots-hyprland/
Cflags: -I"${includedir}/hyprland/protocols" -I"${includedir}/hyprland/wlroots-hyprland" -I"${includedir}"
This is because they now bundle their own version of wlroots
, which is statically linked against the Hyprland compositor.
So the installation location for the headers should be updated in lines 79 and 82 to wlroots-hyprland
where it says wlroots
.
Thank you!