summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Brewer <tomboy64@sina.cn>2016-03-18 23:20:05 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-03-31 00:38:59 +1100
commit0d2b3ad098e2b733b572eb6d5105aada9bf61db1 (patch)
treefad75eb29a9b86faf49e050e8430758f2b22699a /media-gfx/openscad
parentmedia-libs/raspberrypi-userland: version bump (diff)
downloadgentoo-0d2b3ad098e2b733b572eb6d5105aada9bf61db1.tar.gz
gentoo-0d2b3ad098e2b733b572eb6d5105aada9bf61db1.tar.bz2
gentoo-0d2b3ad098e2b733b572eb6d5105aada9bf61db1.zip
media-gfx/openscad: version bump to 2015.03_p2 & bugfix
- bump to patchlevel 2 - fix segfault when using with qt{opengl,gui}:4[egl] -> enforce USE=-egl - update dependency list - port to EAPI 6 Package-Manager: portage-2.2.28 RepoMan-Options: --ignore-arches
Diffstat (limited to 'media-gfx/openscad')
-rw-r--r--media-gfx/openscad/Manifest1
-rw-r--r--media-gfx/openscad/openscad-2015.03_p2.ebuild54
2 files changed, 55 insertions, 0 deletions
diff --git a/media-gfx/openscad/Manifest b/media-gfx/openscad/Manifest
index 4adfe12200e1..e20746eab021 100644
--- a/media-gfx/openscad/Manifest
+++ b/media-gfx/openscad/Manifest
@@ -1 +1,2 @@
+DIST openscad-2015.03-2.src.tar.gz 13307974 SHA256 a2535bb9e27d96e10e1e19268a596155164c7129d410a0c7f96edc2d09400083 SHA512 66e93715987a5211ce15c10ea39a9fec3296b606ace0aba1cda019635d5b26021457c8e49f389daa90a0da02e41007eab662e1ed6608cb51c24de00253b9783f WHIRLPOOL 1454a22464f5dcf9726d5bb4fa5f7c080e419e44a3877a5ac43590e2b0552ecb169a9d2a9e15868c8020ffcfb894fc84f0269460f032f516ec9286f27155ca73
DIST openscad-2015.03.src.tar.gz 12748351 SHA256 68ce08adc9e90c606ad948fe0f3405ce62b03b6bf34c45dd3dfc6b20c1846182 SHA512 dadabe86c4897e1e074f67d7a94fb4a3813dd4e89997ec9106b343a4d015b88aef17c91b7b6351ef4ae08ff1da6cbb7ae92fcf89c271746a665e3422d4a3fe23 WHIRLPOOL 83540fc42d2b57d06a49030894f407d9eb68bdeec67e1028cb0f0bbe51d7872eab15103c25290a4243457e3f570a296fcb8a51efac9f28caf7b6c2d71d22f8d3
diff --git a/media-gfx/openscad/openscad-2015.03_p2.ebuild b/media-gfx/openscad/openscad-2015.03_p2.ebuild
new file mode 100644
index 000000000000..fbd76edc8eba
--- /dev/null
+++ b/media-gfx/openscad/openscad-2015.03_p2.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils qmake-utils
+
+MY_PV="2015.03-2"
+
+DESCRIPTION="The Programmers Solid 3D CAD Modeller"
+HOMEPAGE="http://www.openscad.org/"
+SRC_URI="http://files.openscad.org/${PN}-${MY_PV}.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[-egl]
+ dev-qt/qtopengl:4[-egl]
+ dev-cpp/eigen:3
+ dev-libs/glib:2
+ dev-libs/gmp:0
+ dev-libs/mpfr:0
+ dev-libs/boost:=
+ media-libs/fontconfig:1.0
+ media-libs/freetype:2
+ media-libs/glew
+ media-libs/harfbuzz
+ x11-libs/qscintilla"
+DEPEND="${CDEPEND}"
+RDEPEND="${CDEPEND}"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+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
+
+ eapply_user
+}
+
+src_configure() {
+ eqmake4 "${PN}.pro"
+}
+
+src_install() {
+ emake install INSTALL_ROOT="${D}"
+ einstalldocs
+}