gnu: emms: Add opus-tools input.

* gnu/packages/emacs.scm (emms)[inputs]: Add opus-tools.

Signed-off-by: Marius Bakke <mbakke@fastmail.com>
This commit is contained in:
Pierre Neidhardt 2018-06-25 15:49:45 +02:00 committed by Marius Bakke
parent da614b0b86
commit 042358a9cf
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 7 additions and 2 deletions

View File

@ -937,7 +937,8 @@ provides an optional IDE-like error list.")
(vorbis (assoc-ref inputs "vorbis-tools")) (vorbis (assoc-ref inputs "vorbis-tools"))
(alsa (assoc-ref inputs "alsa-utils")) (alsa (assoc-ref inputs "alsa-utils"))
(mpg321 (assoc-ref inputs "mpg321")) (mpg321 (assoc-ref inputs "mpg321"))
(mp3info (assoc-ref inputs "mp3info"))) (mp3info (assoc-ref inputs "mp3info"))
(opus (assoc-ref inputs "opus-tools")))
;; Specify the installation directory. ;; Specify the installation directory.
(substitute* "Makefile" (substitute* "Makefile"
(("PREFIX=.*$") (("PREFIX=.*$")
@ -962,6 +963,9 @@ provides an optional IDE-like error list.")
(emacs-substitute-variables "emms-info-ogginfo.el" (emacs-substitute-variables "emms-info-ogginfo.el"
("emms-info-ogginfo-program-name" ("emms-info-ogginfo-program-name"
(string-append vorbis "/bin/ogginfo"))) (string-append vorbis "/bin/ogginfo")))
(emacs-substitute-variables "emms-info-opusinfo.el"
("emms-info-opusinfo-program-name"
(string-append opus "/bin/opusinfo")))
(emacs-substitute-variables "emms-info-libtag.el" (emacs-substitute-variables "emms-info-libtag.el"
("emms-info-libtag-program-name" ("emms-info-libtag-program-name"
(string-append out "/bin/emms-print-metadata"))) (string-append out "/bin/emms-print-metadata")))
@ -1010,7 +1014,8 @@ provides an optional IDE-like error list.")
("vorbis-tools" ,vorbis-tools) ("vorbis-tools" ,vorbis-tools)
("mpg321" ,mpg321) ("mpg321" ,mpg321)
("taglib" ,taglib) ("taglib" ,taglib)
("mp3info" ,mp3info))) ("mp3info" ,mp3info)
("opus-tools" ,opus-tools)))
(properties '((upstream-name . "emms"))) (properties '((upstream-name . "emms")))
(synopsis "Emacs Multimedia System") (synopsis "Emacs Multimedia System")
(description (description