mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: beets: Support replaygain plugin.
* gnu/packages/music.scm (beets)[arguments]: Add 'wrap-typelib phase. [inputs]: Add gstreamer, gst-plugins-base, gst-plugins-good, gobject-introspection and python-pygobject. Signed-off-by: Marius Bakke <marius@gnu.org>
This commit is contained in:
parent
581b37c866
commit
07dbdbd766
1 changed files with 20 additions and 2 deletions
|
@ -3023,7 +3023,19 @@ (define-public beets
|
|||
#t))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "nosetests" "-v"))))))
|
||||
(invoke "nosetests" "-v")))
|
||||
;; Wrap the executable, so it can find python-gi (aka pygobject) and
|
||||
;; gstreamer plugins.
|
||||
(add-after 'wrap 'wrap-typelib
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((prog (string-append (assoc-ref outputs "out")
|
||||
"/bin/beet"))
|
||||
(plugins (getenv "GST_PLUGIN_SYSTEM_PATH"))
|
||||
(types (getenv "GI_TYPELIB_PATH")))
|
||||
(wrap-program prog
|
||||
`("GST_PLUGIN_SYSTEM_PATH" ":" prefix (,plugins))
|
||||
`("GI_TYPELIB_PATH" ":" prefix (,types)))
|
||||
#t))))))
|
||||
(native-inputs
|
||||
`(("python-beautifulsoup4" ,python-beautifulsoup4)
|
||||
("python-flask" ,python-flask)
|
||||
|
@ -3044,7 +3056,13 @@ (define-public beets
|
|||
("python-mutagen" ,python-mutagen)
|
||||
("python-pyacoustid" ,python-pyacoustid)
|
||||
("python-pyyaml" ,python-pyyaml)
|
||||
("python-unidecode" ,python-unidecode)))
|
||||
("python-unidecode" ,python-unidecode)
|
||||
;; For plugin replaygain.
|
||||
("python-pygobject" ,python-pygobject)
|
||||
("gobject-introspection" ,gobject-introspection)
|
||||
("gst-plugins-base" ,gst-plugins-base)
|
||||
("gst-plugins-good" ,gst-plugins-good)
|
||||
("gstreamer" ,gstreamer)))
|
||||
(home-page "https://beets.io")
|
||||
(synopsis "Music organizer")
|
||||
(description "The purpose of beets is to get your music collection right
|
||||
|
|
Loading…
Reference in a new issue