Subject: [bug#74153] [PATCH] gnu: Add kapptemplate.

From: Sughosha <[email-masked]>
Date: Fri, 1 Nov 2024 17:30:20 +0530

* gnu/packages/kde.scm (kapptemplate): New variable.

Change-Id: I25b930749db5c366496f2b883bbde838aa583383
---
 gnu/packages/kde.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/gnu/packages/kde.scm b/gnu/packages/kde.scm
index 95b44d80d3..3bf1b64330 100644
--- a/gnu/packages/kde.scm
+++ b/gnu/packages/kde.scm
@@ -413,6 +413,48 @@ (define-public kdenlive
 projects.")
     (license license:gpl2+)))
 
+(define-public kapptemplate
+  (package
+    (name "kapptemplate")
+    (version "24.05.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "mirror://kde/stable/release-service/" version
+                           "/src/kapptemplate-" version ".tar.xz"))
+       (sha256
+        (base32 "0mgpk6879dprhpxmbdgbb6sz3ik9ycav4sihh20qmsgj09h8qp3g"))))
+    (build-system qt-build-system)
+    (arguments
+     (list #:qtbase qtbase
+           #:configure-flags
+           #~(list "-DBUILD_TESTING=ON")))
+    (native-inputs
+     (list extra-cmake-modules kdoctools))
+    (inputs
+     (list karchive
+           kcompletion
+           kconfigwidgets
+           kcoreaddons
+           ki18n
+           kio))
+    (home-page "https://apps.kde.org/kapptemplate/")
+    (synopsis "Factory for easy creation of KDE/Qt components and programs")
+    (description "KAppTemplate is an application to start development quickly
+using existing templates providing basic repeatedly written code and a proper
+structure.  It features:
+
+@itemize
+@item Templates for C++, Ruby, Python and PHP
+@item Categories
+@item Templates for different build-systems and frameworks
+@item Templates especially for KDE-development (plugins for Plasma, QtQuick
+ KTextEditor, KRunner, Akonadi)
+@item New templates using space holders and a simple CMake-command
+@item Integration into KDevelop
+@end itemize")
+    (license license:gpl2+)))
+
 (define-public kdevelop
   (package
     (name "kdevelop")

base-commit: 6e50b0c56a8cc767bd3acb26638f78c450bde718
-- 
2.46.0