From f01b97e522ac9a25c6f29eea09d06a6db3ec0ab5 Mon Sep 17 00:00:00 2001
From: Thomas Danckaert <thomas.danckaert@gmail.com>
Date: Tue, 8 Nov 2016 14:15:52 +0100
Subject: [PATCH 1/2] gnu: Add libkomparediff2.
* gnu/packages/kde.scm (libkomparediff2): New variable.
---
gnu/packages/kde.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016 Thomas Danckaert <post@thomasdanckaert.be>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -27,6 +28,40 @@
#:use-module (gnu packages tls)
#:use-module (gnu packages qt))
+(define-public libkomparediff2
+ (package
+ (name "libkomparediff2")
+ (version "16.08.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/KDE/libkomparediff2/archive/v"
+ version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lafifrwfxvn0jwhz67kwv7m38lm4syips3fq77rwcvfhmkiijmh"))))
+ (native-inputs
+ `(("extra-cmake-modules" ,extra-cmake-modules)
+ ("pkg-config" ,pkg-config)))
+ (inputs
+ `(("kcodecs" ,kcodecs)
+ ("kconfig" ,kconfig)
+ ("kcoreaddons" ,kcoreaddons)
+ ("ki18n" ,ki18n)
+ ("kio" ,kio)
+ ("kxmlgui" ,kxmlgui)
+ ("qtbase" ,qtbase)))
+ (build-system cmake-build-system)
+ (home-page "https://kde.org")
+ (synopsis "Library to compare files and strings, used in Kompare and KDevelop")
+ (description "Libkomparediff2 is a library to work with diffs and patches,
+used in KDE development tools Kompare and KDevelop.")
+
+ ;; GPL, some files are also licensed under LGPL or BSD, see COPYING in the
+ ;; source archive
+ (license (list license:gpl2+ license:lgpl2.0+ license:bsd-3))))
+
(define-public qca
(package
(name "qca")
--
2.7.4