Fix hyprland symlink

This commit is contained in:
alan (NyxTrail) 2024-06-15 11:48:14 +00:00
parent 5456b1141b
commit 5fd813db39
No known key found for this signature in database
GPG Key ID: 32C5D29762C48D4A
3 changed files with 20 additions and 0 deletions

View File

@ -1,4 +1,5 @@
usr/bin/Hyprland
usr/bin/hyprland
usr/bin/hyprctl
usr/bin/hyprpm
usr/share/hyprland/hyprland.conf

View File

@ -0,0 +1,18 @@
Description: Fix symbolic link
Generate symlink with correct PREFIX and DATADIR settings.
Author: Alan M Varghese
Last-Update: 2024-06-15
Forwarded: not-needed
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -338,9 +338,7 @@
install(TARGETS Hyprland)
install(CODE "execute_process( \
- COMMAND ${CMAKE_COMMAND} -E create_symlink \
- ${CMAKE_INSTALL_BINDIR}/Hyprland \
- ${CMAKE_INSTALL_BINDIR}/hyprland
+ COMMAND bash -c \"cd $PREFIX/${CMAKE_INSTALL_BINDIR} && ln -sf Hyprland hyprland \"
)"
)

View File

@ -1,3 +1,4 @@
001-use-bash-in-makefile.patch
002-use-system-udis86.patch
003-use-system-hyprland-protocols.patch
004-fix-hyprland-symlink.patch