z572 pushed a commit to branch master
in repository guix.
commit 21a258892981cde007cdf50f917fc34a85facfcc
Author: Sughosha <[email protected]>
AuthorDate: Sun Jan 12 18:10:15 2025 +0530
gnu: kpmcore: Fix polkit action path.
* gnu/packages/kde.scm (kpmcore)[arguments]<#:phases>: Replace
fix-cmake-install-directories with fix-polkit-action-path.
Change-Id: I2d230d78b1dbf423b431e14f290c372efa9c1a45
Signed-off-by: Zheng Junjie <[email protected]>
---
gnu/packages/kde.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 6f0aaf9988..946531d87a 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -1283,11 +1283,13 @@ multi-floor indoor maps.")
(list
#:phases
#~(modify-phases %standard-phases
- (add-after 'unpack 'fix-cmake-install-directories
+ (add-after 'unpack 'fix-polkit-action-path
(lambda _
(substitute* "src/util/CMakeLists.txt"
(("DESTINATION \\$\\{POLKITQT-1_POLICY_FILES_INSTALL_DIR\\}")
- "DESTINATION share/polkit-1/actions")))))))
+ "DESTINATION share/polkit-1/actions"))
+ (substitute* "src/backend/corebackend.cpp"
+ (("\\/usr") #$output)))))))
(home-page "https://community.kde.org/Frameworks")
(synopsis "Library for managing partitions")
(description "Library for managing partitions.")