unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/2] gnu: lvtk: Build UI library.
@ 2016-12-03 19:42 Ricardo Wurmus
  2016-12-03 19:42 ` [PATCH 2/2] gnu: Add ams-lv2 Ricardo Wurmus
  2016-12-03 21:04 ` [PATCH 1/2] gnu: lvtk: Build UI library Marius Bakke
  0 siblings, 2 replies; 6+ messages in thread
From: Ricardo Wurmus @ 2016-12-03 19:42 UTC (permalink / raw)
  To: guix-devel

* 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 5de0681..d7bdc01 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)))
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-03 23:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-03 19:42 [PATCH 1/2] gnu: lvtk: Build UI library Ricardo Wurmus
2016-12-03 19:42 ` [PATCH 2/2] gnu: Add ams-lv2 Ricardo Wurmus
2016-12-03 21:08   ` Marius Bakke
2016-12-03 22:39     ` Ricardo Wurmus
2016-12-03 21:04 ` [PATCH 1/2] gnu: lvtk: Build UI library Marius Bakke
2016-12-03 22:32   ` Ricardo Wurmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).