gnu: ganv, pavucontrol, jalv: Fix build by compile with C++11.

* gnu/packages/audio.scm (jalv)[arguments],
  gnu/packages/gtk.scm (ganv)[arguments],
  gnu/packages/music.scm (non-sequencer)[arguments],
  gnu/packages/pulseaudio.scm (pavucontrol)[arguments]: Set
  'CXXFLAGS' to '-std=c++11'.
This commit is contained in:
宋文武 2015-10-27 20:01:35 +08:00
parent c21317d425
commit d8c317df26
4 changed files with 23 additions and 2 deletions

View File

@ -746,7 +746,16 @@ synchronous execution of all clients, and low latency operation.")
(base32 (base32
"1f1hcq74n3ziw8bk97mn5a1vgw028dxikv3fchaxd430pbbhqgl9")))) "1f1hcq74n3ziw8bk97mn5a1vgw028dxikv3fchaxd430pbbhqgl9"))))
(build-system waf-build-system) (build-system waf-build-system)
(arguments `(#:tests? #f)) ; no check target (arguments
`(#:tests? #f ; no check target
#:phases
(modify-phases %standard-phases
(add-before
'configure 'set-flags
(lambda _
;; Compile with C++11, required by gtkmm.
(setenv "CXXFLAGS" "-std=c++11")
#t)))))
(inputs (inputs
`(("lv2" ,lv2) `(("lv2" ,lv2)
("lilv" ,lilv) ("lilv" ,lilv)

View File

@ -253,8 +253,10 @@ functions which were removed.")
(build-system waf-build-system) (build-system waf-build-system)
(arguments (arguments
`(#:phases (alist-cons-before `(#:phases (alist-cons-before
'configure 'set-ldflags 'configure 'set-flags
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
;; Compile with C++11, required by gtkmm.
(setenv "CXXFLAGS" "-std=c++11")
;; Allow 'bin/ganv_bench' to find libganv-1.so. ;; Allow 'bin/ganv_bench' to find libganv-1.so.
(setenv "LDFLAGS" (setenv "LDFLAGS"
(string-append "-Wl,-rpath=" (string-append "-Wl,-rpath="

View File

@ -346,6 +346,14 @@ Guile.")
(%current-system)))) (%current-system))))
'("--disable-sse") '("--disable-sse")
'())) '()))
#:phases
(modify-phases %standard-phases
(add-before
'configure 'set-flags
(lambda _
;; Compile with C++11, required by libsigc++.
(setenv "CXXFLAGS" "-std=c++11")
#t)))
#:python ,python-2)) #:python ,python-2))
(inputs (inputs
`(("jack" ,jack-1) `(("jack" ,jack-1)

View File

@ -199,6 +199,8 @@ sound server.")
(base32 (base32
"14486c6lmmirkhscbfygz114f6yzf97h35n3h3pdr27w4mdfmlmk")))) "14486c6lmmirkhscbfygz114f6yzf97h35n3h3pdr27w4mdfmlmk"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments
'(#:configure-flags '("CXXFLAGS=-std=c++11"))) ; required by gtkmm
(inputs (inputs
`(("libcanberra" ,libcanberra) `(("libcanberra" ,libcanberra)
("gtkmm" ,gtkmm) ("gtkmm" ,gtkmm)