Patchwork [31/31] gnu: kde-frameworks: Add threadweaver.

login
register
mail settings
Submitter David Craven
Date Aug. 1, 2016, 6:13 p.m.
Message ID <20160801181342.16203-32-david@craven.ch>
Download mbox | patch
Permalink /patch/14209/
State New
Headers show

Comments

David Craven - Aug. 1, 2016, 6:13 p.m.
From: Hartmut Goebel <h.goebel@crazy-compilers.com>

* gnu/packages/kde-frameworks.scm (threadweaver): New variable.

Co-authored-by: David Craven <david@craven.ch>
---
 gnu/packages/kde-frameworks.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

Patch

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 4e5c2f4..96edd71 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -852,3 +852,27 @@  system.")
 applications.  It supports several different plugins, including HSpell, Enchant,
 ASpell and HUNSPELL.")
     (license license:lgpl2.1+)))
+
+(define-public threadweaver
+  (package
+    (name "threadweaver")
+    (version "5.24.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "mirror://kde/stable/frameworks/"
+                            (version-major+minor version) "/"
+                            name "-" version ".tar.xz"))
+        (sha256
+         (base32
+          "02g60zr9cc4bg1p90giich4n0qvqaiakz0y94qrnyj9f7fg0yksl"))))
+    (build-system cmake-build-system)
+    (native-inputs
+     `(("extra-cmake-modules" ,extra-cmake-modules)))
+    (inputs
+     `(("qtbase" ,qtbase)))
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "Helper for multithreaded programming")
+    (description "ThreadWeaver is a helper for multithreaded programming.  It
+uses a job-based interface to queue tasks and execute them in an efficient way.")
+    (license license:lgpl2.1+)))