gnu: emacs-emms: Activate tests and build info.

* gnu/packages/emacs-xyz.scm (emacs-emms): Activate tests and build info.

Change-Id: I232dd25a30156374d5e12f73948b26b6b274cc54
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
Cayetano Santos 2025-04-10 11:25:22 +02:00 committed by Liliana Marie Prikler
parent 3fdccefc0e
commit 3b134b014a
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -4129,8 +4129,23 @@ light user interface.")
(name "emacs-emms")
(build-system emacs-build-system)
(arguments
`(#:phases
`(#:tests? #t
#:test-command
(list "emacs" "-Q" "--batch"
"--eval=(cd \"test/\")"
"-l" "emms-tests.el"
"-l" "emms-info-native-tests.el"
"-l" "emms-info-native-ogg-tests.el"
"-l" "emms-info-native-mp3-tests.el"
"-l" "emms-info-native-flac-tests.el"
"-l" "emms-info-native-vorbis-tests.el"
"-f" "ert-run-tests-batch-and-exit")
#:phases
(modify-phases %standard-phases
(add-before 'install 'make-info
(lambda _
(invoke "make" "-C" "doc" "all")
(rename-file "doc/emms.info" "emms.info")))
(add-after 'unpack 'set-external-programs
;; Specify the absolute file names of the various programs
;; so that everything works out-of-the-box. (tinytag missing)
@ -4174,6 +4189,7 @@ light user interface.")
(string-append "\"" vorbiscomment "\"")))
(substitute* "emms-info-exiftool.el"
(("\"exiftool\"") (string-append "\"" exiftool "\"")))))))))
(native-inputs (list texinfo))
(inputs
(list emacs-emms-print-metadata
alsa-utils