aboutsummaryrefslogtreecommitdiff
blob: 2434d4fad37ba5773a211be8aca10d3bd574cbf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI="5"

GCONF_DEBUG="no"
inherit autotools flag-o-matic gnome2 versionator subversion

DESCRIPTION="Programs and library containing GTK widgets and C++ classes related to chemistry"
HOMEPAGE="http://gchemutils.nongnu.org/"
SRC_URI=""
ESVN_REPO_URI="svn://svn.savannah.nongnu.org/gchemutils/trunk/gchemutils"

SLOT="0"
KEYWORDS=""
LICENSE="GPL-3 FDL-1.3"
IUSE="gnumeric nls"

RDEPEND="
	>=dev-libs/glib-2.36.0:2
	>=dev-libs/libxml2-2.4.16:2
	>=gnome-extra/libgsf-1.14.9
	>=sci-chemistry/bodr-5
	>=sci-chemistry/chemical-mime-data-0.1.94
	>=sci-chemistry/openbabel-2.3.0
	>=x11-libs/cairo-1.6.0
	>=x11-libs/gdk-pixbuf-2.22.0
	>=x11-libs/goffice-0.10.4
	x11-libs/gtk+:3
	>=x11-libs/libX11-1.0.0
	gnumeric? ( >=app-office/gnumeric-1.11.6 )"
DEPEND="
	virtual/pkgconfig
	app-doc/doxygen"

RESTRICT="mirror"

ESVN_BOOTSTRAP="eautoreconf"

src_prepare() {
	subversion_src_prepare
	gnome2_src_prepare
}

src_configure() {
	local myeconfargs=(
		$(use_enable nls)
		--disable-mozilla-plugin
		--disable-update-databases
	)
	gnome2_src_configure ${myeconfargs[@]}
}