1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 GNOME_TARBALL_SUFFIX="bz2"
8 inherit flag-o-matic gnome2
10 DESCRIPTION="C++ bindings for libgnomecanvas"
11 HOMEPAGE="https://www.gtkmm.org"
15 KEYWORDS="~alpha amd64 arm ia64 ppc ppc64 sparc x86"
19 >=gnome-base/libgnomecanvas-2.6
20 >=dev-cpp/gtkmm-2.4:2.4
24 doc? ( app-doc/doxygen )
28 if ! use examples; then
29 # don't waste time building the examples
30 sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \
31 die "sed Makefile.in failed"
34 append-cxxflags -std=c++11 #568300
41 cd "${S}/docs/reference"
50 dohtml -r docs/reference/html/*
54 cp -R examples "${D}/usr/share/doc/${PF}"