Archived
1
0
Fork 0

gnu: Add kquickcharts-5.

* gnu/packages/kde-frameworks.scm (kquickcharts-5): New variable.

Change-Id: I9e8acb23c66e3f23cafad48f15bead4ac09cb4db
This commit is contained in:
Zheng Junjie 2024-07-08 11:55:13 +08:00
parent 1099c670ab
commit 016bda90f3
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -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")