From 85e831ec0c05bc4f3f9c9ef010be0a5139187719 Mon Sep 17 00:00:00 2001 From: David Craven Date: Sun, 7 Aug 2016 20:22:15 +0200 Subject: [PATCH] gnu: Add kpeople. * gnu/packages/kde-frameworks.scm (kpeople): New variable. --- gnu/packages/kde-frameworks.scm | 42 +++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 5a46aee324..11c019321b 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -2278,3 +2278,45 @@ notifications which can be embedded in your application.") (description "This library implements the framework for KDE parts, which are widgets with a user-interface defined in terms of actions.") (license license:lgpl2.1+))) + +(define-public kpeople + (package + (name "kpeople") + (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 + "0iknzkj23y927xh24kw5sjxyirhy6pkmfcmmgwzd78rba8a54qp2")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("kconfig" ,kconfig) + ("kcoreaddons" ,kcoreaddons) + ("kitemviews" ,kitemviews) + ("ki18n" ,ki18n) + ("kservice" ,kservice) + ("kwidgetsaddons" ,kwidgetsaddons) + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative))) + (arguments + `(#:tests? #f ; FIXME: 1/3 tests fail. + #:phases + (modify-phases %standard-phases + (add-before 'check 'check-setup + (lambda _ + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") ; Enable debug output + (setenv "QT_QPA_PLATFORM" "offscreen")))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Provides access to all contacts and aggregates them by person") + (description "KPeople offers unified access to our contacts from different +sources, grouping them by person while still exposing all the data. KPeople +also provides facilities to integrate the data provided in user interfaces by +providing QML and Qt Widgets components. The sources are plugin-based, allowing +to easily extend the contacts collection.") + (license license:lgpl2.1+)))