You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
752 B
37 lines
752 B
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=5
|
|
|
|
inherit qt4-r2
|
|
|
|
DESCRIPTION="The Programmers Solid 3D CAD Modeller"
|
|
HOMEPAGE="http://www.openscad.org/"
|
|
SRC_URI="http://files.openscad.org/${P}.src.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
CDEPEND="media-gfx/opencsg
|
|
sci-mathematics/cgal
|
|
dev-qt/qtcore:4
|
|
dev-qt/qtgui:4
|
|
dev-qt/qtopengl:4
|
|
dev-cpp/eigen:3
|
|
dev-libs/gmp:0
|
|
dev-libs/mpfr:0
|
|
dev-libs/boost:=
|
|
x11-libs/qscintilla:=[qt4(-)]
|
|
"
|
|
DEPEND="${CDEPEND}"
|
|
RDEPEND="${CDEPEND}"
|
|
|
|
src_prepare() {
|
|
#Use our CFLAGS (specifically don't force x86)
|
|
sed -i "s/QMAKE_CXXFLAGS_RELEASE = .*//g" ${PN}.pro || die
|
|
|
|
sed -i "s/\/usr\/local/\/usr/g" ${PN}.pro || die
|
|
}
|