summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-03-26 17:09:52 +0000
committerJustin Lecher <jlec@gentoo.org>2011-03-26 17:09:52 +0000
commit23f5a43a0c8dbef6a5817ff8f56d2cc34328d9b8 (patch)
treea77ebba272f9e8f109bc9bf515c6aa4f826dccae /sci-chemistry/avogadro
parentAdapt phonon dependency for package move (diff)
downloadgentoo-2-23f5a43a0c8dbef6a5817ff8f56d2cc34328d9b8.tar.gz
gentoo-2-23f5a43a0c8dbef6a5817ff8f56d2cc34328d9b8.tar.bz2
gentoo-2-23f5a43a0c8dbef6a5817ff8f56d2cc34328d9b8.zip
Version Bump
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/avogadro')
-rw-r--r--sci-chemistry/avogadro/ChangeLog7
-rw-r--r--sci-chemistry/avogadro/avogadro-1.0.2_rc1.ebuild55
2 files changed, 61 insertions, 1 deletions
diff --git a/sci-chemistry/avogadro/ChangeLog b/sci-chemistry/avogadro/ChangeLog
index 9efb85f6b272..526b0085aff2 100644
--- a/sci-chemistry/avogadro/ChangeLog
+++ b/sci-chemistry/avogadro/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-chemistry/avogadro
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/ChangeLog,v 1.34 2011/03/26 16:57:08 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/ChangeLog,v 1.35 2011/03/26 17:09:52 jlec Exp $
+
+*avogadro-1.0.2_rc1 (26 Mar 2011)
+
+ 26 Mar 2011; Justin Lecher <jlec@gentoo.org> +avogadro-1.0.2_rc1.ebuild:
+ Version Bump
26 Mar 2011; Justin Lecher <jlec@gentoo.org> avogadro-1.0.1.ebuild,
+files/avogadro-1.0.1-sip-backport.patch:
diff --git a/sci-chemistry/avogadro/avogadro-1.0.2_rc1.ebuild b/sci-chemistry/avogadro/avogadro-1.0.2_rc1.ebuild
new file mode 100644
index 000000000000..4a44d3d2e429
--- /dev/null
+++ b/sci-chemistry/avogadro/avogadro-1.0.2_rc1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/avogadro-1.0.2_rc1.ebuild,v 1.1 2011/03/26 17:09:52 jlec Exp $
+
+EAPI=2
+
+PYTHON_DEPEND="python? 2:2.5"
+
+inherit cmake-utils eutils python
+
+DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL"
+HOMEPAGE="http://avogadro.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+glsl python"
+
+RDEPEND="
+ >=sci-chemistry/openbabel-2.2.3
+ >=x11-libs/qt-gui-4.5.3:4
+ >=x11-libs/qt-opengl-4.5.3:4
+ x11-libs/gl2ps
+ glsl? ( >=media-libs/glew-1.5.0 )
+ python? (
+ >=dev-libs/boost-1.35
+ >=dev-libs/boost-1.35.0-r5[python]
+ dev-python/numpy
+ dev-python/sip
+ )"
+DEPEND="${RDEPEND}
+ >=dev-cpp/eigen-2.0.9
+ >=dev-util/cmake-2.6.2"
+
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/1.0.1-gl2ps.patch
+}
+
+src_configure() {
+ local mycmakeargs
+ mycmakeargs="${mycmakeargs}
+ -DENABLE_THREADGL=FALSE
+ -DENABLE_RPATH=OFF
+ -DENABLE_UPDATE_CHECKER=OFF
+ $(cmake-utils_use_enable glsl GLSL)
+ $(cmake-utils_use_enable python PYTHON)"
+
+ cmake-utils_src_configure
+}