/[gentoo-x86]/sci-libs/avogadrolibs/avogadrolibs-0.7.2-r1.ebuild
Gentoo

Contents of /sci-libs/avogadrolibs/avogadrolibs-0.7.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Dec 1 09:45:23 2014 UTC (5 years, 1 month ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
sci-libs/avogadrolibs: Use SUBSLOTS for hdf5

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/avogadrolibs/avogadrolibs-0.7.2-r1.ebuild,v 1.2 2014/03/10 14:34:01 kensington Exp $
4
5 EAPI=5
6
7 inherit cmake-utils
8
9 DESCRIPTION="Advanced molecule editor and visualizer 2 - libraries"
10 HOMEPAGE="http://www.openchemistry.org/"
11 SRC_URI="mirror://sourceforge/project/avogadro/avogadro2/${PV}/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="BSD GPL-2+"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
16 IUSE="doc opengl qt4 static-plugins test vtk"
17
18 REQUIRED_USE="qt4? ( opengl )"
19
20 RDEPEND="
21 >=sci-chemistry/molequeue-0.7
22 sci-libs/chemkit
23 sci-libs/hdf5:=
24 opengl? (
25 dev-qt/qtopengl:4
26 media-libs/glew
27 )
28 qt4? (
29 dev-qt/qtcore:4
30 dev-qt/qtgui:4
31 )
32 vtk? ( sci-libs/vtk )
33 "
34 DEPEND="${DEPEND}
35 test? ( dev-cpp/gtest )"
36
37 PATCHES=( "${FILESDIR}"/${P}-6464.patch )
38
39 src_configure() {
40 local mycmakeargs=(
41 -DUSE_PROTOCALL=OFF
42 -DBUILD_GPL_PLUGINS=ON
43 $(cmake-utils_use_build doc DOCUMENTATION)
44 $(cmake-utils_use_use opengl OPENGL)
45 $(cmake-utils_use_use qt4 QT)
46 $(cmake-utils_use_build static-plugins STATIC_PLUGINS)
47 $(cmake-utils_use_enable test TESTING)
48 $(cmake-utils_use_use vtk VTK)
49 )
50 cmake-utils_src_configure
51 }

  ViewVC Help
Powered by ViewVC 1.1.20