gnu: mcg: Update to 3.1.
* gnu/packages/mpd.scm (mcg): Update to 3.1. [native-inputs]: Use the new inputs style. Add desktop-file-utils, gettext-minimal and gtk+:bin. [inputs]: Add python. [build-system]: Change to meson-build-system. [arguments]<#:imported-modules,#:modules>: Remove. <#:glib-or-gtk?>: Set to #t. <#:phases>: Delete ‘glib-or-gtk-wrap’. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
df9f0ac254
commit
24418eeb00
1 changed files with 10 additions and 12 deletions
|
@ -480,7 +480,7 @@ artists along with albumart.")
|
||||||
(define-public mcg
|
(define-public mcg
|
||||||
(package
|
(package
|
||||||
(name "mcg")
|
(name "mcg")
|
||||||
(version "2.1.2")
|
(version "3.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -491,22 +491,22 @@ artists along with albumart.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"01iqxydssxyi4s644dwl64vm7xhn0szd99hdpywbipvb7kwp5196"))))
|
"087d3gvx8z1yj7rg9d9h1x02vkw57h4v6xf5pxqyhqyk2435kk17"))))
|
||||||
(build-system python-build-system)
|
(build-system meson-build-system)
|
||||||
(inputs (list avahi
|
(inputs (list avahi
|
||||||
dconf
|
dconf
|
||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
gtk+
|
gtk+
|
||||||
|
python
|
||||||
python-pygobject))
|
python-pygobject))
|
||||||
(native-inputs (list `(,glib "bin")
|
(native-inputs (list desktop-file-utils
|
||||||
|
gettext-minimal
|
||||||
|
`(,glib "bin")
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
|
`(,gtk+ "bin")
|
||||||
pkg-config))
|
pkg-config))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:imported-modules ((guix build glib-or-gtk-build-system)
|
`(#:glib-or-gtk? #t
|
||||||
,@%python-build-system-modules)
|
|
||||||
#:modules ((guix build python-build-system)
|
|
||||||
((guix build glib-or-gtk-build-system) #:prefix glib-or-gtk:)
|
|
||||||
(guix build utils))
|
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'install 'wrap-program
|
(add-after 'install 'wrap-program
|
||||||
|
@ -515,9 +515,7 @@ artists along with albumart.")
|
||||||
"/bin/mcg")))
|
"/bin/mcg")))
|
||||||
(wrap-program prog
|
(wrap-program prog
|
||||||
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
|
`("GUIX_PYTHONPATH" = (,(getenv "GUIX_PYTHONPATH")))
|
||||||
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH")))))))
|
`("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))))))))))
|
||||||
(add-after 'wrap-program 'glib-or-gtk-wrap
|
|
||||||
(assoc-ref glib-or-gtk:%standard-phases 'glib-or-gtk-wrap)))))
|
|
||||||
(synopsis "Covergrid for the MPD")
|
(synopsis "Covergrid for the MPD")
|
||||||
(description
|
(description
|
||||||
"mcg (CoverGrid) is a client for the Music Player Daemon (MPD), focusing
|
"mcg (CoverGrid) is a client for the Music Player Daemon (MPD), focusing
|
||||||
|
|
Reference in a new issue