gnu: ncmpc: Update to 0.30.
* gnu/packages/mpd.scm (ncmpc): Update to 0.30. [arguments]: Add 'expand-C++-include-path' phase. [inputs]: Add gcc-8.master
parent
8ecd843df5
commit
7c0ed27a8b
|
@ -33,6 +33,7 @@
|
||||||
#:use-module (guix build-system python)
|
#:use-module (guix build-system python)
|
||||||
#:use-module (gnu packages avahi)
|
#:use-module (gnu packages avahi)
|
||||||
#:use-module (gnu packages boost)
|
#:use-module (gnu packages boost)
|
||||||
|
#:use-module (gnu packages gcc)
|
||||||
#:use-module (gnu packages gettext)
|
#:use-module (gnu packages gettext)
|
||||||
#:use-module (gnu packages gnome)
|
#:use-module (gnu packages gnome)
|
||||||
#:use-module (gnu packages gtk)
|
#:use-module (gnu packages gtk)
|
||||||
|
@ -185,7 +186,7 @@ player daemon.")
|
||||||
(define-public ncmpc
|
(define-public ncmpc
|
||||||
(package
|
(package
|
||||||
(name "ncmpc")
|
(name "ncmpc")
|
||||||
(version "0.29")
|
(version "0.30")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri
|
||||||
|
@ -194,12 +195,23 @@ player daemon.")
|
||||||
"/ncmpc-" version ".tar.xz"))
|
"/ncmpc-" version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"04jzv1hfdvgbn391523jb2h3yhq9a40pjrg41sl3wf3jf6vajs7g"))))
|
"18qj3cgqczgfk334x0ywxwa1ckrk9fbjyp34n4zzcxwaifshrzp3"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
(list "-Dcurses=ncurses")))
|
(list "-Dcurses=ncurses")
|
||||||
(inputs `(("glib" ,glib)
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'expand-C++-include-path
|
||||||
|
;; Make <gcc>/include/c++/ext/string_conversions.h find <stdlib.h>.
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let* ((path "CPLUS_INCLUDE_PATH")
|
||||||
|
(gcc (assoc-ref inputs "gcc"))
|
||||||
|
(c++ (string-append gcc "/include/c++")))
|
||||||
|
(setenv path (string-append c++ ":" (getenv path)))
|
||||||
|
#t))))))
|
||||||
|
(inputs `(("gcc", gcc-8) ; for its C++14 support
|
||||||
|
("glib" ,glib)
|
||||||
("libmpdclient" ,libmpdclient)
|
("libmpdclient" ,libmpdclient)
|
||||||
("ncurses" ,ncurses)))
|
("ncurses" ,ncurses)))
|
||||||
(native-inputs `(("gettext" ,gettext-minimal) ; for xgettext
|
(native-inputs `(("gettext" ,gettext-minimal) ; for xgettext
|
||||||
|
|
Reference in New Issue