summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2016-12-03 20:37:52 +0100
committerRicardo Wurmus <rekado@elephly.net>2016-12-04 10:16:37 +0100
commit85f4863f3ba04657611d9a6857525c8ba7589fed (patch)
tree2e6a4a113ca5a07c29d217da71d87f087ba78128
parent8a610eb6059f874e9b24c2939d21df840014db8f (diff)
downloadguix-85f4863f3ba04657611d9a6857525c8ba7589fed.tar.gz
gnu: lvtk: Build UI library.
* gnu/packages/audio.scm (lvtk)[inputs]: Add gtkmm-2.
[arguments]: Pass "-std=c++11" flag.
-rw-r--r--gnu/packages/audio.scm9
1 files changed, 8 insertions, 1 deletions
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)))