summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2009-02-17 17:46:44 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2009-02-17 17:46:44 +0000
commit594014cf0bbedfcced3fd1bb492c947fc8fdf468 (patch)
tree55d411c18dc9e76f928516591e58c42a31230174 /sci-chemistry/avogadro
parentVersion bump. Add kde to maintainers, since we will use it for koffice2 and o... (diff)
downloadgentoo-2-594014cf0bbedfcced3fd1bb492c947fc8fdf468.tar.gz
gentoo-2-594014cf0bbedfcced3fd1bb492c947fc8fdf468.tar.bz2
gentoo-2-594014cf0bbedfcced3fd1bb492c947fc8fdf468.zip
Version bump. Fixes bug #257785.
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/avogadro')
-rw-r--r--sci-chemistry/avogadro/ChangeLog10
-rw-r--r--sci-chemistry/avogadro/avogadro-0.9.1.ebuild43
-rw-r--r--sci-chemistry/avogadro/metadata.xml3
3 files changed, 54 insertions, 2 deletions
diff --git a/sci-chemistry/avogadro/ChangeLog b/sci-chemistry/avogadro/ChangeLog
index bc0677923540..cb5c7507808c 100644
--- a/sci-chemistry/avogadro/ChangeLog
+++ b/sci-chemistry/avogadro/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-chemistry/avogadro
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/ChangeLog,v 1.15 2008/09/22 13:28:43 markusle Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/ChangeLog,v 1.16 2009/02/17 17:46:44 scarabeus Exp $
+
+*avogadro-0.9.1 (17 Feb 2009)
+
+ 17 Feb 2009; Tomas Chvatal <scarabeus@gentoo.org> metadata.xml,
+ +avogadro-0.9.1.ebuild:
+ Version bump. Fixes bug #257785.
22 Sep 2008; Markus Dittrich <markusle@gentoo.org> avogadro-0.8.1.ebuild:
Changed Qt dependency to version 4.3.4 or newer (fixes bug #237543).
diff --git a/sci-chemistry/avogadro/avogadro-0.9.1.ebuild b/sci-chemistry/avogadro/avogadro-0.9.1.ebuild
new file mode 100644
index 000000000000..d1abf40dbc5a
--- /dev/null
+++ b/sci-chemistry/avogadro/avogadro-0.9.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/avogadro/avogadro-0.9.1.ebuild,v 1.1 2009/02/17 17:46:44 scarabeus Exp $
+
+EAPI=2
+
+inherit cmake-utils
+
+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.0
+ x11-libs/qt-gui:4
+ x11-libs/qt-opengl:4
+ glsl? (
+ >=media-libs/glew-1.5.0
+ )
+ python? (
+ >=dev-lang/python-2.5
+ >=dev-libs/boost-1.34
+ )
+"
+DEPEND="${RDEPEND}
+ dev-cpp/eigen:2
+ >=dev-util/cmake-2.6.2
+"
+
+src_configure() {
+ local mycmakeargs
+ mycmakeargs="${mycmakeargs}
+ -DENABLE_THREADGL=FALSE
+ $(cmake-utils_use_enable glsl GLSL)
+ $(cmake-utils_use_enable python PYTHON)"
+
+ cmake-utils_src_configure
+}
diff --git a/sci-chemistry/avogadro/metadata.xml b/sci-chemistry/avogadro/metadata.xml
index 62235df712c8..4f8df4c8fc65 100644
--- a/sci-chemistry/avogadro/metadata.xml
+++ b/sci-chemistry/avogadro/metadata.xml
@@ -11,4 +11,7 @@
science, and related areas. It offers flexible rendering and a powerful
plugin architecture.
</longdescription>
+ <use>
+ <flag name="glsl">Enable glsl features via GLEW.</flag>
+ </use>
</pkgmetadata>