From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 26/31] gnu: Add ktextwidgets. Date: Fri, 26 Aug 2016 23:52:55 +0200 Message-ID: <20160826215300.12913-27-david@craven.ch> References: <20160826215300.12913-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdP4a-0001Bo-Aa for guix-devel@gnu.org; Fri, 26 Aug 2016 17:54:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bdP4T-00060q-Vt for guix-devel@gnu.org; Fri, 26 Aug 2016 17:53:59 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:39676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bdP4S-0005jU-Ou for guix-devel@gnu.org; Fri, 26 Aug 2016 17:53:53 -0400 In-Reply-To: <20160826215300.12913-1-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org * gnu/packages/kde-frameworks.scm (ktextwidgets): New variable. --- gnu/packages/kde-frameworks.scm | 44 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index d90e9de..56e854b 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -2488,3 +2488,47 @@ types or handled by application specific code.") can embed in your application, either as a KPart or using the KF5::TextEditor library.") (license (list license:gpl2+ license:lgpl2.0+ license:lgpl2.1+)))) + +(define-public ktextwidgets + (package + (name "ktextwidgets") + (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 + "1q10xav2gkii6s3m31c9xvxf1988l7k2lpib6pyhgsidflmwjm02")))) + (build-system cmake-build-system) + (propagated-inputs + `(("ki18n" ,ki18n) + ("sonnet" ,sonnet))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("kauth" ,kauth) + ("kcodecs" ,kcodecs) + ("kcompletion" ,kcompletion) + ("kconfig" ,kconfig) + ("kconfigwidgets" ,kconfigwidgets) + ("kcoreaddons" ,kcoreaddons) + ("kiconthemes" ,kiconthemes) + ("kservice" ,kservice) + ("kwidgetsaddons" ,kwidgetsaddons) + ("kwindowsystem" ,kwindowsystem) + ("qtbase" ,qtbase))) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen") + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Text editing widgets") + (description "KTextWidgets provides widgets for displaying and editing text. +It supports rich text as well as plain text.") + (license (list license:lgpl2.0+ license:lgpl2.1+)))) -- 2.9.0