/[gentoo-x86]/sci-chemistry/avogadro/avogadro-0.9.7.ebuild
Gentoo

Contents of /sci-chemistry/avogadro/avogadro-0.9.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Oct 20 00:02:58 2009 UTC (10 years ago) by cryos
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump, removed old version.
(Portage version: 2.2_rc46/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/avogadro-0.9.7.ebuild,v 1.3 2009/08/02 21:30:15 cryos Exp $
4
5 EAPI=2
6
7 inherit cmake-utils eutils
8
9 DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL"
10 HOMEPAGE="http://avogadro.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="+glsl python"
17
18 RDEPEND=">=sci-chemistry/openbabel-2.2.2
19 >=x11-libs/qt-gui-4.5.0:4
20 >=x11-libs/qt-opengl-4.5.0:4
21 glsl? ( >=media-libs/glew-1.5.0 )
22 python? (
23 >=dev-lang/python-2.5
24 >=dev-libs/boost-1.35
25 >=dev-libs/boost-1.35.0-r5[python]
26 dev-python/numpy
27 dev-python/sip
28 )"
29 DEPEND="${RDEPEND}
30 dev-cpp/eigen:2
31 >=dev-util/cmake-2.6.2"
32
33 src_unpack() {
34 unpack ${A}
35 cd "${S}"
36 epatch "${FILESDIR}/${P}-shader-include.patch"
37 }
38
39 src_configure() {
40 local mycmakeargs
41 mycmakeargs="${mycmakeargs}
42 -DENABLE_THREADGL=FALSE
43 -DENABLE_RPATH=OFF
44 -DENABLE_UPDATE_CHECKER=OFF
45 $(cmake-utils_use_enable glsl GLSL)
46 $(cmake-utils_use_enable python PYTHON)"
47
48 cmake-utils_src_configure
49 }

  ViewVC Help
Powered by ViewVC 1.1.20