From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 2/3] gnu: Add fluid. Date: Wed, 4 Jan 2017 14:53:04 +0000 Message-ID: <20170104145305.13901-3-ng0@libertad.pw> References: <20170104124703.9621-1-ng0@libertad.pw> <20170104145305.13901-1-ng0@libertad.pw> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOmvv-0005vI-0Z for guix-devel@gnu.org; Wed, 04 Jan 2017 09:52:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOmvr-0003mo-Qj for guix-devel@gnu.org; Wed, 04 Jan 2017 09:52:55 -0500 Received: from aibo.runbox.com ([91.220.196.211]:43556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOmvr-0003mD-J5 for guix-devel@gnu.org; Wed, 04 Jan 2017 09:52:51 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cOmvp-0007Dc-8T for guix-devel@gnu.org; Wed, 04 Jan 2017 15:52:49 +0100 In-Reply-To: <20170104145305.13901-1-ng0@libertad.pw> 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/qt.scm (fluid): New variable. --- gnu/packages/qt.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index 41aa10291..e180f9cf6 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -46,6 +46,7 @@ #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) + #:use-module (gnu packages kde-frameworks) #:use-module (gnu packages linux) #:use-module (gnu packages databases) #:use-module (gnu packages pciutils) @@ -1347,3 +1348,38 @@ a binding language: @item Creating from Singleton QML QObject defined in the binded language @end itemize\n") (license license:lgpl3))) + +(define-public fluid + (package + (name "fluid") + (version "0.9.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://github.com/lirios/fluid/releases/download/" + "v" version "/" name "-" version ".tar.xz")) + (file-name (string-append name "-" version ".tar.xz")) + (sha256 + (base32 + "0m6mijlnizgvmh0z2wcrmkfl5cdrylxz3d7bqii8dasmm0q8f68y")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; XXX: The tests do not find the fluid module. + #:phases + (modify-phases %standard-phases + (add-before 'build 'setenv + (lambda _ + (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtsvg" ,qtsvg) + ("qtquickcontrols2" ,qtquickcontrols2))) + (home-page "https://github.com/lirios/fluid") + (synopsis "Library for QtQuick applications") + (description + "Fluid is a collection of cross-platform QtQuick components for +building fluid and dynamic applications.") + (license license:mpl2.0))) -- 2.11.0