# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python2_7 ) inherit cmake-utils flag-o-matic python-single-r1 DESCRIPTION="Advanced molecular editor that uses Qt4 and OpenGL" HOMEPAGE="http://avogadro.openmolecules.net/" SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" IUSE="+glsl python cpu_flags_x86_sse2 test" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" >=sci-chemistry/openbabel-2.3.0 >=dev-qt/qtgui-4.8.5:4 >=dev-qt/qtopengl-4.8.5:4 x11-libs/gl2ps glsl? ( >=media-libs/glew-1.5.0:0= ) python? ( >=dev-libs/boost-1.35.0-r5[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] dev-python/sip[${PYTHON_USEDEP}] ${PYTHON_DEPS} )" DEPEND="${RDEPEND} virtual/pkgconfig