Skip to content

Commit

Permalink
media-libs/ganv: Fix building with latest glibmm/libsigc++
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.26
  • Loading branch information
pacho2 committed Dec 23, 2015
1 parent 0dd30aa commit 9e1e17f
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions media-libs/ganv/ganv-1.4.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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/"
Expand All @@ -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") \
Expand Down

0 comments on commit 9e1e17f

Please sign in to comment.