gnu: lvtk: Remove obsolete workarounds.

* gnu/packages/audio.scm (lvtk)[arguments]: Remove <#:phases>.
This commit is contained in:
Marius Bakke 2019-07-03 00:47:29 +02:00
parent 7af60255ba
commit ed59057b6e
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -1948,22 +1948,7 @@ software.")
#:configure-flags
(list (string-append "--boost-includes="
(assoc-ref %build-inputs "boost")
"/include"))
#:phases (modify-phases %standard-phases
(add-before
'configure 'set-flags
(lambda* (#:key inputs #:allow-other-keys)
;; See e.g. https://github.com/lvtk/lvtk/issues/21
(setenv "LDFLAGS"
(string-append
"-L" (assoc-ref inputs "boost") "/lib "
"-lboost_system"))
;; Needed for gtkmm
(substitute* '("src/wscript_build"
"examples/wscript_build")
(("cxxflags.*= \\[" line)
(string-append line "\"-std=c++11\", ")))
#t)))))
"/include"))))
(inputs
`(("boost" ,boost)
("gtkmm" ,gtkmm-2)