Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 193840
Collapse All | Expand All

(-)freewrl-1.22.0_rc1.ebuild (-4 / +10 lines)
Lines 4-10 Link Here
4
4
5
inherit nsplugins eutils autotools toolchain-funcs
5
inherit nsplugins eutils autotools toolchain-funcs
6
6
7
IUSE="motif nsplugin static"
7
IUSE="motif nsplugin static spidermonkey"
8
8
9
DESCRIPTION="VRML2 and X3D compliant browser"
9
DESCRIPTION="VRML2 and X3D compliant browser"
10
SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2"
10
SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2"
Lines 22-28 Link Here
22
	media-libs/jpeg
22
	media-libs/jpeg
23
	>=media-libs/freetype-2
23
	>=media-libs/freetype-2
24
	media-fonts/ttf-bitstream-vera
24
	media-fonts/ttf-bitstream-vera
25
	|| ( net-libs/xulrunner =www-client/mozilla-firefox-2.0* )
25
	spidermonkey? ( =dev-lang/spidermonkey-1.7* )
26
	!spidermonkey? ( || ( net-libs/xulrunner =www-client/mozilla-firefox-2.0* ) )
26
	media-gfx/imagemagick
27
	media-gfx/imagemagick
27
	net-misc/wget
28
	net-misc/wget
28
	motif? ( x11-libs/openmotif )
29
	motif? ( x11-libs/openmotif )
Lines 32-44 Link Here
32
src_unpack() {
33
src_unpack() {
33
	unpack ${A}
34
	unpack ${A}
34
	cd ${S}
35
	cd ${S}
35
#	epatch "${FILESDIR}/${P}-spidermonkey.patch"
36
	if use spidermonkey; then
36
#	eautoreconf
37
		epatch "${FILESDIR}/${P}-spidermonkey.patch"
38
		eautoreconf
39
	fi
37
}
40
}
38
41
39
src_compile() {
42
src_compile() {
40
	myconf="$(use_enable nsplugin plugin) $(use_enable static) --with-x"
43
	myconf="$(use_enable nsplugin plugin) $(use_enable static) --with-x"
41
	myconf="${myconf} --with-fontsdir=/usr/share/fonts/ttf-bitstream-vera"
44
	myconf="${myconf} --with-fontsdir=/usr/share/fonts/ttf-bitstream-vera"
45
	if use spidermonkey; then
46
		myconf="${myconf} --disable-mozilla-js --disable-firefox-js --disable-xulrunner-js"
47
	fi
42
	if use motif; then
48
	if use motif; then
43
		myconf="${myconf} --with-target=motif"
49
		myconf="${myconf} --with-target=motif"
44
	else
50
	else

Return to bug 193840