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

(-)a/www-client/chromium/chromium-21.0.1180.57-r1.ebuild (-5 / +15 lines)
Lines 19-25 SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}. Link Here
19
LICENSE="BSD"
19
LICENSE="BSD"
20
SLOT="0"
20
SLOT="0"
21
KEYWORDS="amd64 ~x86"
21
KEYWORDS="amd64 ~x86"
22
IUSE="bindist cups gnome gnome-keyring kerberos pulseaudio selinux"
22
IUSE="bindist cups gnome gnome-keyring kerberos pulseaudio selinux nacl"
23
23
24
RDEPEND="app-arch/bzip2
24
RDEPEND="app-arch/bzip2
25
	cups? (
25
	cups? (
Lines 53-59 RDEPEND="app-arch/bzip2 Link Here
53
	kerberos? ( virtual/krb5 )
53
	kerberos? ( virtual/krb5 )
54
	selinux? ( sys-libs/libselinux )"
54
	selinux? ( sys-libs/libselinux )"
55
DEPEND="${RDEPEND}
55
DEPEND="${RDEPEND}
56
	>=dev-lang/nacl-toolchain-newlib-0_p7311
56
	nacl? ( >=dev-lang/nacl-toolchain-newlib-0_p7311 )
57
	dev-lang/perl
57
	dev-lang/perl
58
	dev-lang/yasm
58
	dev-lang/yasm
59
	dev-python/ply
59
	dev-python/ply
Lines 243-248 src_configure() { Link Here
243
			-Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
243
			-Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
244
	fi
244
	fi
245
245
246
	if ! use nacl; then
247
		# disable native client library
248
		myconf+=" -Ddisable_nacl=1"
249
	fi
250
246
	# Never use bundled gold binary. Disable gold linker flags for now.
251
	# Never use bundled gold binary. Disable gold linker flags for now.
247
	myconf+="
252
	myconf+="
248
		-Dlinux_use_gold_binary=0
253
		-Dlinux_use_gold_binary=0
Lines 354-363 src_install() { Link Here
354
359
355
	doexe out/Release/chromedriver || die
360
	doexe out/Release/chromedriver || die
356
361
357
	doexe out/Release/nacl_helper{,_bootstrap} || die
362
	if use nacl; then
363
		doexe out/Release/nacl_helper{,_bootstrap} || die
364
	fi
358
	insinto "${CHROMIUM_HOME}"
365
	insinto "${CHROMIUM_HOME}"
359
	doins out/Release/nacl_irt_*.nexe || die
366
360
	doins out/Release/libppGoogleNaClPluginChrome.so || die
367
	if use nacl; then
368
		doins out/Release/nacl_irt_*.nexe || die
369
		doins out/Release/libppGoogleNaClPluginChrome.so || die
370
	fi
361
371
362
	newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die
372
	newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die
363
	if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
373
	if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then

Return to bug 429474