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

Diff of /media-gfx/freewrl/freewrl-9999.ebuild

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

Revision 1.5 Revision 1.6
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2014 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/freewrl-9999.ebuild,v 1.5 2014/03/14 13:45:19 axs Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/freewrl-9999.ebuild,v 1.6 2014/04/22 19:22:43 axs Exp $
4 4
5EAPI=5 5EAPI=5
6 6
7inherit autotools nsplugins eutils flag-o-matic java-pkg-opt-2 multilib 7inherit autotools nsplugins eutils flag-o-matic java-pkg-opt-2 multilib
8 8
11 EGIT_REPO_URI="git://git.code.sf.net/p/freewrl/git" 11 EGIT_REPO_URI="git://git.code.sf.net/p/freewrl/git"
12 S="${WORKDIR}/${P}/freex3d" 12 S="${WORKDIR}/${P}/freex3d"
13 SRC_URI= 13 SRC_URI=
14 KEYWORDS= 14 KEYWORDS=
15else 15else
16 SRC_URI="mirror://sourceforge/freewrl/${P}.1.tar.bz2" 16 SRC_URI="mirror://sourceforge/freewrl/${P}.tar.bz2"
17 KEYWORDS="~amd64 ~x86" 17 KEYWORDS="~amd64 ~x86"
18fi 18fi
19 19
20DESCRIPTION="VRML97 and X3D compliant browser, library, and web-browser plugin" 20DESCRIPTION="VRML97 and X3D compliant browser, library, and web-browser plugin"
21HOMEPAGE="http://freewrl.sourceforge.net/" 21HOMEPAGE="http://freewrl.sourceforge.net/"
22LICENSE="GPL-3" 22LICENSE="GPL-3"
23SLOT="0" 23SLOT="0"
24IUSE="curl debug +glew java libeai motif +nsplugin osc +sox static-libs" 24IUSE="curl debug java libeai motif +nsplugin opencl osc +sox static-libs"
25 25
26COMMONDEPEND="x11-libs/libXau 26COMMONDEPEND="x11-libs/libXau
27 x11-libs/libXdmcp 27 x11-libs/libXdmcp
28 x11-libs/libXext 28 x11-libs/libXext
29 x11-libs/libX11 29 x11-libs/libX11
30 motif? ( x11-libs/motif ) 30 motif? ( x11-libs/motif )
31 !motif? ( x11-libs/libXaw ) 31 !motif? ( x11-libs/libXaw )
32 media-libs/mesa 32 media-libs/mesa
33 glew? ( media-libs/glew )
34 virtual/opengl 33 virtual/opengl
35 media-libs/libpng 34 media-libs/libpng
36 virtual/jpeg 35 virtual/jpeg
37 media-libs/imlib2 36 media-libs/imlib2
38 >=media-libs/freetype-2 37 >=media-libs/freetype-2
39 media-libs/fontconfig 38 media-libs/fontconfig
40 curl? ( net-misc/curl ) 39 curl? ( net-misc/curl )
41 osc? ( media-libs/liblo ) 40 osc? ( media-libs/liblo )
41 opencl? ( virtual/opencl )
42 dev-lang/spidermonkey:0=" 42 dev-lang/spidermonkey:0="
43DEPEND="${COMMONDEPEND} 43DEPEND="${COMMONDEPEND}
44 virtual/pkgconfig 44 virtual/pkgconfig
45 java? ( >=virtual/jdk-1.4 ) 45 java? ( >=virtual/jdk-1.4 )
46 nsplugin? ( net-misc/npapi-sdk )" 46 nsplugin? ( net-misc/npapi-sdk )"
67 # list of .pc supported spidermonkeys, to disable ./configure auto-checking 67 # list of .pc supported spidermonkeys, to disable ./configure auto-checking
68 local spidermonkeys_pc=( mozjs187 mozjs185 ) 68 local spidermonkeys_pc=( mozjs187 mozjs185 )
69 69
70 local myconf="--enable-fontconfig 70 local myconf="--enable-fontconfig
71 --without-expat 71 --without-expat
72 --without-glu
73 --with-x 72 --with-x
74 --with-imageconvert=/usr/bin/convert 73 --with-imageconvert=/usr/bin/convert
75 --with-unzip=/usr/bin/unzip 74 --with-unzip=/usr/bin/unzip
76 --disable-mozjs-17.0 75 --disable-mozjs-17.0
77 ${spidermonkeys[@]/#/ --disable-}" 76 ${spidermonkeys[@]/#/ --disable-}"
97 myconf+=" --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}" 96 myconf+=" --with-plugindir=/usr/$(get_libdir)/${PLUGINS_DIR}"
98 myconf+=" --disable-mozilla-plugin --disable-xulrunner-plugin" 97 myconf+=" --disable-mozilla-plugin --disable-xulrunner-plugin"
99 fi 98 fi
100 econf ${myconf} \ 99 econf ${myconf} \
101 $(use_enable curl libcurl) \ 100 $(use_enable curl libcurl) \
102 $(use_with glew) \ 101 $(use_with opencl OpenCL) \
103 $(use_enable debug) $(use_enable debug thread_colorized) \ 102 $(use_enable debug) $(use_enable debug thread_colorized) \
104 $(use_enable libeai) \ 103 $(use_enable libeai) \
105 $(use_enable java) \ 104 $(use_enable java) \
106 $(use_enable nsplugin plugin) \ 105 $(use_enable nsplugin plugin) \
107 $(use_enable osc) \ 106 $(use_enable osc) \

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20