Created attachment 875669 [details, diff] ebuild diff I might be wrong, but I assume the reason for including git in hyprland's build deps is due to the submodules. I tested embedding them in the src array, and then extracting in src_unpack - at least in my local tests, this worked well! I was able to build/install/run hyprland without git being installed.
This seems fundamentally suspicious that you need to remove the existing submodules. As far as meson is concerned, if the submodule exists in order to be rm -r'ed, then meson won't try to download them again and therefore does not need git.
You might be right - I just removed "git" from deps, with no other changes (ie, no patch), and it worked fine, too :( Sorry for the noise!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa51076be76820a2e7ef7074c6c0289d8e3b5f87 commit aa51076be76820a2e7ef7074c6c0289d8e3b5f87 Author: Alfred Wingate <parona@protonmail.com> AuthorDate: 2023-11-26 02:19:53 +0000 Commit: Yixun Lan <dlan@gentoo.org> CommitDate: 2023-11-26 07:45:37 +0000 gui-wm/hyprland: remove git buildtime dependency * Hasn't been a strict requirement since https://github.com/hyprwm/Hyprland/commit/914851b91aeb450592e2d62749169298ac48fb0c. Closes: https://bugs.gentoo.org/918585 Signed-off-by: Alfred Wingate <parona@protonmail.com> Signed-off-by: Yixun Lan <dlan@gentoo.org> gui-wm/hyprland/hyprland-0.31.0-r1.ebuild | 1 - gui-wm/hyprland/hyprland-0.32.3.ebuild | 1 - gui-wm/hyprland/hyprland-9999.ebuild | 1 - 3 files changed, 3 deletions(-)