31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
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/.
|
|
Author: Alan M Varghese <alan@digistorm.in>
|
|
Last-Update: 2024-02-02
|
|
--- 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
|