From e64c6f0dedaf58b9e82e5a04ccbac85ef2e2c27b Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Sat, 20 Jul 2024 08:57:25 +0200 Subject: gnu: Add kdsingleapplication. * gnu/packages/qt.scm (kdsingleapplication): New variable. Change-Id: I08407da35712d465f9573f6bf1de0cc2e8435cb1 Signed-off-by: Zheng Junjie --- gnu/packages/qt.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 0138fd3dbf..c150dca78b 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -5214,6 +5214,32 @@ protocol. The DBusMenu protocol makes it possible for applications to export and import their menus over DBus.") (license license:lgpl2.1+))) +(define-public kdsingleapplication + (package + (name "kdsingleapplication") + (version "1.1.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/KDAB/KDSingleApplication") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1w7wg9w4mifrkpn7hhw1nnnwh1vhnf8i4wgfxvh44nacwslbwsb2")))) + (build-system qt-build-system) + (arguments + (list + #:qtbase qtbase + #:configure-flags + #~(list "-DKDSingleApplication_QT6=true" "-DKDSingleApplication_TESTS=true"))) + (inputs (list libxkbcommon vulkan-headers)) + (home-page "https://github.com/KDAB/KDSingleApplication") + (synopsis "Qt helper class for single-instance policy applications") + (description "KD SingleApplication is a helper class for single-instance +policy applications.") + (license (list license:bsd-3 license:expat)))) + (define-public kdsoap (package (name "kdsoap") -- cgit v1.2.3