diff options
author | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-08 11:55:13 +0800 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-07-18 10:45:24 +0800 |
commit | 016bda90f34fe1e1c13695f9c1798ca639c5ff75 (patch) | |
tree | 827d2fdf9216a9fdfaf015bfc530a8ea4d090010 /gnu | |
parent | 1099c670ab93e66e663c1727f2e79103f4b253dc (diff) | |
download | guix-016bda90f34fe1e1c13695f9c1798ca639c5ff75.tar.gz guix-016bda90f34fe1e1c13695f9c1798ca639c5ff75.zip |
gnu: Add kquickcharts-5.
* gnu/packages/kde-frameworks.scm (kquickcharts-5): New variable.
Change-Id: I9e8acb23c66e3f23cafad48f15bead4ac09cb4db
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/kde-frameworks.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 43e47e0a9a..a61323b920 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -211,6 +211,32 @@ used from QtQuick applications for both simple display of data as well as continuous display of high-volume data.") (license (list license:lgpl2.1 license:lgpl3)))) +(define-public kquickcharts-5 + (package + (inherit kquickcharts) + (name "kquickcharts") + (version "5.116.0") + (source (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) + "/" name "-" version ".tar.xz")) + (sha256 + (base32 + "1bd20kpypji6053fwn5a1b41rjf7r1b3wk85swb0xlmm2kji236j")))) + (build-system cmake-build-system) + (arguments + (list #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (system "Xvfb :1 -screen 0 640x480x24 &") + (setenv "DISPLAY" ":1") + (setenv "QT_QPA_PLATFORM" "offscreen") + (invoke "ctest"))))))) + (inputs (list qtbase-5 qtdeclarative-5 qtquickcontrols2-5 + xorg-server-for-tests)))) + (define-public phonon (package (name "phonon") |