media-libs/ganv: Fix building with latest glibmm/libsigc++
authorPacho Ramos <pacho@gentoo.org>
Wed, 23 Dec 2015 10:48:07 +0000 (11:48 +0100)
committerPacho Ramos <pacho@gentoo.org>
Wed, 23 Dec 2015 10:58:53 +0000 (11:58 +0100)
Package-Manager: portage-2.2.26

media-libs/ganv/ganv-1.4.2.ebuild

index d29a09de0eea485940b38f7868461c37ee105131..aca1ac6f985e31a8982867546b49d16b421345d4 100644 (file)
@@ -5,7 +5,7 @@
 EAPI=5
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE='threads(+)'
-inherit eutils waf-utils python-any-r1
+inherit eutils flag-o-matic waf-utils python-any-r1
 
 DESCRIPTION="A GTK+ widget for interactive graph-like environments"
 HOMEPAGE="http://drobilla.net/software/ganv/"
@@ -16,22 +16,25 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="+fdgl +graphviz introspection nls"
 
-RDEPEND="dev-cpp/glibmm:2
+RDEPEND="
+       dev-cpp/glibmm:2
        dev-cpp/gtkmm:2.4
        x11-libs/gtk+:2
        graphviz? ( media-gfx/graphviz[gtk] )
-       introspection? ( app-text/yelp-tools
-               dev-libs/gobject-introspection[doctool] )"
+       introspection? (
+               app-text/yelp-tools
+               dev-libs/gobject-introspection:=[doctool] )
+"
 DEPEND="${RDEPEND}
-       nls? ( virtual/libintl )"
-
-DOCS=( AUTHORS NEWS README )
+       nls? ( virtual/libintl )
+"
 
 src_prepare() {
        epatch "${FILESDIR}"/${P}-no-fdgl.patch
 }
 
 src_configure() {
+       append-cxxflags -std=c++11
        waf-utils_src_configure \
                $(use graphviz || echo "--no-graphviz") \
                $(use fdgl || echo "--no-fdgl") \