1 |
patrick 09/10/05 15:42:06 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: freewrl-1.22.5.ebuild |
5 |
Log: |
6 |
Bump to 1.22.5, fixes #192840. Thanks to Ian Stakenvicius for the updated ebuild |
7 |
(Portage version: 2.2_rc43/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 media-gfx/freewrl/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/freewrl/metadata.xml?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/freewrl/metadata.xml?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/freewrl/metadata.xml?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/freewrl/metadata.xml,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- metadata.xml 27 Jun 2004 15:54:57 -0000 1.1 |
23 |
+++ metadata.xml 5 Oct 2009 15:42:05 -0000 1.2 |
24 |
@@ -3,4 +3,9 @@ |
25 |
<pkgmetadata> |
26 |
<herd>no-herd</herd> |
27 |
<maintainer><email>hanno@g.o</email></maintainer> |
28 |
+<use> |
29 |
+ <flag name='libeai'>Build EAI C library</flag> |
30 |
+ <flag name='spidermonkey'>Use spidermonkey instead of Firefox</flag> |
31 |
+</use> |
32 |
+ |
33 |
</pkgmetadata> |
34 |
|
35 |
|
36 |
|
37 |
1.18 media-gfx/freewrl/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/freewrl/ChangeLog?rev=1.18&view=markup |
40 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/freewrl/ChangeLog?rev=1.18&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/freewrl/ChangeLog?r1=1.17&r2=1.18 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v |
46 |
retrieving revision 1.17 |
47 |
retrieving revision 1.18 |
48 |
diff -u -r1.17 -r1.18 |
49 |
--- ChangeLog 22 Jul 2007 10:02:16 -0000 1.17 |
50 |
+++ ChangeLog 5 Oct 2009 15:42:05 -0000 1.18 |
51 |
@@ -1,6 +1,13 @@ |
52 |
# ChangeLog for media-gfx/freewrl |
53 |
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v 1.17 2007/07/22 10:02:16 dberkholz Exp $ |
55 |
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
56 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v 1.18 2009/10/05 15:42:05 patrick Exp $ |
57 |
+ |
58 |
+*freewrl-1.22.5 (05 Oct 2009) |
59 |
+ |
60 |
+ 05 Oct 2009; Patrick Lauer <patrick@g.o> +freewrl-1.22.5.ebuild, |
61 |
+ metadata.xml: |
62 |
+ Bump to 1.22.5, fixes #192840. Thanks to Ian Stakenvicius for the updated |
63 |
+ ebuild |
64 |
|
65 |
22 Jul 2007; Donnie Berkholz <dberkholz@g.o>; |
66 |
freewrl-1.16.1.ebuild, freewrl-1.18.10.ebuild, freewrl-1.18.14.ebuild, |
67 |
|
68 |
|
69 |
|
70 |
1.1 media-gfx/freewrl/freewrl-1.22.5.ebuild |
71 |
|
72 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/freewrl/freewrl-1.22.5.ebuild?rev=1.1&view=markup |
73 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/freewrl/freewrl-1.22.5.ebuild?rev=1.1&content-type=text/plain |
74 |
|
75 |
Index: freewrl-1.22.5.ebuild |
76 |
=================================================================== |
77 |
# Copyright 1999-2009 Gentoo Foundation |
78 |
# Distributed under the terms of the GNU General Public License v2 |
79 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/freewrl-1.22.5.ebuild,v 1.1 2009/10/05 15:42:05 patrick Exp $ |
80 |
|
81 |
EAPI="2" |
82 |
|
83 |
inherit nsplugins eutils flag-o-matic |
84 |
|
85 |
DESCRIPTION="VRML2 and X3D compliant browser" |
86 |
SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2" |
87 |
HOMEPAGE="http://freewrl.sourceforge.net/" |
88 |
|
89 |
LICENSE="GPL-3" |
90 |
SLOT="0" |
91 |
KEYWORDS="~amd64 ~x86" |
92 |
IUSE="curl debug libeai +motif nsplugin +sox spidermonkey static +xulrunner" |
93 |
|
94 |
COMMONDEPEND="x11-libs/libXau |
95 |
x11-libs/libXdmcp |
96 |
x11-libs/libXext |
97 |
x11-libs/libX11 |
98 |
motif? ( x11-libs/openmotif ) |
99 |
media-libs/mesa |
100 |
media-libs/glew |
101 |
virtual/opengl |
102 |
media-libs/libpng |
103 |
media-libs/jpeg |
104 |
media-libs/imlib2 |
105 |
>=media-libs/freetype-2 |
106 |
curl? ( net-misc/curl ) |
107 |
xulrunner? ( net-libs/xulrunner ) |
108 |
!xulrunner? ( |
109 |
spidermonkey? ( dev-lang/spidermonkey ) |
110 |
!spidermonkey? ( || ( |
111 |
=www-client/mozilla-firefox-3*[-xulrunner] |
112 |
=www-client/mozilla-firefox-2* |
113 |
) ) |
114 |
) |
115 |
nsplugin? ( || ( xulrunner? ( net-libs/xulrunner ) |
116 |
>=www-client/mozilla-firefox-2.0 ) )" |
117 |
DEPEND="${COMMONDEPEND} |
118 |
>=dev-util/pkgconfig-0.22" |
119 |
RDEPEND="${COMMONDEPEND} |
120 |
media-fonts/ttf-bitstream-vera |
121 |
media-gfx/imagemagick |
122 |
app-arch/unzip |
123 |
sox? ( media-sound/sox )" |
124 |
|
125 |
pkg_setup() { |
126 |
if use xulrunner && use spidermonkey; then |
127 |
eerror "Please choose only one of xulrunner or spidermonkey." |
128 |
die "Cannot USE both spidermonkey and xulrunner" |
129 |
fi |
130 |
} |
131 |
|
132 |
src_configure() { |
133 |
local myconf="--with-fontsdir=/usr/share/fonts/ttf-bitstream-vera |
134 |
--with-imageconvert=/usr/bin/convert |
135 |
--with-unzip=/usr/bin/unzip" |
136 |
if use motif; then |
137 |
myconf="${myconf} --with-x --with-target=motif" |
138 |
else |
139 |
myconf="${myconf} --with-x --with-target=x11" |
140 |
fi |
141 |
if use nsplugin; then |
142 |
myconf="${myconf} --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}" |
143 |
fi |
144 |
if use sox; then |
145 |
myconf="${myconf} --with-soundconv=/usr/bin/sox" |
146 |
fi |
147 |
if use xulrunner; then |
148 |
if has_version net-libs/xulrunner:1.9 ; then |
149 |
# fix missing library path to xulrunner-1.9 libraries |
150 |
append-ldflags "-R/usr/$(get_libdir)/xulrunner-1.9/lib" |
151 |
fi |
152 |
elif use spidermonkey; then |
153 |
# disable the checks for other js libs, in case they are installed |
154 |
myconf="${myconf} --disable-mozilla-js --disable-xulrunner-js --disable-firefox-js --disable-seamonkey-js" |
155 |
# spidermonkey has no pkg-config, so override ./configure |
156 |
JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX" |
157 |
JAVASCRIPT_ENGINE_LIBS="-ljs" |
158 |
if has_version dev-lang/spidermonkey[threadsafe] ; then |
159 |
JAVASCRIPT_ENGINE_CFLAGS="${JAVASCRIPT_ENGINE_CFLAGS} -DJS_THREADSAFE $(pkg-config --cflags nspr)" |
160 |
JAVASCRIPT_ENGINE_LIBS="$(pkg-config --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}" |
161 |
fi |
162 |
export JAVASCRIPT_ENGINE_CFLAGS |
163 |
export JAVASCRIPT_ENGINE_LIBS |
164 |
else |
165 |
# disable checks for xulrunner libs, in case they are installed |
166 |
myconf="${myconf} --disable-mozilla-js --disable-xulrunner-js" |
167 |
# not using xulrunner, so ./configure grabs js directly from firefox/mozilla/thunderbird/wherever |
168 |
if has_version =www-client/mozilla-firefox-3* ; then |
169 |
# override ./configure for firefox-3 as pkg-config doesn't detect the right settings |
170 |
export MOZILLA_PLUGIN_CFLAGS="-I/usr/include/mozilla-firefox/stable $(pkg-config --cflags nspr)" |
171 |
export MOZILLA_PLUGIN_LIBS=" " |
172 |
export JAVASCRIPT_ENGINE_CFLAGS="-DXP_UNIX -DJS_THREADSAFE -DMOZILLA_JS_UNSTABLE_INCLUDES ${MOZILLA_PLUGIN_CFLAGS}" |
173 |
export JAVASCRIPT_ENGINE_LIBS="$(pkg-config --libs nspr) -L/usr/$(get_libdir)/mozilla-firefox -lmozjs" |
174 |
append-ldflags "-R/usr/$(get_libdir)/mozilla-firefox" |
175 |
fi |
176 |
fi |
177 |
econf ${myconf} \ |
178 |
$(use_enable curl libcurl) \ |
179 |
$(use_enable debug) \ |
180 |
$(use_enable libeai) \ |
181 |
$(use_enable nsplugin plugin) \ |
182 |
$(use_enable static) \ |
183 |
$(use_enable sox sound) |
184 |
} |
185 |
|
186 |
src_install() { |
187 |
emake DESTDIR="${D}" install || die "emake install failed" |
188 |
|
189 |
# remove unneeded .la files (as per Flameeyes' rant) |
190 |
cd "${D}" |
191 |
rm "usr/$(get_libdir)"/*.la "usr/$(get_libdir)/${PLUGINS_DIR}"/*.la |
192 |
} |