summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Marlowe <mattm@gentoo.org>2012-08-02 02:06:34 +0000
committerMatthew Marlowe <mattm@gentoo.org>2012-08-02 02:06:34 +0000
commit03f2380cec94edeede037fbaa8f635aa08c8b45e (patch)
tree142a2b99774978403502cb597d6848ed2a20e2be
parentFix spelling. (diff)
downloadhistorical-03f2380cec94edeede037fbaa8f635aa08c8b45e.tar.gz
historical-03f2380cec94edeede037fbaa8f635aa08c8b45e.tar.bz2
historical-03f2380cec94edeede037fbaa8f635aa08c8b45e.zip
Adding user submitted ebuild to tree. OpenCSG is a required dependency of OpenSCAD which is a popular 3d modeling tool in the 3d printing community. Bug #300856. Thanks to bWare@iWare.co.uk for opening the initial bug and including an ebuild.
Package-Manager: portage-2.1.11.9/cvs/Linux x86_64
-rw-r--r--media-gfx/opencsg/ChangeLog0
-rw-r--r--media-gfx/opencsg/Manifest18
-rw-r--r--media-gfx/opencsg/metadata.xml13
-rw-r--r--media-gfx/opencsg/opencsg-1.3.2.ebuild43
4 files changed, 74 insertions, 0 deletions
diff --git a/media-gfx/opencsg/ChangeLog b/media-gfx/opencsg/ChangeLog
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/media-gfx/opencsg/ChangeLog
diff --git a/media-gfx/opencsg/Manifest b/media-gfx/opencsg/Manifest
new file mode 100644
index 000000000000..29694d969018
--- /dev/null
+++ b/media-gfx/opencsg/Manifest
@@ -0,0 +1,18 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST OpenCSG-1.3.2.tar.gz 744712 SHA256 c790c92998f7113cb35cde825f81c5532755908a0a3f43c3c3c8df2326b3b925 SHA512 12c4308234d61ae013db62039974178d49a7298fb18c9d4e431d3629c75c808e0892c6553f1676d991b50d69e26eeb6d6da1f1eea6b8b2785d06683f523ca0d8 WHIRLPOOL ed59764c861ede60dd430ad111613de92c44bbe6b9d5f33f6c0aee93671b7abb9ef266627f126820c877ee54a651aa0d560beaf1458cbce952e30ed88a6bf908
+EBUILD opencsg-1.3.2.ebuild 873 SHA256 90b2875ecd89b22cb78fc0a2ec446f801fe81fe7da26ab6b851291cfa7a4d507 SHA512 7bdd0e3a7b8dfedcf5430868dd513e599748225392717c091967afc0c1ffc972c7f9fce03e07ad1bc9a10b343678fefa93b75dce70d5e05272b1fd22bc4d6a61 WHIRLPOOL bc4dcf157594d4157827631f068050fae62b998be22afe288fd07fc62c603a3cdad4b71167ec911ffbc473f20450597fbc9027615c31ef089f8a52e858e6cc7c
+MISC ChangeLog 0 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 SHA512 cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e WHIRLPOOL 19fa61d75522a4669b44e39c1d2e1726c530232130d407f89afee0964997f7a73e83be698b288febcf88e3e03c4f0757ea8964e59b63d93708b138cc42a66eb3
+MISC metadata.xml 1115 SHA256 b0ca5d59b2b5a040f58625e9d614c551b38a6a9c4cb12f8fc93a7571345c4f3c SHA512 0e1e820d75e1fad3cd671506e8789ccdb1dec901810570f43cbc327c77eb4f1b38496765269e6f018c7730467e209398a530c8636c155689501d911c601f2421 WHIRLPOOL efd1ee27b65b8944b50e9e240debe70012eca60d041ddad9d023a0a0fe46300fab51e053d2256ecd43b0b975074706575f4d92afe8c5a190a52a0eb167d96867
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJQGeC1AAoJEC1LWXx4YDenejcH/1jOMV3sn4gftwoUOrBWSw47
+NroW0tnjCSIXa0+Ping/tsv/XX84ii9wiHkIUlvefX7qyzUebLTPgDj0y+TleOI9
+gC5XyWXSsKVIPLzn0JXwuUzSIFiv32UQBKoCR+L+/k+tCH92H6WkWg/t7l+AGFpt
+PzOU057zRgQagXaVPGnufeAXc8K6PRXYl3B9/Fj0+1krbOKguf9B6AhgzLBEXonW
+x1berS2JLLzN8ZxwD2oKbtGB3u3Gz9R3japjbFA8IEu4iPDVd/xpgQLmy/mrJ7iT
+Nmp+dAKur0recjD1A28Gg7wMBbfllgojh7X+t1Tpj5KxT12Wlqz/UL6a0eihmkg=
+=Ggnj
+-----END PGP SIGNATURE-----
diff --git a/media-gfx/opencsg/metadata.xml b/media-gfx/opencsg/metadata.xml
new file mode 100644
index 000000000000..c90d92f5ccd0
--- /dev/null
+++ b/media-gfx/opencsg/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>mattm@gentoo.org</email>
+<name>Matthew Marlowe</name>
+</maintainer>
+<longdescription>
+OpenCSG is a library that does image-based CSG rendering using OpenGL. OpenCSG is written in C++ and supports most modern graphics hardware using Microsoft Windows or the Linux operating system. What is CSG, anyway? CSG is short for Constructive Solid Geometry and denotes an approach to model complex 3D-shapes using simpler ones. I.e., two shapes can be combined by taking the union of them, by intersecting them, or by subtracting one shape of the other. SG is often used as fundamental modeling technique in CAD/CAM applications. Here, image-based CSG rendering is the key to interactively manipulate CSG shapes. Since OpenCSG renders even complex CSG shapes fast, it can be advantageously used in such applications. The OpenCSG library requires graphics hardware that either supports frame buffer objects or PBuffers in OpenGL.
+</longdescription>
+<use>
+</use>
+</pkgmetadata>
diff --git a/media-gfx/opencsg/opencsg-1.3.2.ebuild b/media-gfx/opencsg/opencsg-1.3.2.ebuild
new file mode 100644
index 000000000000..23effae8257b
--- /dev/null
+++ b/media-gfx/opencsg/opencsg-1.3.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/opencsg/opencsg-1.3.2.ebuild,v 1.1 2012/08/02 02:06:34 mattm Exp $
+
+EAPI="2"
+
+inherit qt4-r2
+
+DESCRIPTION="The Constructive Solid Geometry rendering library"
+HOMEPAGE="http://www.opencsg.org/"
+SRC_URI="http://www.opencsg.org/OpenCSG-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+CDEPEND="media-libs/glew x11-libs/qt-core"
+DEPEND="${CDEPEND} sys-devel/gcc"
+RDEPEND="${CDEPEND}"
+
+S="${WORKDIR}/OpenCSG-${PV}"
+
+src_unpack() {
+ unpack ${A}
+
+ /bin/rm -Rf "${S}"/glew
+}
+
+src_prepare() {
+ # We actually want to install somthing
+ cat << EOF >> src/src.pro
+include.path=/usr/include
+include.files=../include/*
+target.path=/usr/lib
+INSTALLS += target include
+EOF
+
+}
+
+src_configure() {
+ eqmake4 "${S}"/src/src.pro
+}