[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
177/332: gnu: Add qtvirtualkeyboard-5.
From: |
guix-commits |
Subject: |
177/332: gnu: Add qtvirtualkeyboard-5. |
Date: |
Thu, 3 Aug 2023 05:43:51 -0400 (EDT) |
iyzsong pushed a commit to branch kde-updates
in repository guix.
commit f370b61078dd0863631433f43d229196d5dc86a7
Author: Zheng Junjie <873216071@qq.com>
AuthorDate: Fri Jul 21 19:54:46 2023 +0800
gnu: Add qtvirtualkeyboard-5.
* gnu/packages/qt.scm (qtvirtualkeyboard-5): New variable.
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
---
gnu/packages/qt.scm | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index b76831874e..010812bdfb 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -28,6 +28,7 @@
;;; Copyright © 2022 Petr Hodina <phodina@protonmail.com>
;;; Copyright © 2022 Yash Tiwari <yasht@mailbox.org>
;;; Copyright © 2023 Sharlatan Hellseher <sharlatanus@gmail.com>
+;;; Copyright © 2022 Zheng Junjie <873216071@qq.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2355,6 +2356,50 @@ the end-user is driving and cannot attend the incoming
messages on the phone.
In such a scenario, the messaging application can read out the incoming
message.")))
+(define-public qtvirtualkeyboard-5
+ (package
+ (inherit qtsvg-5)
+ (name "qtvirtualkeyboard")
+ (version %qt-version)
+ (source (origin
+ (method url-fetch)
+ (uri (qt-urls name version))
+ (sha256
+ (base32
+ "1skdjh9q4m438wwl8hwx3jc5hg22dmi5pwm3vd2yksxw6ny67rd7"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments qtsvg-5)
+ ((#:tests? _ #f) #f) ; TODO: pass 2 fail test
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (add-before 'check 'set-display
+ (lambda _
+ ;; Make Qt render "offscreen", required for tests.
+ (setenv "QT_QPA_PLATFORM" "offscreen")
+ (setenv "DISPLAY" ":1")
+ (system "Xvfb +extension GLX :1 &")))
+ (delete 'check) ;move after the install phase
+ (add-after 'install 'check
+ (assoc-ref %standard-phases 'check))
+ (add-before 'check 'prepare-for-tests
+ (lambda* (#:key outputs #:allow-other-keys)
+ (setenv "QML2_IMPORT_PATH"
+ (string-append (assoc-ref outputs "out")
+ "/lib/qt5/qml:"
+ (getenv "QML2_IMPORT_PATH")))
+ (setenv "QT_PLUGIN_PATH"
+ (string-append (assoc-ref outputs "out")
+ "/lib/qt6/plugins:"
+ (getenv "QT_PLUGIN_PATH")))))))))
+ (native-inputs (list perl xorg-server-for-tests))
+ (inputs (list qtbase-5 qtdeclarative-5))
+ (propagated-inputs
+ (list qtquickcontrols-5 qtsvg-5))
+ (synopsis "QtQuick virtual keyboard")
+ (description "The Qt Speech module provides a virtual keyboard framework
+that consists of a C++ backend supporting custom input methods as well as a UI
+frontend implemented in QML.")))
+
(define-public qtspell
(package
(name "qtspell")
- 145/332: gnu: kactivitymanagerd: Update to 5.27.6., (continued)
- 145/332: gnu: kactivitymanagerd: Update to 5.27.6., guix-commits, 2023/08/03
- 130/332: gnu: kopeninghours: Use G-expressions., guix-commits, 2023/08/03
- 164/332: gnu: polkit-kde-agent: Update to 5.27.6., guix-commits, 2023/08/03
- 160/332: gnu: plasma-disks: Update to 5.27.6., guix-commits, 2023/08/03
- 168/332: gnu: libkscreen: Update to 5.27.6., guix-commits, 2023/08/03
- 170/332: gnu: layer-shell-qt: Update to 5.27.6., guix-commits, 2023/08/03
- 167/332: gnu: bluedevil: Update to 5.27.6., guix-commits, 2023/08/03
- 187/332: gnu: system-settings: Update to 5.27.6., guix-commits, 2023/08/03
- 171/332: gnu: plasma-workspace-wallpapers: Update to 5.27.6., guix-commits, 2023/08/03
- 186/332: gnu: khotkeys: Update to 5.27.6., guix-commits, 2023/08/03
- 177/332: gnu: Add qtvirtualkeyboard-5.,
guix-commits <=
- 180/332: gnu: discover: Update to 5.27.6., guix-commits, 2023/08/03
- 189/332: gnu: plasma-integration: Update to 5.27.6., guix-commits, 2023/08/03
- 191/332: gnu: plasma-bigscreen: Update to 5.26.90., guix-commits, 2023/08/03
- 172/332: gnu: plasma-vault: Update to 5.27.6., guix-commits, 2023/08/03
- 174/332: gnu: plasma-nm: Update to 5.27.6., guix-commits, 2023/08/03
- 190/332: gnu: plasma-browser-integration: Update to 5.27.6., guix-commits, 2023/08/03
- 182/332: gnu: kio-extras: Update to 23.04.3., guix-commits, 2023/08/03
- 199/332: gnu: libkcompactdisc: Update to 23.04.3., guix-commits, 2023/08/03
- 195/332: gnu: plasma-welcome: Update to 5.27.6., guix-commits, 2023/08/03
- 181/332: gnu: kwin: Update to 5.27.6., guix-commits, 2023/08/03