1 # Copyright 1999-2017 Gentoo Foundation
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 gnome-vfs"
11 HOMEPAGE="https://www.gtkmm.org"
15 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd"
18 # glibmm dep is because build fails with older versions...
20 >=gnome-base/gnome-vfs-2.8.1
25 doc? ( app-doc/doxygen )
30 # documentation requires Doxygen and takes time
31 sed -i 's/^\(SUBDIRS =.*\)docs\(.*\)$/\1\2/' Makefile.in || \
32 die "sed Makefile.in failed"
35 if ! use examples; then
36 # don't waste time building the examples
37 sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \
38 die "sed Makefile.in failed"
41 append-cxxflags -std=c++11
50 dohtml -r docs/reference/html/*
54 find examples -type d -name '.deps' -exec rm -fr {} \; 2>/dev/null
55 cp -R examples "${ED}"/usr/share/doc/${PF}