1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 inherit eutils gnome2 flag-o-matic multilib-minimal
10 DESCRIPTION="Typesafe callback system for standard C++"
11 HOMEPAGE="http://libsigc.sourceforge.net/"
15 KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
16 IUSE="doc static-libs test"
18 RDEPEND="abi_x86_32? (
19 !<=app-emulation/emul-linux-x86-cpplibs-20140508-r1
20 !app-emulation/emul-linux-x86-cpplibs[-abi_x86_32(-)] )
23 # Needs mm-common for eautoreconf
26 # don't waste time building examples
27 sed -i 's|^\(SUBDIRS =.*\)examples\(.*\)$|\1\2|' \
28 Makefile.am Makefile.in || die "sed examples failed"
30 # don't waste time building tests unless USE=test
32 sed -i 's|^\(SUBDIRS =.*\)tests\(.*\)$|\1\2|' \
33 Makefile.am Makefile.in || die "sed tests failed"
39 multilib_src_configure() {
40 filter-flags -fno-exceptions #84263
42 ECONF_SOURCE="${S}" gnome2_src_configure \
43 $(multilib_native_use_enable doc documentation) \
44 $(use_enable static-libs static)
47 multilib_src_install() {
51 multilib_src_install_all() {
54 # Note: html docs are installed into /usr/share/doc/libsigc++-2.0
55 # We can't use /usr/share/doc/${PF} because of links from glibmm etc. docs
57 insinto /usr/share/doc/${PF}