[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/71: gnu: Add qtspeech.
From: |
guix-commits |
Subject: |
23/71: gnu: Add qtspeech. |
Date: |
Sun, 31 Mar 2024 21:57:28 -0400 (EDT) |
apteryx pushed a commit to branch qt-team
in repository guix.
commit 438d6b98587acee184927ad53f5aab892e9a9056
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Wed Mar 13 17:01:55 2024 +0800
gnu: Add qtspeech.
* gnu/packages/qt.scm (qtspeech): New variable.
Change-Id: I99294321514e7e3908d2f25812ceaa76d60bf060
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/qt.scm | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index f2c9c01219..b282cfdeb7 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -2680,6 +2680,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 qtspeech
+ (package
+ (name "qtspeech")
+ (version "6.6.2")
+ (source (origin
+ (method url-fetch)
+ (uri (qt-url name version))
+ (sha256
+ (base32
+ "1qvf3p2p1pc5fw40d8zq0iawaaqkc0dp5yx85b1dnw1j809bn8y0"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (delete 'check) ;move after the install phase
+ (add-after 'install 'check
+ (assoc-ref %standard-phases 'check))
+ (add-before 'check 'set-display
+ (lambda _
+ ;; Make Qt render "offscreen", required for tests.
+ (setenv "QT_QPA_PLATFORM" "offscreen")))
+ (add-before 'check 'prepare-for-tests
+ (lambda* (#:key outputs #:allow-other-keys)
+ (setenv "QML2_IMPORT_PATH"
+ (string-append (assoc-ref outputs "out")
+ "/lib/qt6/qml:"
+ (getenv "QML2_IMPORT_PATH")))))
+ (add-after 'install 'delete-installed-tests
+ (lambda _
+ (delete-file-recursively
+ (string-append #$output "/tests")))))))
+ (propagated-inputs (list qtmultimedia))
+ (inputs (list qtbase qtdeclarative))
+ (synopsis "Qt Speech module")
+ (description "The Qt Speech module enables a Qt application to support
+accessibility features such as text-to-speech, which is useful for end-users
+who are visually challenged or cannot access the application for whatever
+reason. The most common use case where text-to-speech comes in handy is when
+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.")
+ (home-page (package-home-page qtbase))
+ (license (package-license qtbase))))
+
(define-public qtvirtualkeyboard-5
(package
(inherit qtsvg-5)
- 07/71: gnu: qtshadertools: Update to 6.6.2., (continued)
- 07/71: gnu: qtshadertools: Update to 6.6.2., guix-commits, 2024/03/31
- 03/71: gnu: qtsvg: Update to 6.6.2., guix-commits, 2024/03/31
- 01/71: gnu: qtbase: Update to 6.6.2., guix-commits, 2024/03/31
- 05/71: gnu: qtdeclarative: Update to 6.6.2., guix-commits, 2024/03/31
- 11/71: gnu: qtlanguageserver: Update to 6.6.2., guix-commits, 2024/03/31
- 12/71: gnu: qtlottie: Update to 6.6.2., guix-commits, 2024/03/31
- 15/71: gnu: qtpositioning: Update to 6.6.2., guix-commits, 2024/03/31
- 16/71: gnu: qtnetworkauth: Update to 6.6.2., guix-commits, 2024/03/31
- 17/71: gnu: qtremoteobjects: Update to 6.6.2., guix-commits, 2024/03/31
- 21/71: gnu: Add qtsensors., guix-commits, 2024/03/31
- 23/71: gnu: Add qtspeech.,
guix-commits <=
- 26/71: build: qt-utils: Use QML_IMPORT_PATH for Qt 6., guix-commits, 2024/03/31
- 27/71: gnu: qtbase: Have qmlimportscanner honor QML_IMPORT_PATH., guix-commits, 2024/03/31
- 29/71: gnu: qtbase: Disable the tst_qxmlstream test on powerpc64-le., guix-commits, 2024/03/31
- 06/71: gnu: qtwebsockets: Update to 6.6.2., guix-commits, 2024/03/31
- 09/71: gnu: qtwayland: Update to 6.6.2., guix-commits, 2024/03/31
- 14/71: gnu: qttranslations: Update to 6.6.2., guix-commits, 2024/03/31
- 20/71: gnu: qtsensors: Rename package to qtsensors-5., guix-commits, 2024/03/31
- 36/71: gnu: Add qthttpserver., guix-commits, 2024/03/31
- 22/71: gnu: qtspeech: Rename package to qtspeech-5., guix-commits, 2024/03/31
- 25/71: gnu: qtscxml: Update to 6.6.2., guix-commits, 2024/03/31