You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1.2 KiB
51 lines
1.2 KiB
9 years ago
|
# Copyright 1999-2015 Gentoo Foundation
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
13 years ago
|
|
||
11 years ago
|
EAPI=5
|
||
|
GCONF_DEBUG="no"
|
||
13 years ago
|
|
||
9 years ago
|
inherit gnome2 multilib-minimal
|
||
13 years ago
|
|
||
|
DESCRIPTION="C++ bindings for the Cairo vector graphics library"
|
||
|
HOMEPAGE="http://cairographics.org/cairomm"
|
||
|
|
||
9 years ago
|
LICENSE="LGPL-2+"
|
||
13 years ago
|
SLOT="0"
|
||
9 years ago
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||
13 years ago
|
IUSE="doc +svg"
|
||
|
|
||
|
# FIXME: svg support is automagic
|
||
11 years ago
|
RDEPEND="
|
||
9 years ago
|
>=x11-libs/cairo-1.12.10[svg?,${MULTILIB_USEDEP}]
|
||
|
>=dev-libs/libsigc++-2.5.1:2[${MULTILIB_USEDEP}]
|
||
11 years ago
|
"
|
||
13 years ago
|
DEPEND="${RDEPEND}
|
||
12 years ago
|
virtual/pkgconfig
|
||
13 years ago
|
doc? (
|
||
|
app-doc/doxygen
|
||
|
dev-libs/libxslt
|
||
11 years ago
|
media-gfx/graphviz )
|
||
|
"
|
||
13 years ago
|
|
||
|
src_prepare() {
|
||
|
# don't waste time building examples because they are marked as "noinst"
|
||
11 years ago
|
sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || die
|
||
13 years ago
|
|
||
|
# don't waste time building tests
|
||
|
# they require the boost Unit Testing framework, that's not in base boost
|
||
11 years ago
|
sed -i 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' Makefile.in || die
|
||
|
|
||
|
gnome2_src_prepare
|
||
13 years ago
|
}
|
||
|
|
||
9 years ago
|
multilib_src_configure() {
|
||
|
ECONF_SOURCE="${S}" gnome2_src_configure \
|
||
13 years ago
|
--disable-tests \
|
||
9 years ago
|
$(multilib_native_use_enable doc documentation)
|
||
|
}
|
||
|
|
||
|
multilib_src_install() {
|
||
|
gnome2_src_install
|
||
13 years ago
|
}
|