mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-02 09:28:57 -05:00
gnu: Add kquickcharts.
* gnu/packages/kde-frameworks.scm (kquickcharts): New variable. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
fe3be8d5e0
commit
0a4fad3cef
1 changed files with 34 additions and 0 deletions
|
@ -84,6 +84,7 @@ (define-module (gnu packages kde-frameworks)
|
|||
#:use-module (gnu packages tls)
|
||||
#:use-module (gnu packages version-control)
|
||||
#:use-module (gnu packages video)
|
||||
#:use-module (gnu packages vulkan)
|
||||
#:use-module (gnu packages web)
|
||||
#:use-module (gnu packages xml)
|
||||
#:use-module (gnu packages xorg)
|
||||
|
@ -173,6 +174,39 @@ (define-public extra-cmake-modules
|
|||
common build settings used in software produced by the KDE community.")
|
||||
(license license:bsd-3)))
|
||||
|
||||
(define-public kquickcharts
|
||||
(package
|
||||
(name "kquickcharts")
|
||||
(version "5.96.0")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "mirror://kde/stable/frameworks/"
|
||||
(version-major+minor version)
|
||||
"/" name "-" version ".tar.xz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1sd9mfxk72xfa1kz77s7z312scfm0vwvvgmyi4pypb9cs7d9dq3j"))))
|
||||
(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))
|
||||
(native-inputs (list extra-cmake-modules glslang pkg-config))
|
||||
(home-page "https://api.kde.org/frameworks/kquickcharts/html/index.html")
|
||||
(synopsis "QtQuick plugin providing high-performance charts")
|
||||
(description
|
||||
"The Quick Charts module provides a set of charts that can be
|
||||
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 phonon
|
||||
(package
|
||||
(name "phonon")
|
||||
|
|
Loading…
Reference in a new issue