1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit gnome2 multilib-minimal
8 DESCRIPTION="C++ interface for GTK+"
9 HOMEPAGE="https://www.gtkmm.org"
13 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 ~sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
14 IUSE="doc examples test"
17 >=dev-cpp/glibmm-2.34.1:2[${MULTILIB_USEDEP}]
18 >=x11-libs/gtk+-2.24.15:2[${MULTILIB_USEDEP}]
19 >=x11-libs/gdk-pixbuf-2.28:2[${MULTILIB_USEDEP}]
20 >=dev-cpp/atkmm-2.22.7[${MULTILIB_USEDEP}]
21 >=dev-cpp/cairomm-1.10.0-r1[${MULTILIB_USEDEP}]
22 >=dev-cpp/pangomm-2.34.0:1.4[${MULTILIB_USEDEP}]
23 >=dev-libs/libsigc++-2.3.2:2[${MULTILIB_USEDEP}]
25 RDEPEND="${COMMON_DEPEND}
27 !<=app-emulation/emul-linux-x86-gtkmmlibs-20140508
28 !app-emulation/emul-linux-x86-gtkmmlibs[-abi_x86_32(-)] )
30 DEPEND="${COMMON_DEPEND}
31 virtual/pkgconfig[${MULTILIB_USEDEP}]
40 # don't waste time building tests
41 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
45 if ! use examples; then
46 # don't waste time building tests
47 sed 's/^\(SUBDIRS =.*\)demos\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
54 multilib_src_configure() {
56 gnome2_src_configure \
58 $(multilib_native_use_enable doc documentation)
61 multilib_src_install() {
65 multilib_src_install_all() {
66 DOCS="AUTHORS ChangeLog PORTING NEWS README"