summaryrefslogtreecommitdiff
blob: a837a2bb7c67da81c47569b107f232dfcd4f7f0d (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gchemutils/gchemutils-0.10.12.ebuild,v 1.1 2010/05/16 02:54:06 je_fro Exp $

EAPI=2
GCONF_DEBUG=no
MY_P=gnome-chemistry-utils-${PV}

inherit autotools eutils gnome2

DESCRIPTION="C++ classes and Gtk+-2 widgets related to chemistry"
HOMEPAGE="http://www.nongnu.org/gchemutils/"
SRC_URI="http://savannah.nongnu.org/download/gchemutils/0.10/${MY_P}.tar.bz2"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="gnome-base/libglade:2.0
	>=gnome-base/libgnomeprintui-2.4
	>=gnome-extra/libgsf-1.14[gnome]
	>=x11-libs/goffice-0.6.5:0.6[gnome]
	x11-libs/gtkglext
	app-text/gnome-doc-utils
	>=sci-chemistry/openbabel-2.1.1
	sci-chemistry/bodr
	sci-chemistry/chemical-mime-data"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	app-text/rarian
	dev-util/intltool"

S=${WORKDIR}/${MY_P}

src_prepare() {
	gnome2_src_prepare
#	epatch "${FILESDIR}"/${P}-glibc-2.10.patch
	eautoreconf
}

src_configure() {
	gnome2_src_configure \
		--docdir=/usr/share/doc/${PN}/html \
		--disable-update-databases \
		--disable-mozilla-plugin
}

pkg_postinst() {
	elog "You can safely ignore any 'Unknown media type in type blah' warnings above."
	elog "For more info see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420795 "
}