Subject: [PATCH] Add kmenuedit.

From: Z572 <[email-masked]>
Date: Fri, 25 Dec 2020 20:17:58 +0800

diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index 33b702539b..54952dc9dc 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2019 Marius Bakke <[email-masked]>
 ;;; Copyright © 2017, 2019, 2020 Hartmut Goebel <[email-masked]>
 ;;; Copyright © 2019 Tobias Geerinckx-Rice <[email-masked]>
+;;; Copyright © 2020 Zheng Junjie <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -106,6 +107,35 @@ These window decorations can be used by for example an X11 based window
 manager which re-parents a Client window to a window decoration frame.")
     (license license:lgpl3+)))
 
+(define-public kmenuedit
+  (package
+    (name "kmenuedit")
+    (version "5.18.5")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "mirror://kde/stable/plasma/" version
+                                  "/kmenuedit-" version ".tar.xz"))
+              (sha256
+               (base32
+                "1xnmmzw8wph0nxkzsfbfwribz9zc6szgagyl6ll2sri146brinar"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)
+       ("kdoctools" ,kdoctools)))
+    (inputs
+     `(("qtbase" ,qtbase)
+       ("kdbusaddons" ,kdbusaddons)
+       ("kiconthemes" ,kiconthemes)
+       ("sonnet" ,sonnet)
+       ("kinit" ,kinit)
+       ("kglobalaccel" ,kglobalaccel)
+       ("ki18n" ,ki18n)
+       ("kio" ,kio)))
+    (home-page "https://invent.kde.org/plasma/kmenuedit")
+    (synopsis "KDE menu editor")
+    (description "KDE menu editor.")
+    (license license:gpl2+)))
+
 (define-public kscreenlocker
   (package
     (name "kscreenlocker")