Gentoo Archives: gentoo-commits

From: "Matthew Marlow (mattm)" <mattm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/opencsg: metadata.xml ChangeLog opencsg-1.3.2.ebuild
Date: Thu, 02 Aug 2012 02:06:50
Message-Id: 20120802020634.C89702004C@flycatcher.gentoo.org
1 mattm 12/08/02 02:06:34
2
3 Added: metadata.xml ChangeLog opencsg-1.3.2.ebuild
4 Log:
5 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@××××××××.uk for opening the initial bug and including an ebuild.
6
7 (Portage version: 2.1.11.9/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-gfx/opencsg/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/opencsg/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/opencsg/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <maintainer>
21 <email>mattm@g.o</email>
22 <name>Matthew Marlowe</name>
23 </maintainer>
24 <longdescription>
25 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.
26 </longdescription>
27 <use>
28 </use>
29 </pkgmetadata>
30
31
32
33 1.1 media-gfx/opencsg/ChangeLog
34
35 <<Binary file>>
36
37
38 1.1 media-gfx/opencsg/opencsg-1.3.2.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/opencsg/opencsg-1.3.2.ebuild?rev=1.1&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/opencsg/opencsg-1.3.2.ebuild?rev=1.1&content-type=text/plain
42
43 Index: opencsg-1.3.2.ebuild
44 ===================================================================
45 # Copyright 1999-2012 Gentoo Foundation
46 # Distributed under the terms of the GNU General Public License v2
47 # $Header: /var/cvsroot/gentoo-x86/media-gfx/opencsg/opencsg-1.3.2.ebuild,v 1.1 2012/08/02 02:06:34 mattm Exp $
48
49 EAPI="2"
50
51 inherit qt4-r2
52
53 DESCRIPTION="The Constructive Solid Geometry rendering library"
54 HOMEPAGE="http://www.opencsg.org/"
55 SRC_URI="http://www.opencsg.org/OpenCSG-${PV}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS=""
60 IUSE=""
61
62 CDEPEND="media-libs/glew x11-libs/qt-core"
63 DEPEND="${CDEPEND} sys-devel/gcc"
64 RDEPEND="${CDEPEND}"
65
66 S="${WORKDIR}/OpenCSG-${PV}"
67
68 src_unpack() {
69 unpack ${A}
70
71 /bin/rm -Rf "${S}"/glew
72 }
73
74 src_prepare() {
75 # We actually want to install somthing
76 cat << EOF >> src/src.pro
77 include.path=/usr/include
78 include.files=../include/*
79 target.path=/usr/lib
80 INSTALLS += target include
81 EOF
82
83 }
84
85 src_configure() {
86 eqmake4 "${S}"/src/src.pro
87 }