mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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:
parent
c21317d425
commit
d8c317df26
4 changed files with 23 additions and 2 deletions
|
@ -746,7 +746,16 @@ (define-public jalv
|
||||||
(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)
|
||||||
|
|
|
@ -253,8 +253,10 @@ (define-public ganv
|
||||||
(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="
|
||||||
|
|
|
@ -346,6 +346,14 @@ (define-public non-sequencer
|
||||||
(%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)
|
||||||
|
|
|
@ -199,6 +199,8 @@ (define-public pavucontrol
|
||||||
(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)
|
||||||
|
|
Loading…
Reference in a new issue