From 85f4863f3ba04657611d9a6857525c8ba7589fed Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 3 Dec 2016 20:37:52 +0100 Subject: [PATCH] gnu: lvtk: Build UI library. * gnu/packages/audio.scm (lvtk)[inputs]: Add gtkmm-2. [arguments]: Pass "-std=c++11" flag. --- gnu/packages/audio.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index 5de0681cce..d7bdc0168a 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -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)))