summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2015-07-24 22:22:15 +0200
committerAndreas Enge <andreas@enge.fr>2015-07-24 22:25:33 +0200
commitf272987aa27ee0f71981e9c579cbf53788519d00 (patch)
treec8b2fd3a15589b1e0f916f1650854d8714ef7103
parentd0dfc06683c868e48ee85213909e4013db94e221 (diff)
downloadguix-f272987aa27ee0f71981e9c579cbf53788519d00.tar.gz
gnu: Add extra-cmake-modules.
* gnu/packages/kde-frameworks.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Register it.
-rw-r--r--gnu-system.am1
-rw-r--r--gnu/packages/kde-frameworks.scm50
2 files changed, 51 insertions, 0 deletions
diff --git a/gnu-system.am b/gnu-system.am
index fdceedca7c..f4e121af26 100644
--- a/gnu-system.am
+++ b/gnu-system.am
@@ -163,6 +163,7 @@ GNU_SYSTEM_MODULES =				\
   gnu/packages/jrnl.scm				\
   gnu/packages/julia.scm			\
   gnu/packages/kde.scm				\
+  gnu/packages/kde-frameworks.scm		\
   gnu/packages/key-mon.scm			\
   gnu/packages/language.scm			\
   gnu/packages/less.scm				\
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
new file mode 100644
index 0000000000..f17c276418
--- /dev/null
+++ b/gnu/packages/kde-frameworks.scm
@@ -0,0 +1,50 @@
+;;; GNU Guix --- Functional package management for GNU
+;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
+;;;
+;;; This file is part of GNU Guix.
+;;;
+;;; GNU Guix is free software; you can redistribute it and/or modify it
+;;; under the terms of the GNU General Public License as published by
+;;; the Free Software Foundation; either version 3 of the License, or (at
+;;; your option) any later version.
+;;;
+;;; GNU Guix is distributed in the hope that it will be useful, but
+;;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+;;; GNU General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
+
+(define-module (gnu packages kde-frameworks)
+  #:use-module (guix build-system cmake)
+  #:use-module (guix download)
+  #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (guix packages)
+  #:use-module (guix utils))
+
+(define kde-frameworks-version "5.12.0")
+
+(define-public extra-cmake-modules
+  (package
+    (name "extra-cmake-modules")
+    (version kde-frameworks-version)
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "http://download.kde.org/stable/frameworks/"
+                            (version-major+minor version) "/"
+                            name "-" version ".tar.xz"))
+        (sha256
+          (base32 "14n77sn493m8kzr42wv13mdgxpnbx7x64bvw37ircrx8wmf4002i"))))
+    ;; The package looks for Qt5LinguistTools provided by Qt, but apparently
+    ;; compiles without it; it might be needed for building the
+    ;; documentation, which requires the additional Sphinx package.
+    ;; To save space, we do not add these inputs.
+    (build-system cmake-build-system)
+    (home-page "https://community.kde.org/Frameworks")
+    (synopsis "CMake module files for common software used by KDE")
+    (description "The Extra CMake Modules package, or ECM, adds to the
+modules provided by CMake to find common software.  In addition, it provides
+common build settings used in software produced by the KDE community.")
+    (license license:bsd-3)))