Description: Move libwlroots to private directory Hyprland builds a custom version of wlroots that is based on the latter's latest commit. This library is placed under /usr/lib/ which pollutes the shared library space. We will, instead, install the library to the 'hyprland' directory under /usr/lib/. This patch is intended to follow the Debian policies and recommendations as closely as possible while following Hyprland's requirements to use a specific commit for wlroots. See discussion below: https://github.com/hyprwm/Hyprland/issues/648 https://github.com/hyprwm/Hyprland/issues/302 Author: Alan M Varghese Last-Update: 2024-03-01 Forwarded: not-needed --- a/Makefile +++ b/Makefile @@ -52,8 +52,8 @@ mkdir -p ${PREFIX}/share/man/man1 install -m644 ./docs/*.1 ${PREFIX}/share/man/man1 - mkdir -p ${PREFIX}/lib/ - cp ./subprojects/wlroots/build/libwlroots.so.13032 ${PREFIX}/lib/ + mkdir -p ${PREFIX}/lib/hyprland + cp ./subprojects/wlroots/build/libwlroots.so.13032 ${PREFIX}/lib/hyprland/ $(MAKE) installheaders @@ -62,7 +62,7 @@ rm -f ${PREFIX}/bin/hyprland rm -f ${PREFIX}/bin/hyprctl rm -f ${PREFIX}/bin/hyprpm - rm -f ${PREFIX}/lib/libwlroots.so.13032 + rm -rf ${PREFIX}/lib/hyprland rm -rf ${PREFIX}/share/hyprland rm -f ${PREFIX}/share/man/man1/Hyprland.1 rm -f ${PREFIX}/share/man/man1/hyprctl.1