/[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.2 Revision 1.3
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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.2 2013/08/09 13:42:13 axs Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-gfx/freewrl/freewrl-9999.ebuild,v 1.3 2013/12/23 16:20:49 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
68 68
69src_configure() { 69src_configure() {
70 # list of js libs without .pc support, to disable ./configure auto-checking 70 # list of js libs without .pc support, to disable ./configure auto-checking
71 local spidermonkeys=( mozilla-js xulrunner-js firefox-js firefox2-js seamonkey-js ) 71 local spidermonkeys=( mozilla-js xulrunner-js firefox-js firefox2-js seamonkey-js )
72 # list of .pc supported spidermonkeys, to disable ./configure auto-checking 72 # list of .pc supported spidermonkeys, to disable ./configure auto-checking
73 local spidermonkeys_pc=( mozjs17 mozjs187 mozjs185 ) 73 local spidermonkeys_pc=( mozjs187 mozjs185 )
74 74
75 local myconf="--enable-fontconfig 75 local myconf="--enable-fontconfig
76 --without-expat 76 --without-expat
77 --without-glu
77 --with-x 78 --with-x
78 --with-imageconvert=/usr/bin/convert 79 --with-imageconvert=/usr/bin/convert
79 --with-unzip=/usr/bin/unzip 80 --with-unzip=/usr/bin/unzip
81 --disable-mozjs-17.0
80 ${spidermonkeys[@]/#/ --disable-}" 82 ${spidermonkeys[@]/#/ --disable-}"
81 83
82 if has_version "<dev-lang/spidermonkey-1.8.5" ; then 84 if has_version "<dev-lang/spidermonkey-1.8.5" ; then
83 # spidermonkey pre-1.8.5 has no pkg-config, so override ./configure 85 # spidermonkey pre-1.8.5 has no pkg-config, so override ./configure
84 myconf+="${spidermonkeys_pc[@]/#/ --disable-}" 86 myconf+="${spidermonkeys_pc[@]/#/ --disable-}"
109 $(use_enable nsplugin plugin) \ 111 $(use_enable nsplugin plugin) \
110 $(use_enable osc) \ 112 $(use_enable osc) \
111 $(use_enable static-libs static) \ 113 $(use_enable static-libs static) \
112 $(use_enable sox sound) \ 114 $(use_enable sox sound) \
113 $(usex sox "--with-soundconv=/usr/bin/sox") \ 115 $(usex sox "--with-soundconv=/usr/bin/sox") \
114 $(usex motif "--with-target=motif" "--with-target=X11") \ 116 $(usex motif "--with-target=motif" "--with-target=x11") \
115 $(usex motif "--with-statusbar=standard" "--with-statusbar=hud") 117 $(usex motif "--with-statusbar=standard" "--with-statusbar=hud")
116} 118}
117 119
118src_install() { 120src_install() {
119 emake DESTDIR="${D}" install 121 emake DESTDIR="${D}" install

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

  ViewVC Help
Powered by ViewVC 1.1.20