[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: ncmpc: Update to 0.30.
From: |
Tobias Geerinckx-Rice |
Subject: |
04/09: gnu: ncmpc: Update to 0.30. |
Date: |
Tue, 18 Sep 2018 09:40:41 -0400 (EDT) |
nckx pushed a commit to branch master
in repository guix.
commit 7c0ed27a8bc49ff80ec7e52f1f0b145815e0abc1
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Tue Sep 18 10:54:38 2018 +0200
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.
---
gnu/packages/mpd.scm | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/mpd.scm b/gnu/packages/mpd.scm
index 5c82bf9..c024152 100644
--- a/gnu/packages/mpd.scm
+++ b/gnu/packages/mpd.scm
@@ -33,6 +33,7 @@
#:use-module (guix build-system python)
#:use-module (gnu packages avahi)
#:use-module (gnu packages boost)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
@@ -185,7 +186,7 @@ player daemon.")
(define-public ncmpc
(package
(name "ncmpc")
- (version "0.29")
+ (version "0.30")
(source (origin
(method url-fetch)
(uri
@@ -194,12 +195,23 @@ player daemon.")
"/ncmpc-" version ".tar.xz"))
(sha256
(base32
- "04jzv1hfdvgbn391523jb2h3yhq9a40pjrg41sl3wf3jf6vajs7g"))))
+ "18qj3cgqczgfk334x0ywxwa1ckrk9fbjyp34n4zzcxwaifshrzp3"))))
(build-system meson-build-system)
(arguments
`(#:configure-flags
- (list "-Dcurses=ncurses")))
- (inputs `(("glib" ,glib)
+ (list "-Dcurses=ncurses")
+ #: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)
("ncurses" ,ncurses)))
(native-inputs `(("gettext" ,gettext-minimal) ; for xgettext
- branch master updated (56c240b -> 56c1807), Tobias Geerinckx-Rice, 2018/09/18
- 03/09: gnu: exfat-utils: Update to 1.3.0., Tobias Geerinckx-Rice, 2018/09/18
- 04/09: gnu: ncmpc: Update to 0.30.,
Tobias Geerinckx-Rice <=
- 06/09: gnu: libburn: Update to 1.5.0., Tobias Geerinckx-Rice, 2018/09/18
- 01/09: gnu: gourmet: Use INVOKE., Tobias Geerinckx-Rice, 2018/09/18
- 08/09: gnu: xorriso: Update to 1.5.0., Tobias Geerinckx-Rice, 2018/09/18
- 07/09: gnu: libisofs: Update to 1.5.0., Tobias Geerinckx-Rice, 2018/09/18
- 09/09: gnu: busybox: Update to 1.29.3., Tobias Geerinckx-Rice, 2018/09/18
- 02/09: gnu: cinnamon-desktop: Use Guix's built-in bootstrap phase., Tobias Geerinckx-Rice, 2018/09/18
- 05/09: gnu: rc: Simplify., Tobias Geerinckx-Rice, 2018/09/18