/[gentoo-x86]/sci-chemistry/gelemental/gelemental-1.2.0.ebuild
Gentoo

Contents of /sci-chemistry/gelemental/gelemental-1.2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Tue Jul 31 06:47:17 2012 UTC (6 years, 3 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +5 -2 lines
sci-chemistry/gelemental: Import patch from debian fixing an doxygen issue; build in source, bcause doxygen is broken otherwise, #428684

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gelemental/gelemental-1.2.0.ebuild,v 1.7 2012/07/01 13:08:51 jlec Exp $
4
5 EAPI=4
6
7 inherit autotools-utils fdo-mime gnome2-utils eutils
8
9 DESCRIPTION="Periodic table viewer that provides detailed information on the chemical elements"
10 HOMEPAGE="http://freecode.com/projects/gelemental/"
11 SRC_URI="http://www.kdau.com/files/${P}.tar.bz2"
12
13 LICENSE="GPL-3 MIT"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE="doc static-libs"
17
18 RDEPEND="
19 dev-cpp/gtkmm:2.4
20 dev-cpp/glibmm:2"
21 DEPEND="${RDEPEND}
22 virtual/pkgconfig
23 sys-devel/gettext
24 dev-util/intltool
25 doc? ( app-doc/doxygen )"
26
27 PATCHES=(
28 "${FILESDIR}"/${P}-gcc4.3.patch
29 "${FILESDIR}"/${P}-glib-2.32.patch
30 "${FILESDIR}"/${P}-doxygen.patch )
31
32 AUTOTOOLS_IN_SOURCE_BUILD=1
33
34 src_configure() {
35 local myeconfargs=( $(use_enable doc api-docs) )
36 autotools-utils_src_configure
37 }
38
39 src_install() {
40 autotools-utils_src_install apidir="/usr/share/doc/${PF}/html"
41 }
42
43 pkg_postinst() {
44 gnome2_icon_cache_update
45 fdo-mime_desktop_database_update
46 }
47
48 pkg_postrm() {
49 gnome2_icon_cache_update
50 fdo-mime_desktop_database_update
51 }

  ViewVC Help
Powered by ViewVC 1.1.20