add desktop patch

This commit is contained in:
2025-04-17 17:08:57 -05:00
committed by GigiaJ
parent 727c24453c
commit 0ba8c04155

View File

@@ -55,6 +55,12 @@
(lambda* (#:key #:allow-other-keys)
(system* "sed" "-i" "s|set(CMAKE_INSTALL_PREFIX /usr)| |g" "cmake/Packaging.cmake")
#t)) ;
(add-after 'install 'patch-desktop
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(substitute* (string-append out "/share/applications/synergy.desktop")
(("/usr") out))
#t)))
)))
(native-inputs
(list qttools pkg-config)) ; for Qt5LinguistTools