1 |
reavertm 10/06/28 19:57:46 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: openscenegraph-2.8.3.ebuild |
5 |
Log: |
6 |
Version bump 2.8.3, fixes bug 316919 and 263839, ebuild submitted by me. |
7 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.5 dev-games/openscenegraph/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/metadata.xml?rev=1.5&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/metadata.xml?rev=1.5&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/metadata.xml?r1=1.4&r2=1.5 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/metadata.xml,v |
19 |
retrieving revision 1.4 |
20 |
retrieving revision 1.5 |
21 |
diff -u -r1.4 -r1.5 |
22 |
--- metadata.xml 14 Apr 2009 17:37:21 -0000 1.4 |
23 |
+++ metadata.xml 28 Jun 2010 19:57:46 -0000 1.5 |
24 |
@@ -10,11 +10,10 @@ |
25 |
The OpenSceneGraph is an open source high performance 3D graphics toolkit, used by application developers in fields such as visual simulation, games, virtual reality, scientific visualization and modelling. Written entirely in Standard C++ and OpenGL it runs on all Windows platforms, OSX, GNU/Linux, IRIX, Solaris, HP-Ux, AIX and FreeBSD operating systems. The OpenSceneGraph is now well established as the world leading scene graph technology, used widely in the vis-sim, space, scientific, oil-gas, games and virtual reality industries. |
26 |
</longdescription> |
27 |
<use> |
28 |
- <flag name="osgapps"> |
29 |
- Build osg applications |
30 |
- </flag> |
31 |
- <flag name="xrandr"> |
32 |
- Enable support for the X xrandr extension |
33 |
- </flag> |
34 |
+ <flag name="fox">Build examples using <pkg>x11-libs/fox</pkg> library</flag> |
35 |
+ <flag name="gdal">Enable support for <pkg>sci-libs/gdal</pkg> library</flag> |
36 |
+ <flag name="openinventor">Build OpenInventor plugin</flag> |
37 |
+ <flag name="osgapps">Build osg applications</flag> |
38 |
+ <flag name="xrandr">Enable support for the X xrandr extension</flag> |
39 |
</use> |
40 |
</pkgmetadata> |
41 |
|
42 |
|
43 |
|
44 |
1.24 dev-games/openscenegraph/ChangeLog |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/ChangeLog?rev=1.24&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/ChangeLog?rev=1.24&content-type=text/plain |
48 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/ChangeLog?r1=1.23&r2=1.24 |
49 |
|
50 |
Index: ChangeLog |
51 |
=================================================================== |
52 |
RCS file: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/ChangeLog,v |
53 |
retrieving revision 1.23 |
54 |
retrieving revision 1.24 |
55 |
diff -u -r1.23 -r1.24 |
56 |
--- ChangeLog 25 Jun 2010 11:57:20 -0000 1.23 |
57 |
+++ ChangeLog 28 Jun 2010 19:57:46 -0000 1.24 |
58 |
@@ -1,6 +1,13 @@ |
59 |
# ChangeLog for dev-games/openscenegraph |
60 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
61 |
-# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/ChangeLog,v 1.23 2010/06/25 11:57:20 tupone Exp $ |
62 |
+# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/ChangeLog,v 1.24 2010/06/28 19:57:46 reavertm Exp $ |
63 |
+ |
64 |
+*openscenegraph-2.8.3 (25 Jun 2010) |
65 |
+ |
66 |
+ 25 Jun 2010; Maciej Mrozowski <reavertm@g.o> |
67 |
+ +openscenegraph-2.8.3.ebuild, +files/openscenegraph-2.8.3-cmake.patch, |
68 |
+ metadata.xml: |
69 |
+ Version bump 2.8.3, fixes bug 316919 and 263839, ebuild by me. |
70 |
|
71 |
25 Jun 2010; Tupone Alfredo <tupone@g.o> |
72 |
openscenegraph-2.8.2.ebuild: |
73 |
|
74 |
|
75 |
|
76 |
1.1 dev-games/openscenegraph/openscenegraph-2.8.3.ebuild |
77 |
|
78 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/openscenegraph-2.8.3.ebuild?rev=1.1&view=markup |
79 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-games/openscenegraph/openscenegraph-2.8.3.ebuild?rev=1.1&content-type=text/plain |
80 |
|
81 |
Index: openscenegraph-2.8.3.ebuild |
82 |
=================================================================== |
83 |
# Copyright 1999-2010 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
# $Header: /var/cvsroot/gentoo-x86/dev-games/openscenegraph/openscenegraph-2.8.3.ebuild,v 1.1 2010/06/28 19:57:46 reavertm Exp $ |
86 |
|
87 |
EAPI=2 |
88 |
|
89 |
inherit eutils versionator cmake-utils |
90 |
|
91 |
MY_PN="OpenSceneGraph" |
92 |
MY_P=${MY_PN}-${PV} |
93 |
|
94 |
DESCRIPTION="Open source high performance 3D graphics toolkit" |
95 |
HOMEPAGE="http://www.openscenegraph.org/projects/osg/" |
96 |
SRC_URI="http://www.openscenegraph.org/downloads/stable_releases/${MY_P}/source/${MY_P}.zip" |
97 |
|
98 |
LICENSE="wxWinLL-3 LGPL-2.1" |
99 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
100 |
SLOT="0" |
101 |
IUSE="curl debug doc examples ffmpeg fltk fox gdal gif glut gtk jpeg jpeg2k |
102 |
openexr openinventor osgapps pdf png qt4 sdl static-libs svg tiff truetype vnc |
103 |
wxwidgets xine xrandr zlib" |
104 |
|
105 |
# NOTE: OpenAL (support missing) |
106 |
# TODO: COLLADA, FBX, OpenVRML, Performer, ITK, DCMTK |
107 |
# xulrunner? ( only 1.8 supported for now, ignore it |
108 |
# net-libs/xulrunner:1.8 |
109 |
# x11-libs/gtk+:2 |
110 |
# ) |
111 |
RDEPEND=" |
112 |
x11-libs/libSM |
113 |
x11-libs/libXext |
114 |
virtual/glu |
115 |
virtual/opengl |
116 |
curl? ( net-misc/curl ) |
117 |
examples? ( |
118 |
fltk? ( x11-libs/fltk:1.1[opengl] ) |
119 |
fox? ( x11-libs/fox[opengl] ) |
120 |
glut? ( virtual/glut ) |
121 |
gtk? ( x11-libs/gtkglext ) |
122 |
qt4? ( |
123 |
x11-libs/qt-core:4 |
124 |
x11-libs/qt-gui:4 |
125 |
x11-libs/qt-opengl:4 |
126 |
) |
127 |
sdl? ( media-libs/libsdl ) |
128 |
wxwidgets? ( x11-libs/wxGTK[opengl,X] ) |
129 |
) |
130 |
ffmpeg? ( media-video/ffmpeg ) |
131 |
gdal? ( sci-libs/gdal ) |
132 |
gif? ( media-libs/giflib ) |
133 |
jpeg? ( media-libs/jpeg:0 ) |
134 |
jpeg2k? ( media-libs/jasper ) |
135 |
openexr? ( |
136 |
media-libs/ilmbase |
137 |
media-libs/openexr |
138 |
) |
139 |
openinventor? ( |
140 |
|| ( |
141 |
media-libs/coin |
142 |
media-libs/openinventor |
143 |
) |
144 |
) |
145 |
pdf? ( app-text/poppler[cairo] ) |
146 |
png? ( media-libs/libpng:0 ) |
147 |
svg? ( |
148 |
gnome-base/librsvg |
149 |
x11-libs/cairo |
150 |
) |
151 |
tiff? ( media-libs/tiff:0 ) |
152 |
truetype? ( media-libs/freetype:2 ) |
153 |
vnc? ( net-libs/libvncserver ) |
154 |
xine? ( media-libs/xine-lib ) |
155 |
xrandr? ( x11-libs/libXrandr ) |
156 |
zlib? ( sys-libs/zlib ) |
157 |
" |
158 |
DEPEND="${RDEPEND} |
159 |
app-arch/unzip |
160 |
dev-util/pkgconfig |
161 |
x11-proto/xextproto |
162 |
doc? ( app-doc/doxygen ) |
163 |
xrandr? ( x11-proto/randrproto ) |
164 |
" |
165 |
|
166 |
S=${WORKDIR}/${MY_P} |
167 |
|
168 |
DOCS=(AUTHORS.txt ChangeLog NEWS.txt) |
169 |
|
170 |
PATCHES=( |
171 |
"${FILESDIR}/${P}-cmake.patch" |
172 |
) |
173 |
|
174 |
src_configure() { |
175 |
# Needed by FFmpeg |
176 |
append-cppflags -D__STDC_CONSTANT_MACROS |
177 |
|
178 |
mycmakeargs=( |
179 |
-DWITH_OpenAL=OFF # Commented out in buildsystem |
180 |
-DWITH_XUL=OFF # Supports only xulrunner 1.8 |
181 |
-DGENTOO_DOCDIR="/usr/share/doc/${PF}" |
182 |
$(cmake-utils_use_with curl) |
183 |
$(cmake-utils_use_build doc DOCUMENTATION) |
184 |
$(cmake-utils_use_build examples OSG_APPLICATIONS) |
185 |
$(cmake-utils_use_build examples OSG_EXAMPLES) |
186 |
$(cmake-utils_use_with ffmpeg FFmpeg) |
187 |
$(cmake-utils_use_with fltk) |
188 |
$(cmake-utils_use_with fox) |
189 |
$(cmake-utils_use_with gdal) |
190 |
$(cmake-utils_use_with gif GIFLIB) |
191 |
$(cmake-utils_use_with glut) |
192 |
$(cmake-utils_use_with gtk) |
193 |
$(cmake-utils_use_with jpeg) |
194 |
$(cmake-utils_use_with jpeg2k Jasper) |
195 |
$(cmake-utils_use_with openexr OpenEXR) |
196 |
$(cmake-utils_use_with openinventor Inventor) |
197 |
$(cmake-utils_use_with pdf) |
198 |
$(cmake-utils_use_with png) |
199 |
$(cmake-utils_use_with qt4) |
200 |
$(cmake-utils_use !static-libs DYNAMIC_OPENSCENEGRAPH) |
201 |
$(cmake-utils_use_with sdl) |
202 |
$(cmake-utils_use_with svg) |
203 |
$(cmake-utils_use_with tiff) |
204 |
$(cmake-utils_use_with truetype FreeType) |
205 |
$(cmake-utils_use_with vnc LibVNCServer) |
206 |
$(cmake-utils_use_with wxwidgets wxWidgets) |
207 |
$(cmake-utils_use_with xine) |
208 |
$(cmake-utils_use xrandr OSGVIEWER_USE_XRANDR) |
209 |
$(cmake-utils_use_with zlib) |
210 |
) |
211 |
cmake-utils_src_configure |
212 |
} |
213 |
|
214 |
src_compile() { |
215 |
cmake-utils_src_compile |
216 |
use doc && cmake-utils_src_compile doc_openscenegraph doc_openthreads |
217 |
} |