Fix hyprland symlink
This commit is contained in:
parent
5456b1141b
commit
5fd813db39
|
|
@ -1,4 +1,5 @@
|
||||||
usr/bin/Hyprland
|
usr/bin/Hyprland
|
||||||
|
usr/bin/hyprland
|
||||||
usr/bin/hyprctl
|
usr/bin/hyprctl
|
||||||
usr/bin/hyprpm
|
usr/bin/hyprpm
|
||||||
usr/share/hyprland/hyprland.conf
|
usr/share/hyprland/hyprland.conf
|
||||||
|
|
|
||||||
|
|
@ -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 \"
|
||||||
|
)"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
001-use-bash-in-makefile.patch
|
001-use-bash-in-makefile.patch
|
||||||
002-use-system-udis86.patch
|
002-use-system-udis86.patch
|
||||||
003-use-system-hyprland-protocols.patch
|
003-use-system-hyprland-protocols.patch
|
||||||
|
004-fix-hyprland-symlink.patch
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue