From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dK4uL-0001wg-CV for guix-patches@gnu.org; Sun, 11 Jun 2017 11:36:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dK4uI-0006kx-NC for guix-patches@gnu.org; Sun, 11 Jun 2017 11:36:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38621) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dK4uI-0006ks-JR for guix-patches@gnu.org; Sun, 11 Jun 2017 11:36:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dK4uI-000254-DB for guix-patches@gnu.org; Sun, 11 Jun 2017 11:36:02 -0400 Subject: bug#26463: [PATCH v2 3/7] gnu: Add kjs. Resent-Message-ID: From: Hartmut Goebel Date: Sun, 11 Jun 2017 17:34:23 +0200 Message-Id: <1497195267-22886-4-git-send-email-h.goebel@crazy-compilers.com> In-Reply-To: <1497195267-22886-1-git-send-email-h.goebel@crazy-compilers.com> References: <1497195267-22886-1-git-send-email-h.goebel@crazy-compilers.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26463@debbugs.gnu.org * gnu/packages/kde-frameworks.scm (kjs): New variable. --- gnu/packages/kde-frameworks.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 30c120b..be31385 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -52,6 +52,7 @@ #:use-module (gnu packages linux) #:use-module (gnu packages mp3) #:use-module (gnu packages pdf) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages polkit) @@ -3205,3 +3206,36 @@ http://community.kde.org/Frameworks/Porting_Notes should help with this.") license:gpl2 license:gpl2+ license:expat license:bsd-2 license:bsd-3 license:public-domain)))) + +(define-public kjs + (package + (name "kjs") + (version "5.34.0") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://kde/stable/frameworks/" + (version-major+minor version) "/portingAids/" + name "-" version ".tar.xz")) + (sha256 + (base32 "18b7k1hi73iqn06c1ryy9lcmvscr9d08q7n1wwkrn0l2xmy05xsq")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules) + ("kdoctools" ,kdoctools) + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (inputs + `(("pcre" ,pcre) + ("qtbase" ,qtbase))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "KDE Frameworks 5 support for Javascript scripting in Qt +applications") + (description "Add-on library to Qt which adds JavaScript scripting +support.") + ;; Most files are distributed under LGPL2+, but the package also includes + ;; code under a variety of licenses. + (license '(license:lgpl2.1+ + license:bsd-2 license:bsd-3 + (license:non-copyleft "file://src/kjs/dtoa.cpp"))))) -- 2.7.4