1 |
patrick 10/08/26 20:37:22 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freewrl-1.22.9.ebuild |
5 |
Removed: freewrl-1.22.8.ebuild freewrl-1.22.6-r1.ebuild |
6 |
Log: |
7 |
Bump |
8 |
|
9 |
(Portage version: 2.2_rc69/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.27 media-gfx/freewrl/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/ChangeLog?rev=1.27&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/ChangeLog?rev=1.27&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/ChangeLog?r1=1.26&r2=1.27 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v |
21 |
retrieving revision 1.26 |
22 |
retrieving revision 1.27 |
23 |
diff -u -r1.26 -r1.27 |
24 |
--- ChangeLog 25 Jul 2010 19:17:49 -0000 1.26 |
25 |
+++ ChangeLog 26 Aug 2010 20:37:22 -0000 1.27 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for media-gfx/freewrl |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v 1.26 2010/07/25 19:17:49 nirbheek Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v 1.27 2010/08/26 20:37:22 patrick Exp $ |
31 |
+ |
32 |
+*freewrl-1.22.9 (26 Aug 2010) |
33 |
+ |
34 |
+ 26 Aug 2010; Patrick Lauer <patrick@g.o> -freewrl-1.22.6-r1.ebuild, |
35 |
+ -freewrl-1.22.8.ebuild, +freewrl-1.22.9.ebuild: |
36 |
+ Bump |
37 |
|
38 |
25 Jul 2010; Nirbheek Chauhan <nirbheek@g.o> |
39 |
freewrl-1.22.6-r1.ebuild, freewrl-1.22.8.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-gfx/freewrl/freewrl-1.22.9.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/freewrl-1.22.9.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/freewrl-1.22.9.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: freewrl-1.22.9.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/freewrl-1.22.9.ebuild,v 1.1 2010/08/26 20:37:22 patrick Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit nsplugins eutils flag-o-matic |
57 |
|
58 |
DESCRIPTION="VRML2 and X3D compliant browser" |
59 |
SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2" |
60 |
HOMEPAGE="http://freewrl.sourceforge.net/" |
61 |
|
62 |
LICENSE="GPL-3" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="curl debug libeai +glew +motif nsplugin +sox spidermonkey static" |
66 |
|
67 |
COMMONDEPEND="x11-libs/libXau |
68 |
x11-libs/libXdmcp |
69 |
x11-libs/libXext |
70 |
x11-libs/libX11 |
71 |
motif? ( x11-libs/openmotif ) |
72 |
media-libs/mesa |
73 |
glew? ( media-libs/glew ) |
74 |
virtual/opengl |
75 |
media-libs/libpng |
76 |
media-libs/jpeg |
77 |
media-libs/imlib2 |
78 |
>=media-libs/freetype-2 |
79 |
curl? ( net-misc/curl ) |
80 |
!spidermonkey? ( net-libs/xulrunner ) |
81 |
spidermonkey? ( dev-lang/spidermonkey ) |
82 |
nsplugin? ( || ( |
83 |
net-libs/xulrunner |
84 |
www-client/firefox |
85 |
) )" |
86 |
DEPEND="${COMMONDEPEND} |
87 |
>=dev-util/pkgconfig-0.22" |
88 |
RDEPEND="${COMMONDEPEND} |
89 |
media-fonts/ttf-bitstream-vera |
90 |
media-gfx/imagemagick |
91 |
app-arch/unzip |
92 |
sox? ( media-sound/sox )" |
93 |
|
94 |
src_prepare() { |
95 |
# A hack to get around expat being grabbed from xulrunner |
96 |
mkdir "${S}/src/lib/include"; |
97 |
cp /usr/include/expat.h "${S}/src/lib/include/"; |
98 |
cp /usr/include/expat_external.h "${S}/src/lib/include/"; |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
local myconf="--with-fontsdir=/usr/share/fonts/ttf-bitstream-vera |
103 |
--with-imageconvert=/usr/bin/convert |
104 |
--with-unzip=/usr/bin/unzip" |
105 |
if use motif; then |
106 |
myconf="${myconf} --with-x --with-target=motif" |
107 |
else |
108 |
myconf="${myconf} --with-x --with-target=x11" |
109 |
fi |
110 |
if use nsplugin; then |
111 |
myconf="${myconf} --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}" |
112 |
fi |
113 |
if use sox; then |
114 |
myconf="${myconf} --with-soundconv=/usr/bin/sox" |
115 |
fi |
116 |
if use spidermonkey; then |
117 |
# disable the checks for other js libs, in case they are installed |
118 |
myconf="${myconf} --disable-mozilla-js --disable-xulrunner-js --disable-firefox-js --disable-seamonkey-js" |
119 |
# spidermonkey has no pkg-config, so override ./configure |
120 |
JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX" |
121 |
JAVASCRIPT_ENGINE_LIBS="-ljs" |
122 |
if has_version dev-lang/spidermonkey[threadsafe] ; then |
123 |
JAVASCRIPT_ENGINE_CFLAGS="${JAVASCRIPT_ENGINE_CFLAGS} -DJS_THREADSAFE $(pkg-config --cflags nspr)" |
124 |
JAVASCRIPT_ENGINE_LIBS="$(pkg-config --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}" |
125 |
fi |
126 |
export JAVASCRIPT_ENGINE_CFLAGS |
127 |
export JAVASCRIPT_ENGINE_LIBS |
128 |
else |
129 |
# more hack to get around expat being grabbed from xulrunner |
130 |
myconf="${myconf} --with-expat=${S}/src/lib" |
131 |
fi |
132 |
econf ${myconf} \ |
133 |
$(use_enable curl libcurl) \ |
134 |
$(use_with glew) \ |
135 |
$(use_enable debug) $(use_enable debug thread_colorized) \ |
136 |
$(use_enable libeai) \ |
137 |
$(use_enable nsplugin plugin) \ |
138 |
$(use_enable static) \ |
139 |
$(use_enable sox sound) |
140 |
} |
141 |
|
142 |
src_install() { |
143 |
emake DESTDIR="${D}" install || die "emake install failed" |
144 |
|
145 |
# remove unneeded .la files (as per Flameeyes' rant) |
146 |
cd "${D}" |
147 |
rm "usr/$(get_libdir)"/*.la "usr/$(get_libdir)/${PLUGINS_DIR}"/*.la |
148 |
} |