/[gentoo-x86]/media-gfx/freewrl/freewrl-1.22.10-r1.ebuild
Gentoo

Diff of /media-gfx/freewrl/freewrl-1.22.10-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/Attic/freewrl-1.22.10-r1.ebuild,v 1.2 2011/04/03 19:39:54 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/Attic/freewrl-1.22.10-r1.ebuild,v 1.3 2011/05/21 05:38:28 ssuominen Exp $
4 4
5EAPI="2" 5EAPI="2"
6 6
7inherit nsplugins eutils flag-o-matic java-pkg-opt-2 7inherit nsplugins eutils flag-o-matic java-pkg-opt-2
8 8
27 virtual/jpeg 27 virtual/jpeg
28 media-libs/imlib2 28 media-libs/imlib2
29 >=media-libs/freetype-2 29 >=media-libs/freetype-2
30 media-libs/fontconfig 30 media-libs/fontconfig
31 curl? ( net-misc/curl ) 31 curl? ( net-misc/curl )
32 dev-lang/spidermonkey" 32 >=dev-lang/spidermonkey-1.9"
33DEPEND="${COMMONDEPEND} 33DEPEND="${COMMONDEPEND}
34 >=dev-util/pkgconfig-0.22 34 >=dev-util/pkgconfig-0.22
35 java? ( >=virtual/jdk-1.4 )" 35 java? ( >=virtual/jdk-1.4 )"
36RDEPEND="${COMMONDEPEND} 36RDEPEND="${COMMONDEPEND}
37 media-fonts/dejavu 37 media-fonts/dejavu
62 fi 62 fi
63 # disable the checks for other js libs, in case they are installed 63 # disable the checks for other js libs, in case they are installed
64 myconf="${myconf} --disable-mozilla-js --disable-xulrunner-js --disable-firefox-js --disable-seamonkey-js" 64 myconf="${myconf} --disable-mozilla-js --disable-xulrunner-js --disable-firefox-js --disable-seamonkey-js"
65 # spidermonkey has no pkg-config, so override ./configure 65 # spidermonkey has no pkg-config, so override ./configure
66 JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX" 66 JAVASCRIPT_ENGINE_CFLAGS="-I/usr/include/js -DXP_UNIX"
67 JAVASCRIPT_ENGINE_LIBS="-ljs" 67 JAVASCRIPT_ENGINE_LIBS="-lmozjs"
68 if has_version dev-lang/spidermonkey[threadsafe] ; then 68 if has_version dev-lang/spidermonkey[threadsafe] ; then
69 JAVASCRIPT_ENGINE_CFLAGS="${JAVASCRIPT_ENGINE_CFLAGS} -DJS_THREADSAFE $(pkg-config --cflags nspr)" 69 JAVASCRIPT_ENGINE_CFLAGS="${JAVASCRIPT_ENGINE_CFLAGS} -DJS_THREADSAFE $(pkg-config --cflags nspr)"
70 JAVASCRIPT_ENGINE_LIBS="$(pkg-config --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}" 70 JAVASCRIPT_ENGINE_LIBS="$(pkg-config --libs nspr) ${JAVASCRIPT_ENGINE_LIBS}"
71 fi 71 fi
72 export JAVASCRIPT_ENGINE_CFLAGS 72 export JAVASCRIPT_ENGINE_CFLAGS

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20