gnu: lvtk: Build UI library.

* gnu/packages/audio.scm (lvtk)[inputs]: Add gtkmm-2.
[arguments]: Pass "-std=c++11" flag.
This commit is contained in:
Ricardo Wurmus 2016-12-03 20:37:52 +01:00
parent 8a610eb605
commit 85f4863f3b
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 8 additions and 1 deletions

View File

@ -1653,9 +1653,16 @@ software.")
(setenv "LDFLAGS"
(string-append
"-L" (assoc-ref inputs "boost") "/lib "
"-lboost_system")))))))
"-lboost_system"))
;; Needed for gtkmm
(substitute* '("src/wscript_build"
"examples/wscript_build")
(("cxxflags.*= \\[" line)
(string-append line "\"-std=c++11\", ")))
#t)))))
(inputs
`(("boost" ,boost)
("gtkmm" ,gtkmm-2)
("lv2" ,lv2)))
(native-inputs
`(("pkg-config" ,pkg-config)))