[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/11: gnu: praat: Update style.
From: |
guix-commits |
Subject: |
10/11: gnu: praat: Update style. |
Date: |
Mon, 7 Aug 2023 10:22:08 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 67d480d4a08ddbcebc4d785e0d6f2eddd3f35106
Author: Preston M. Firestone <firestone.preston@gmail.com>
AuthorDate: Mon Jun 26 12:42:17 2023 -0500
gnu: praat: Update style.
* gnu/packages/language.scm (praat):
[arguments]: Use g-exps.
[#:phases]: Drop trailing #t.
[inputs]: Use new format.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/language.scm | 60 +++++++++++++++++++++--------------------------
1 file changed, 27 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm
index 11fc17b427..758fb4f336 100644
--- a/gnu/packages/language.scm
+++ b/gnu/packages/language.scm
@@ -858,47 +858,41 @@ noun phrases, verb phrases, etc.).")
(source (origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/praat/praat")
- (commit (string-append "v" version))))
+ (url "https://github.com/praat/praat")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0kwv0p2bn2x5h0c61rymm87icqqwnbj699awgc5afl4qp53azci8"))))
(build-system gnu-build-system)
(arguments
- `(#:make-flags (list (string-append "CC=" ,(cc-for-target)))
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'delete-failing-tests
- (lambda _
- (delete-file "test/sys/graphicsText.praat")
- #t))
- (replace 'configure
- (lambda _
- (copy-file "makefiles/makefile.defs.linux.pulse" "makefile.defs")
- #t))
- (replace 'check
- (lambda _
- (invoke "./praat" "--run"
- "test/runAllTests_batch.praat")
- #t))
- (replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (bin (string-append out "/bin")))
- (mkdir-p bin)
- (copy-file "praat" (string-append bin "/praat")))
- #t)))))
- (inputs
- `(("alsa-lib" ,alsa-lib)
- ("gtk" ,gtk+)
- ("jack" ,jack-1)
- ("publesaudio" ,pulseaudio)))
- (native-inputs
- (list pkg-config))
+ (list #:make-flags #~(list (string-append "CC="
+ #$(cc-for-target)))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'delete-failing-tests
+ (lambda _
+ (delete-file "test/sys/graphicsText.praat")))
+ (replace 'configure
+ (lambda _
+ (copy-file "makefiles/makefile.defs.linux.pulse"
+ "makefile.defs")))
+ (replace 'check
+ (lambda _
+ (invoke "./praat" "--run"
+ "test/runAllTests_batch.praat")))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin (string-append out "/bin")))
+ (mkdir-p bin)
+ (copy-file "praat"
+ (string-append bin "/praat"))))))))
+ (inputs (list alsa-lib gtk+ jack-1 pulseaudio))
+ (native-inputs (list pkg-config))
(home-page "https://www.fon.hum.uva.nl/praat/")
(synopsis "Doing phonetics by computer")
- (description "Praat is a tool to perform phonetics tasks. It can do speech
+ (description
+ "Praat is a tool to perform phonetics tasks. It can do speech
analysis (pitch, formant, intensity, ...), speech synthesis, labelling,
segmenting
and manipulation.")
(license license:gpl2+)))
- 01/11: services: Add 'file-database' service., (continued)
- 01/11: services: Add 'file-database' service., guix-commits, 2023/08/07
- 05/11: gnu: Add kineto., guix-commits, 2023/08/07
- 06/11: gnu: Add tgs2png., guix-commits, 2023/08/07
- 02/11: services: Add 'package-database' service., guix-commits, 2023/08/07
- 03/11: gnu: autoconf-archive: Update to 2023.02.20., guix-commits, 2023/08/07
- 04/11: gnu: signify: Complete update to 31., guix-commits, 2023/08/07
- 08/11: gnu: praat: Update to 6.3.10., guix-commits, 2023/08/07
- 07/11: gnu: praat: Update to 6.1.49., guix-commits, 2023/08/07
- 11/11: gnu: praat: Honor #:tests?., guix-commits, 2023/08/07
- 09/11: gnu: praat: Add tests to praat., guix-commits, 2023/08/07
- 10/11: gnu: praat: Update style.,
guix-commits <=