Added OpenSCAD live ebuild
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
EBUILD openscad-9999.ebuild 887 SHA256 217736b22330a9910d6052de95186c38a4a42800e81d428d2af27498c4716036 SHA512 28f5bdfac51e5058196a3f25ab5d60d872d4b7c66855f21a14c4acf6d056f6129847fb2d7544061de41eb71498d1d3156d5de03a4c0990596bd61481cd35a251 WHIRLPOOL 804caaff3ebd7aa4a6bf0350c798d2d2f2057e1fdfd6646834f2c79b20238ee4872f2e03c919ec6776c2add7b3dc0bdaad1ffa858a8fccc05c1e73e496968398
|
||||
MISC metadata.xml 839 SHA256 e92ca10a725c36e711270e747abbd22584b0baba005ae1d65e45c89755f40a84 SHA512 f13910d4339e820344e1c70edc384c4522ad506c50ffc80e843358199b0d2e27f9eafe99e4613f258a62abc4683b462d001fe71e19d849845f6f4cf75324ffd3 WHIRLPOOL ca3494c5d2314193a80315008ef44b08f48fa624922340e33402c8fc87729ab27fcbf491b0c802d7052e1e63df00948835d657d8214c76376cf8e61fd2813935
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>mattm@gentoo.org</email>
|
||||
<name>Matthew Marlowe</name>
|
||||
</maintainer>
|
||||
<longdescription>
|
||||
OpenSCAD is a software for creating solid 3D CAD objects. Unlike most free software for creating 3D models (such as the famous application Blender) it does not focus on the artistic aspects of 3D modelling but instead on the CAD aspects. Thus it might be the application you are looking for when you are planning to create 3D models of machine parts but pretty sure is not what you are looking for when you are more interested in creating computer-animated movies. OpenSCAD is free software and available for Linux/UNIX, MS Windows and Mac OS X.
|
||||
</longdescription>
|
||||
<use>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit qt4-r2
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/openscad/openscad.git"
|
||||
else
|
||||
SRC_URI="http://files.openscad.org/${P}.src.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The Programmers Solid 3D CAD Modeller"
|
||||
HOMEPAGE="http://www.openscad.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
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
|
||||
"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user