diff options
| author | Hunter Jozwiak <hunter.t.joz@gmail.com> | 2022-08-11 20:39:13 -0700 |
|---|---|---|
| committer | Björn Höfling <bjoern.hoefling@bjoernhoefling.de> | 2022-09-21 13:20:56 +0200 |
| commit | e883ea89c6fa409634ed141bcbef9b39166067f9 (patch) | |
| tree | cca4ba5a55d6258bbf7f99774a3c762b289b3767 /gnu | |
| parent | d871080a415264916d739c7a17a60be5f044d204 (diff) | |
gnu: Add espeakup.
* gnu/packages/accessibility.scm (espeakup): New variable.
Signed-off-by: Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/accessibility.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm index 22e70b737a6..499d79b8c8a 100644 --- a/gnu/packages/accessibility.scm +++ b/gnu/packages/accessibility.scm | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | ;;; Copyright © 2018, 2021, 2022 Tobias Geerinckx-Rice <me@tobias.gr> | 4 | ;;; Copyright © 2018, 2021, 2022 Tobias Geerinckx-Rice <me@tobias.gr> |
| 5 | ;;; Copyright © 2019 Andrew Miloradovsky <andrew@interpretmath.pw> | 5 | ;;; Copyright © 2019 Andrew Miloradovsky <andrew@interpretmath.pw> |
| 6 | ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> | 6 | ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il> |
| 7 | ;;; Copyright © 2022 Hunter Jozwiak <hunter.t.joz@gmail.com> | ||
| 7 | ;;; | 8 | ;;; |
| 8 | ;;; This file is part of GNU Guix. | 9 | ;;; This file is part of GNU Guix. |
| 9 | ;;; | 10 | ;;; |
| @@ -28,6 +29,7 @@ | |||
| 28 | #:use-module (guix git-download) | 29 | #:use-module (guix git-download) |
| 29 | #:use-module (guix build-system gnu) | 30 | #:use-module (guix build-system gnu) |
| 30 | #:use-module (guix build-system glib-or-gtk) | 31 | #:use-module (guix build-system glib-or-gtk) |
| 32 | #:use-module (guix build-system meson) | ||
| 31 | #:use-module (gnu packages) | 33 | #:use-module (gnu packages) |
| 32 | #:use-module (gnu packages lisp) | 34 | #:use-module (gnu packages lisp) |
| 33 | #:use-module (gnu packages ocaml) | 35 | #:use-module (gnu packages ocaml) |
| @@ -316,3 +318,34 @@ works with every X Window System based GUI (depends only on libX11); or as an | |||
| 316 | assistant for graphic designers, who need to select individual pixels.") | 318 | assistant for graphic designers, who need to select individual pixels.") |
| 317 | ;; Licensed either under Expat or GPLv2+. | 319 | ;; Licensed either under Expat or GPLv2+. |
| 318 | (license (list license:expat license:gpl2+)))) | 320 | (license (list license:expat license:gpl2+)))) |
| 321 | |||
| 322 | (define-public espeakup | ||
| 323 | (package | ||
| 324 | (name "espeakup") | ||
| 325 | (version "0.90") | ||
| 326 | (source (origin | ||
| 327 | (method git-fetch) | ||
| 328 | (uri (git-reference | ||
| 329 | (url "https://github.com/linux-speakup/espeakup") | ||
| 330 | (commit (string-append "v" version)))) | ||
| 331 | (file-name (git-file-name name version)) | ||
| 332 | (sha256 | ||
| 333 | (base32 | ||
| 334 | "0lmjwafvfxy07zn18v3dzjwwpnid2xffgvy2dzlwkbns8gb60ds2")))) | ||
| 335 | (build-system meson-build-system) | ||
| 336 | (native-inputs (list pkg-config)) | ||
| 337 | (inputs (list espeak-ng alsa-lib)) | ||
| 338 | (license license:gpl3+) | ||
| 339 | (synopsis "Bridge for espeak and speakup") | ||
| 340 | (description | ||
| 341 | "Espeakup is a bridge between the speakup driver implemented in | ||
| 342 | the Linux kernel and the espeak-ng text to speach synthesizer. | ||
| 343 | In order for this package to work, you need to have the following | ||
| 344 | kernel modules built: | ||
| 345 | @itemize @bullet | ||
| 346 | @item | ||
| 347 | CONFIG_SPEAKUP=m | ||
| 348 | @item | ||
| 349 | CONFIG_SPEAKUP_SOFT=m | ||
| 350 | @end itemize") | ||
| 351 | (home-page "ttps://github.com/linux-speakup/espeakup"))) | ||
