1 |
axs 12/06/06 19:33:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: freewrl-1.22.13.ebuild |
5 |
Removed: freewrl-1.22.12_pre2.ebuild |
6 |
Log: |
7 |
New release + remove old |
8 |
|
9 |
(Portage version: 2.1.10.49/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.42 media-gfx/freewrl/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/ChangeLog?rev=1.42&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/ChangeLog?rev=1.42&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/ChangeLog?r1=1.41&r2=1.42 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v |
21 |
retrieving revision 1.41 |
22 |
retrieving revision 1.42 |
23 |
diff -u -r1.41 -r1.42 |
24 |
--- ChangeLog 5 May 2012 07:00:20 -0000 1.41 |
25 |
+++ ChangeLog 6 Jun 2012 19:33:31 -0000 1.42 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for media-gfx/freewrl |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v 1.41 2012/05/05 07:00:20 jdhore Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/ChangeLog,v 1.42 2012/06/06 19:33:31 axs Exp $ |
31 |
+ |
32 |
+*freewrl-1.22.13 (06 Jun 2012) |
33 |
+ |
34 |
+ 06 Jun 2012; Ian Stakenvicius <axs@g.o> -freewrl-1.22.12_pre2.ebuild, |
35 |
+ +freewrl-1.22.13.ebuild: |
36 |
+ New release + remove old |
37 |
|
38 |
05 May 2012; Jeff Horelick <jdhore@g.o> freewrl-1.22.12_pre2.ebuild: |
39 |
dev-util/pkgconfig -> virtual/pkgconfig |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-gfx/freewrl/freewrl-1.22.13.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/freewrl-1.22.13.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/freewrl/freewrl-1.22.13.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: freewrl-1.22.13.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 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.13.ebuild,v 1.1 2012/06/06 19:33:31 axs Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
inherit nsplugins eutils flag-o-matic java-pkg-opt-2 |
57 |
|
58 |
DESCRIPTION="VRML97 and X3D compliant browser, library, and web-browser plugin" |
59 |
HOMEPAGE="http://freewrl.sourceforge.net/" |
60 |
SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-3" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="curl debug +glew java libeai motif +nsplugin osc +sox static-libs" |
66 |
|
67 |
COMMONDEPEND="x11-libs/libXau |
68 |
x11-libs/libXdmcp |
69 |
x11-libs/libXext |
70 |
x11-libs/libX11 |
71 |
motif? ( x11-libs/openmotif ) |
72 |
!motif? ( x11-libs/libXaw ) |
73 |
media-libs/mesa |
74 |
glew? ( media-libs/glew ) |
75 |
virtual/opengl |
76 |
media-libs/libpng |
77 |
virtual/jpeg |
78 |
media-libs/imlib2 |
79 |
>=media-libs/freetype-2 |
80 |
media-libs/fontconfig |
81 |
curl? ( net-misc/curl ) |
82 |
osc? ( media-libs/liblo ) |
83 |
dev-lang/spidermonkey" |
84 |
DEPEND="${COMMONDEPEND} |
85 |
virtual/pkgconfig |
86 |
java? ( >=virtual/jdk-1.4 ) |
87 |
nsplugin? ( net-misc/npapi-sdk )" |
88 |
RDEPEND="${COMMONDEPEND} |
89 |
media-fonts/dejavu |
90 |
|| ( media-gfx/imagemagick |
91 |
media-gfx/graphicsmagick[imagemagick] ) |
92 |
app-arch/unzip |
93 |
java? ( >=virtual/jre-1.4 ) |
94 |
sox? ( media-sound/sox )" |
95 |
|
96 |
src_configure() { |
97 |
local myconf="--enable-fontconfig |
98 |
--without-expat |
99 |
--with-x |
100 |
--with-imageconvert=/usr/bin/convert |
101 |
--with-unzip=/usr/bin/unzip" |
102 |
if use motif; then |
103 |
myconf+=" --with-target=motif --with-statusbar=standard" |
104 |
else |
105 |
myconf+=" --with-target=x11 --with-statusbar=hud" |
106 |
fi |
107 |
if use nsplugin; then |
108 |
myconf+=" --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}" |
109 |
myconf+=" --disable-mozilla-plugin --disable-xulrunner-plugin" |
110 |
fi |
111 |
if use sox; then |
112 |
myconf+=" --with-soundconv=/usr/bin/sox" |
113 |
fi |
114 |
# disable the checks for other js libs, in case they are installed |
115 |
if has_version ">=dev-lang/spidermonkey-1.8.5" ; then |
116 |
# spidermonkey-1.8.5 provides a .pc to pkg-config, it should be findable via mozjs185 |
117 |
for x in mozilla-js xulrunner-js firefox-js firefox2-js seamonkey-js; do |
118 |
myconf+=" --disable-${x}" |
119 |
done |
120 |
else |
121 |
for x in mozjs185 mozilla-js xulrunner-js firefox-js seamonkey-js; do |
122 |
myconf+=" --disable-${x}" |
123 |
done |
124 |
# spidermonkey pre-1.8.5 has no pkg-config, so override ./configure |
125 |
JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX" |
126 |
if has_version ">=dev-lang/spidermonkey-1.8" ; then |
127 |
# spidermonkey-1.8 changed the name of the lib |
128 |
JAVASCRIPT_ENGINE_LIBS="-lmozjs" |
129 |
else |
130 |
JAVASCRIPT_ENGINE_LIBS="-ljs" |
131 |
fi |
132 |
if has_version dev-lang/spidermonkey[threadsafe] ; then |
133 |
JAVASCRIPT_ENGINE_CFLAGS+=" -DJS_THREADSAFE $(pkg-config --cflags nspr)" |
134 |
JAVASCRIPT_ENGINE_LIBS="$(pkg-config --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}" |
135 |
fi |
136 |
export JAVASCRIPT_ENGINE_CFLAGS |
137 |
export JAVASCRIPT_ENGINE_LIBS |
138 |
fi |
139 |
econf ${myconf} \ |
140 |
$(use_enable curl libcurl) \ |
141 |
$(use_with glew) \ |
142 |
$(use_enable debug) $(use_enable debug thread_colorized) \ |
143 |
$(use_enable libeai) \ |
144 |
$(use_enable java) \ |
145 |
$(use_enable nsplugin plugin) \ |
146 |
$(use_enable osc) \ |
147 |
$(use_enable static-libs static) \ |
148 |
$(use_enable sox sound) |
149 |
} |
150 |
|
151 |
src_install() { |
152 |
emake DESTDIR="${D}" install |
153 |
|
154 |
if use java; then |
155 |
insinto /usr/share/${PN}/lib |
156 |
doins src/java/java.policy |
157 |
java-pkg_regjar src/java/vrml.jar |
158 |
# install vrml.jar as a JRE extension |
159 |
dodir /usr/java/packages/lib/ext |
160 |
dosym /usr/share/${PN}/lib/vrml.jar /usr/java/packages/lib/ext/vrml.jar |
161 |
elog "Because vrml.jar requires access to sockets, you will need to incorporate the" |
162 |
elog "contents of /usr/share/${PN}/lib/java.policy into your system or user's default" |
163 |
elog "java policy:" |
164 |
elog " cat /usr/share/${PN}/lib/java.policy >>~/.java.policy" |
165 |
fi |
166 |
|
167 |
# remove unneeded .la files (as per Flameeyes' rant) |
168 |
cd "${D}" |
169 |
rm "usr/$(get_libdir)"/*.la "usr/$(get_libdir)/${PLUGINS_DIR}"/*.la |
170 |
} |
171 |
|
172 |
pkg_postinst() { |
173 |
elog "By default, FreeWRL expects to find the 'firefox' binary in your include" |
174 |
elog "path. If you do not have firefox installed or you wish to use a different" |
175 |
elog "web browser to open links that are within VRML / X3D files, please be sure to" |
176 |
elog "specify the command via your BROWSER environment variable." |
177 |
} |