Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 541610 | Differences between
and this patch

Collapse All | Expand All

(-)a/chromium-53.0.2785.143.ebuild (-12 / +195 lines)
Lines 13-25 inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib multipro Link Here
13
13
14
DESCRIPTION="Open-source version of Google Chrome web browser"
14
DESCRIPTION="Open-source version of Google Chrome web browser"
15
HOMEPAGE="http://chromium.org/"
15
HOMEPAGE="http://chromium.org/"
16
SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz"
16
SRC_URI="
17
https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
18
nacl? (
19
	https://storage.googleapis.com/nativeclient-archive2/builds/11953a35fcd4f999b097a343bc49d89f94af21a8/linux_x86/nacl_x86_newlib.json -> nacl_x86_newlib_11953a35fcd4f999b097a343bc49d89f94af21a8.json
20
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib.json -> pnacl_newlib_2eeb54c6995817a39e5c5cc0b40e26518396335f.json
21
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/shared/pnacl_translator.json -> pnacl_translator_2eeb54c6995817a39e5c5cc0b40e26518396335f.json
22
23
	https://storage.googleapis.com/nativeclient-archive2/builds/11953a35fcd4f999b097a343bc49d89f94af21a8/linux_x86/nacl_x86_newlib/core_sdk.tgz.json -> core_sdk_11953a35fcd4f999b097a343bc49d89f94af21a8.tgz.json
24
	https://storage.googleapis.com/nativeclient-archive2/toolchain/11953a35fcd4f999b097a343bc49d89f94af21a8/core_sdk_linux_x86.tgz -> core_sdk_11953a35fcd4f999b097a343bc49d89f94af21a8.tgz
25
26
	https://storage.googleapis.com/nativeclient-archive2/builds/11953a35fcd4f999b097a343bc49d89f94af21a8/linux_x86/nacl_x86_newlib/gdb_i686_linux.tgz.json -> gdb_i686_linux_a9a003c04d06a2ee9f3fbb6223ee31510543bb72.tgz.json
27
	https://storage.googleapis.com/nativeclient-once/object/gdb_i686_linux_a9a003c04d06a2ee9f3fbb6223ee31510543bb72.tgz
28
29
	https://storage.googleapis.com/nativeclient-archive2/builds/11953a35fcd4f999b097a343bc49d89f94af21a8/linux_x86/nacl_x86_newlib/naclsdk.tgz.json -> naclsdk_11953a35fcd4f999b097a343bc49d89f94af21a8.tgz.json
30
	https://storage.googleapis.com/nativeclient-archive2/toolchain/11953a35fcd4f999b097a343bc49d89f94af21a8/naclsdk_linux_x86.tgz -> naclsdk_11953a35fcd4f999b097a343bc49d89f94af21a8.tgz
31
32
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/shared/pnacl_translator/sandboxed_translators.tgz.json -> sandboxed_translators_327a0565c0f57d35ec9c61a6aca5204f51c74b51.tgz.json
33
	https://storage.googleapis.com/nativeclient-once/object/sandboxed_translators_327a0565c0f57d35ec9c61a6aca5204f51c74b51.tgz
34
35
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/binutils_x86_64_linux.tgz.json -> binutils_x86_64_linux_3190740bb8e6daee6c29dfbc6ab43f0cc8ddd9eb.tgz.json
36
	https://storage.googleapis.com/nativeclient-once/object/binutils_x86_64_linux_3190740bb8e6daee6c29dfbc6ab43f0cc8ddd9eb.tgz
37
38
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/binutils_x86_x86_64_linux.tgz.json -> binutils_x86_x86_64_linux_30c4db0a7bc45e907cd34b4975ecfd45503bc60c.tgz.json
39
	https://storage.googleapis.com/nativeclient-once/object/binutils_x86_x86_64_linux_30c4db0a7bc45e907cd34b4975ecfd45503bc60c.tgz
40
41
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/compiler_rt_bc_i686_bc.tgz.json -> compiler_rt_bc_i686_bc_71090b27cd8b1715e837612db7bb6ae9884eb9b2.tgz.json
42
	https://storage.googleapis.com/nativeclient-once/object/compiler_rt_bc_i686_bc_71090b27cd8b1715e837612db7bb6ae9884eb9b2.tgz
43
44
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/compiler_rt_bc_le32.tgz.json -> compiler_rt_bc_le32_8ffbdf3186f342d7bfbac5d6d213d30d906ce0c8.tgz.json
45
	https://storage.googleapis.com/nativeclient-once/object/compiler_rt_bc_le32_8ffbdf3186f342d7bfbac5d6d213d30d906ce0c8.tgz
46
47
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/compiler_rt_bc_x86_64_bc.tgz.json -> compiler_rt_bc_x86_64_bc_835c0d337b0862daabf5f1c90c90acb70250d078.tgz.json
48
	https://storage.googleapis.com/nativeclient-once/object/compiler_rt_bc_x86_64_bc_835c0d337b0862daabf5f1c90c90acb70250d078.tgz
49
50
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/core_sdk_libs_i686.tgz.json -> core_sdk_libs_i686_41b8768c99edfa543232f56e455e1d4c81b355b3.tgz.json
51
	https://storage.googleapis.com/nativeclient-once/object/core_sdk_libs_i686_41b8768c99edfa543232f56e455e1d4c81b355b3.tgz
52
53
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/core_sdk_libs_le32.tgz.json -> core_sdk_libs_le32_2f086c51e5769760c86b4e852438221afc863018.tgz.json
54
	https://storage.googleapis.com/nativeclient-once/object/core_sdk_libs_le32_2f086c51e5769760c86b4e852438221afc863018.tgz
55
56
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/core_sdk_libs_x86_64.tgz.json -> core_sdk_libs_x86_64_bf724780db5b879fe4a41b8fc2c60b0f7e774ecf.tgz.json
57
	https://storage.googleapis.com/nativeclient-once/object/core_sdk_libs_x86_64_bf724780db5b879fe4a41b8fc2c60b0f7e774ecf.tgz
58
59
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/driver_x86_64_linux.tgz.json -> driver_x86_64_linux_aebe5000b2daaa6ca9fff580835fa5d5948fdebc.tgz.json
60
	https://storage.googleapis.com/nativeclient-once/object/driver_x86_64_linux_aebe5000b2daaa6ca9fff580835fa5d5948fdebc.tgz
61
62
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libcxx_i686.tgz.json -> libcxx_i686_ba67ebc8ed4865c85d28ac3189e36a492fd5906a.tgz.json
63
	https://storage.googleapis.com/nativeclient-once/object/libcxx_i686_ba67ebc8ed4865c85d28ac3189e36a492fd5906a.tgz
64
65
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libcxx_i686_bc.tgz.json -> libcxx_i686_bc_2ec9472750ffb4ff9714cfa5c17c933f08f63e9a.tgz.json
66
	https://storage.googleapis.com/nativeclient-once/object/libcxx_i686_bc_2ec9472750ffb4ff9714cfa5c17c933f08f63e9a.tgz
67
68
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libcxx_le32.tgz.json -> libcxx_le32_cd7894ffc6dd897b9549ed5930c4e46cec037de3.tgz.json
69
	https://storage.googleapis.com/nativeclient-once/object/libcxx_le32_cd7894ffc6dd897b9549ed5930c4e46cec037de3.tgz
70
71
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libcxx_x86_64.tgz.json -> libcxx_x86_64_54d64049fb92ed08573101943a02a52d0d3fda90.tgz.json
72
	https://storage.googleapis.com/nativeclient-once/object/libcxx_x86_64_54d64049fb92ed08573101943a02a52d0d3fda90.tgz
73
74
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libcxx_x86_64_bc.tgz.json -> libcxx_x86_64_bc_cf9a7da4e44786685120a521f6fbbcece2ea177f.tgz.json
75
	https://storage.googleapis.com/nativeclient-once/object/libcxx_x86_64_bc_cf9a7da4e44786685120a521f6fbbcece2ea177f.tgz
76
77
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libcxx_x86_64_linux.tgz.json -> libcxx_x86_64_linux_19e47435d179c7bc820f59b3162f6bf721335dd8.tgz.json
78
	https://storage.googleapis.com/nativeclient-once/object/libcxx_x86_64_linux_19e47435d179c7bc820f59b3162f6bf721335dd8.tgz
79
80
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libgcc_eh_x86_32.tgz.json -> libgcc_eh_x86_32_6dc8bbe08474537602c66fd6db3024b812d91448.tgz.json
81
	https://storage.googleapis.com/nativeclient-once/object/libgcc_eh_x86_32_6dc8bbe08474537602c66fd6db3024b812d91448.tgz
82
83
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libgcc_eh_x86_64.tgz.json -> libgcc_eh_x86_64_729cfb07fe284ff8deb43d30467ab31a3ae17edd.tgz.json
84
	https://storage.googleapis.com/nativeclient-once/object/libgcc_eh_x86_64_729cfb07fe284ff8deb43d30467ab31a3ae17edd.tgz
85
86
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libs_support_i686.tgz.json -> libs_support_i686_97b91213450f99f7562375aa934779ba98b5d598.tgz.json
87
	https://storage.googleapis.com/nativeclient-once/object/libs_support_i686_97b91213450f99f7562375aa934779ba98b5d598.tgz
88
89
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libs_support_i686_bc.tgz.json -> libs_support_i686_bc_a270af9146913a4c0d922f0380a21e61e09e5ea8.tgz.json
90
	https://storage.googleapis.com/nativeclient-once/object/libs_support_i686_bc_a270af9146913a4c0d922f0380a21e61e09e5ea8.tgz
91
92
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libs_support_le32.tgz.json -> libs_support_le32_ebaf6761a9ba9d5c3f2693b78efd5988763a712c.tgz.json
93
	https://storage.googleapis.com/nativeclient-once/object/libs_support_le32_ebaf6761a9ba9d5c3f2693b78efd5988763a712c.tgz
94
95
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libs_support_translator_x86_32.tgz.json -> libs_support_translator_x86_32_270be6a605f07e051e645d1af63fe2dd7b32543a.tgz.json
96
	https://storage.googleapis.com/nativeclient-once/object/libs_support_translator_x86_32_270be6a605f07e051e645d1af63fe2dd7b32543a.tgz
97
98
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libs_support_translator_x86_32_nonsfi.tgz.json -> libs_support_translator_x86_32_nonsfi_e45cd81a7b6432d9c68d222308e8c43f65e86f8d.tgz.json
99
	https://storage.googleapis.com/nativeclient-once/object/libs_support_translator_x86_32_nonsfi_e45cd81a7b6432d9c68d222308e8c43f65e86f8d.tgz
100
101
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libs_support_translator_x86_64.tgz.json -> libs_support_translator_x86_64_ae6ca014ebc54ae04f398324eff54f2492330c3f.tgz.json
102
	https://storage.googleapis.com/nativeclient-once/object/libs_support_translator_x86_64_ae6ca014ebc54ae04f398324eff54f2492330c3f.tgz
103
104
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libs_support_x86_64.tgz.json -> libs_support_x86_64_2c339a4b13ae5a3bc6dce14f78a9ed405960fce7.tgz.json
105
	https://storage.googleapis.com/nativeclient-once/object/libs_support_x86_64_2c339a4b13ae5a3bc6dce14f78a9ed405960fce7.tgz
106
107
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/libs_support_x86_64_bc.tgz.json -> libs_support_x86_64_bc_96a311b617562f6035ddebddcfa8ef57955f4d63.tgz.json
108
	https://storage.googleapis.com/nativeclient-once/object/libs_support_x86_64_bc_96a311b617562f6035ddebddcfa8ef57955f4d63.tgz
109
110
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/llvm_x86_64_linux.tgz.json -> llvm_x86_64_linux_d97c85063737d4200bd6d6a4b6d95a3e360a1351.tgz.json
111
	https://storage.googleapis.com/nativeclient-once/object/llvm_x86_64_linux_d97c85063737d4200bd6d6a4b6d95a3e360a1351.tgz
112
113
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/metadata.tgz.json -> metadata_a652799f4f3de9d359878ef52c6624424b411557.tgz.json
114
	https://storage.googleapis.com/nativeclient-once/object/metadata_a652799f4f3de9d359878ef52c6624424b411557.tgz
115
116
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/newlib_i686.tgz.json -> newlib_i686_bc57b675ba76cde66ad58810c2fb64fbbc888b50.tgz.json
117
	https://storage.googleapis.com/nativeclient-once/object/newlib_i686_bc57b675ba76cde66ad58810c2fb64fbbc888b50.tgz
118
119
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/newlib_i686_bc.tgz.json -> newlib_i686_bc_665d891237ad05188343e99663ae22d6af07378b.tgz.json
120
	https://storage.googleapis.com/nativeclient-once/object/newlib_i686_bc_665d891237ad05188343e99663ae22d6af07378b.tgz
121
122
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/newlib_le32.tgz.json -> newlib_le32_c6642a55a464c9ee71b8c38117dccb83781a8db6.tgz.json
123
	https://storage.googleapis.com/nativeclient-once/object/newlib_le32_c6642a55a464c9ee71b8c38117dccb83781a8db6.tgz
124
125
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/newlib_x86_64.tgz.json -> newlib_x86_64_4d77590618780ad27f9d02be457cf5d402fea69a.tgz.json
126
	https://storage.googleapis.com/nativeclient-once/object/newlib_x86_64_4d77590618780ad27f9d02be457cf5d402fea69a.tgz
127
128
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/newlib_x86_64_bc.tgz.json -> newlib_x86_64_bc_a90b5589e73df4fac7557f083e82c3f9a0d4da2e.tgz.json
129
	https://storage.googleapis.com/nativeclient-once/object/newlib_x86_64_bc_a90b5589e73df4fac7557f083e82c3f9a0d4da2e.tgz
130
131
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/unsandboxed_runtime_x86_32_linux.tgz.json -> unsandboxed_runtime_x86_32_linux_7e9469b5ebd96e40ea3f7b0de93c2361ad06ece3.tgz.json
132
	https://storage.googleapis.com/nativeclient-once/object/unsandboxed_runtime_x86_32_linux_7e9469b5ebd96e40ea3f7b0de93c2361ad06ece3.tgz
133
134
	https://storage.googleapis.com/nativeclient-archive2/builds/2eeb54c6995817a39e5c5cc0b40e26518396335f/linux_x86/pnacl_newlib/unsandboxed_runtime_x86_64_linux.tgz.json -> unsandboxed_runtime_x86_64_linux_39cd59ce6be14ee949c9f430947bd393fb6182e8.tgz.json
135
	https://storage.googleapis.com/nativeclient-once/object/unsandboxed_runtime_x86_64_linux_39cd59ce6be14ee949c9f430947bd393fb6182e8.tgz
136
)
137
"
17
138
18
LICENSE="BSD"
139
LICENSE="BSD"
19
SLOT="0"
140
SLOT="0"
20
KEYWORDS="amd64 ~arm ~arm64 x86"
141
KEYWORDS="amd64 ~arm ~arm64 x86"
21
IUSE="cups gn gnome gnome-keyring gtk3 +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +system-ffmpeg +tcmalloc widevine"
142
IUSE="cups gn gnome gnome-keyring gtk3 +hangouts kerberos nacl neon pic +proprietary-codecs pulseaudio selinux +system-ffmpeg +tcmalloc widevine"
22
RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )"
143
RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) ) arm? ( !nacl ) arm64? ( !nacl )"
23
144
24
# TODO: bootstrapped gn binary hangs when using tcmalloc with portage's sandbox.
145
# TODO: bootstrapped gn binary hangs when using tcmalloc with portage's sandbox.
25
REQUIRED_USE="gn? ( gnome gnome-keyring !tcmalloc )"
146
REQUIRED_USE="gn? ( gnome gnome-keyring !tcmalloc )"
Lines 186-191 pkg_setup() { Link Here
186
	chromium_suid_sandbox_check_kernel_config
307
	chromium_suid_sandbox_check_kernel_config
187
}
308
}
188
309
310
src_unpack() {
311
	unpack ${P}.tar.xz
312
313
	if use nacl; then
314
		local toolchains
315
		# for NaCL we have to place toolchain JSON metadata files into appropriate place
316
		# so download_nacl_toolchains.py can find and use them for archives extraction
317
		for jsonfile in $DISTDIR/*.json; do
318
			case $jsonfile in
319
				*.tgz.json) ;; # Skip per-package metadata
320
321
				*.json) # create symlinks and directories for toolchain metadata JSON files
322
					jsonfile=${jsonfile##*/}
323
					local toolchain=${jsonfile%_*}
324
					toolchains="${toolchains} ${toolchain}"
325
326
					mkdir -p ${S}/native_client/toolchain/.tars/linux_x86/${toolchain} &&
327
					ln -s ${DISTDIR}/${jsonfile} ${S}/native_client/toolchain/.tars/linux_x86/${toolchain}.json ||
328
					die
329
				;;
330
			esac
331
		done
332
333
		for jsonfile in ${DISTDIR}/*.tgz.json; do
334
			# getting package hash from JSON file to use it as a destination tar name
335
			local tgzhash
336
			tgzhash=$( grep '"hash"' $jsonfile ) || die
337
			tgzhash=${tgzhash%\"*}
338
			tgzhash=${tgzhash##*\"}
339
			# stripping path components from JSON file
340
			jsonfile=${jsonfile##*/}
341
			# original tar archive name
342
			local distfile=${jsonfile%.json}
343
			# tar archive name without revision hash
344
			local tgzname=${distfile%_*.tgz}.tgz
345
			# checking toolchain name this package belongs to
346
			local jsondest
347
			jsondest=$( grep -l "$tgzname" ${S}/native_client/toolchain/.tars/linux_x86/*.json ) || die
348
			jsondest=${jsondest%.json}
349
			jsondest=${jsondest##*/}
350
			# placing everything into appropriate places
351
			mkdir -p ${S}/native_client/toolchain/.tars/package_archives/${tgzname} &&
352
			ln -s ${DISTDIR}/${distfile} ${S}/native_client/toolchain/.tars/package_archives/${tgzname}/${tgzhash}.tgz &&
353
			ln -s ${DISTDIR}/${jsonfile} ${S}/native_client/toolchain/.tars/linux_x86/${jsondest}/${tgzname}.json ||
354
			die
355
		done
356
357
		# Use download_nacl_toolchains.py to extract archives
358
		cd $S || die
359
		for toolchain in $toolchains; do
360
			python build/download_nacl_toolchains.py --packages $toolchain extract --skip-missing || die
361
		done
362
		cd $WORKDIR || die
363
	fi
364
}
365
189
src_prepare() {
366
src_prepare() {
190
	epatch "${FILESDIR}/${PN}-system-ffmpeg-r2.patch"
367
	epatch "${FILESDIR}/${PN}-system-ffmpeg-r2.patch"
191
	epatch "${FILESDIR}/${PN}-system-jinja-r11.patch"
368
	epatch "${FILESDIR}/${PN}-system-jinja-r11.patch"
Lines 320-325 src_prepare() { Link Here
320
		'url/third_party/mozilla' \
497
		'url/third_party/mozilla' \
321
		'v8/src/third_party/fdlibm' \
498
		'v8/src/third_party/fdlibm' \
322
		'v8/src/third_party/valgrind' \
499
		'v8/src/third_party/valgrind' \
500
		'base/third_party/libevent' \
501
		'native_client/src/third_party/dlmalloc' \
323
		--do-remove || die
502
		--do-remove || die
324
}
503
}
325
504
Lines 334-342 src_configure() { Link Here
334
	# additions, bug #336871.
513
	# additions, bug #336871.
335
	myconf_gyp+=" -Ddisable_sse2=1"
514
	myconf_gyp+=" -Ddisable_sse2=1"
336
515
337
	# Disable nacl, we can't build without pnacl (http://crbug.com/269560).
516
	if use nacl ; then
338
	myconf_gyp+=" -Ddisable_nacl=1"
517
		myconf_gyp+=" -Ddisable_glibc=1"
339
	myconf_gn+=" enable_nacl=false"
518
		myconf_gn+=" enable_glibc=false"
519
	else
520
		myconf_gyp+=" -Ddisable_nacl=1"
521
		myconf_gn+=" enable_nacl=false"
522
	fi
340
523
341
	# Make it possible to remove third_party/adobe.
524
	# Make it possible to remove third_party/adobe.
342
	echo > "${T}/flapper_version.h" || die
525
	echo > "${T}/flapper_version.h" || die
Lines 622-633 src_install() { Link Here
622
	doexe out/Release/chromedriver || die
805
	doexe out/Release/chromedriver || die
623
	use widevine && doexe out/Release/libwidevinecdmadapter.so
806
	use widevine && doexe out/Release/libwidevinecdmadapter.so
624
807
625
	# if ! use arm; then
808
626
	#	doexe out/Release/nacl_helper{,_bootstrap} || die
809
	if use nacl; then
627
	#	insinto "${CHROMIUM_HOME}"
810
		doexe out/Release/nacl_helper{,_bootstrap} || die
628
	#	doins out/Release/nacl_irt_*.nexe || die
811
		insinto "${CHROMIUM_HOME}"
629
	#	doins out/Release/libppGoogleNaClPluginChrome.so || die
812
		doins out/Release/nacl_irt_*.nexe || die
630
	# fi
813
	fi
631
814
632
	local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" )
815
	local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" )
633
	if [[ -n ${CHROMIUM_SUFFIX} ]]; then
816
	if [[ -n ${CHROMIUM_SUFFIX} ]]; then

Return to bug 541610