1 # Copyright 1999-2019 Gentoo Authors
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 ~arm64 hppa ia64 ppc ppc64 ~sh sparc x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
14 IUSE="doc examples test"
15 RESTRICT="!test? ( test )"
18 >=dev-cpp/glibmm-2.34.1:2[${MULTILIB_USEDEP}]
19 >=x11-libs/gtk+-2.24.15:2[${MULTILIB_USEDEP}]
20 >=x11-libs/gdk-pixbuf-2.28:2[${MULTILIB_USEDEP}]
21 >=dev-cpp/atkmm-2.22.7[${MULTILIB_USEDEP}]
22 >=dev-cpp/cairomm-1.10.0-r1[${MULTILIB_USEDEP}]
23 >=dev-cpp/pangomm-2.34.0:1.4[${MULTILIB_USEDEP}]
24 >=dev-libs/libsigc++-2.3.2:2[${MULTILIB_USEDEP}]
27 virtual/pkgconfig[${MULTILIB_USEDEP}]
36 # don't waste time building tests
37 sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
41 if ! use examples; then
42 # don't waste time building tests
43 sed 's/^\(SUBDIRS =.*\)demos\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
50 multilib_src_configure() {
52 gnome2_src_configure \
54 $(multilib_native_use_enable doc documentation)
57 multilib_src_install() {
61 multilib_src_install_all() {
62 DOCS="AUTHORS ChangeLog PORTING NEWS README"