Gentoo Archives: gentoo-commits

From: "Mike Gilbert (floppym)" <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-client/chromium: chromium-24.0.1312.25.ebuild ChangeLog chromium-24.0.1312.5.ebuild
Date: Tue, 27 Nov 2012 21:32:21
Message-Id: 20121127213208.1196D20C65@flycatcher.gentoo.org
1 floppym 12/11/27 21:32:06
2
3 Modified: ChangeLog
4 Added: chromium-24.0.1312.25.ebuild
5 Removed: chromium-24.0.1312.5.ebuild
6 Log:
7 Beta channel bump. EAPI=5. Add slot-operator dep for v8.
8
9 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
10
11 Revision Changes Path
12 1.758 www-client/chromium/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/ChangeLog?rev=1.758&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/ChangeLog?rev=1.758&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/ChangeLog?r1=1.757&r2=1.758
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v
21 retrieving revision 1.757
22 retrieving revision 1.758
23 diff -u -r1.757 -r1.758
24 --- ChangeLog 27 Nov 2012 12:19:34 -0000 1.757
25 +++ ChangeLog 27 Nov 2012 21:32:06 -0000 1.758
26 @@ -1,6 +1,12 @@
27 # ChangeLog for www-client/chromium
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.757 2012/11/27 12:19:34 ago Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.758 2012/11/27 21:32:06 floppym Exp $
31 +
32 +*chromium-24.0.1312.25 (27 Nov 2012)
33 +
34 + 27 Nov 2012; Mike Gilbert <floppym@g.o> +chromium-24.0.1312.25.ebuild,
35 + -chromium-24.0.1312.5.ebuild:
36 + Beta channel bump. EAPI=5. Add slot-operator dep for v8.
37
38 27 Nov 2012; Agostino Sarubbo <ago@g.o> chromium-23.0.1271.91.ebuild:
39 Stable for x86, wrt bug #444826
40
41
42
43 1.1 www-client/chromium/chromium-24.0.1312.25.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-24.0.1312.25.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-client/chromium/chromium-24.0.1312.25.ebuild?rev=1.1&content-type=text/plain
47
48 Index: chromium-24.0.1312.25.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-24.0.1312.25.ebuild,v 1.1 2012/11/27 21:32:06 floppym Exp $
53
54 EAPI="5"
55 PYTHON_DEPEND="2:2.6"
56
57 CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he
58 hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt_BR pt_PT ro ru sk sl sr
59 sv sw ta te th tr uk vi zh_CN zh_TW"
60
61 inherit chromium eutils flag-o-matic multilib \
62 pax-utils portability python toolchain-funcs versionator virtualx
63
64 DESCRIPTION="Open-source version of Google Chrome web browser"
65 HOMEPAGE="http://chromium.org/"
66 SRC_URI="http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2"
67
68 LICENSE="BSD"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="bindist cups gnome gnome-keyring kerberos pulseaudio selinux tcmalloc"
72
73 RDEPEND="app-arch/bzip2
74 cups? (
75 dev-libs/libgcrypt
76 >=net-print/cups-1.3.11
77 )
78 >=dev-lang/v8-3.14.5:=
79 >=dev-libs/elfutils-0.149
80 dev-libs/expat
81 >=dev-libs/icu-49.1.1-r1
82 >=dev-libs/libevent-1.4.13
83 dev-libs/libxml2[icu]
84 dev-libs/libxslt
85 >=dev-libs/nss-3.12.3
86 gnome? ( >=gnome-base/gconf-2.24.0 )
87 gnome-keyring? ( >=gnome-base/gnome-keyring-2.28.2 )
88 >=media-libs/alsa-lib-1.0.19
89 media-libs/flac
90 >=media-libs/libjpeg-turbo-1.2.0-r1
91 media-libs/libpng
92 media-libs/libvpx
93 >=media-libs/libwebp-0.2.0_rc1
94 media-libs/opus
95 media-libs/speex
96 pulseaudio? ( media-sound/pulseaudio )
97 sys-apps/dbus
98 sys-libs/zlib[minizip]
99 sys-fs/udev
100 virtual/libusb:1
101 x11-libs/gtk+:2
102 x11-libs/libXinerama
103 x11-libs/libXScrnSaver
104 x11-libs/libXtst
105 kerberos? ( virtual/krb5 )
106 selinux? (
107 sec-policy/selinux-chromium
108 sys-libs/libselinux
109 )"
110 DEPEND="${RDEPEND}
111 dev-lang/perl
112 dev-lang/yasm
113 dev-python/ply
114 dev-python/simplejson
115 >=dev-util/gperf-3.0.3
116 >=sys-devel/bison-2.4.3
117 sys-devel/flex
118 >=sys-devel/make-3.81-r2
119 virtual/pkgconfig
120 test? ( dev-python/pyftpdlib )"
121 RDEPEND+="
122 !=www-client/chromium-9999
123 x11-misc/xdg-utils
124 virtual/ttf-fonts"
125
126 if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then
127 EBUILD_DEATH_HOOKS+=" chromium_pkg_die";
128 fi
129
130 pkg_setup() {
131 if [[ "${SLOT}" == "0" ]]; then
132 CHROMIUM_SUFFIX=""
133 else
134 CHROMIUM_SUFFIX="-${SLOT}"
135 fi
136 CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}"
137
138 # Make sure the build system will use the right tools, bug #340795.
139 tc-export AR CC CXX RANLIB
140
141 # Make sure the build system will use the right python, bug #344367.
142 python_set_active_version 2
143 python_pkg_setup
144
145 if ! use selinux; then
146 chromium_suid_sandbox_check_kernel_config
147 fi
148
149 if use bindist; then
150 elog "bindist enabled: H.264 video support will be disabled."
151 else
152 elog "bindist disabled: Resulting binaries may not be legal to re-distribute."
153 fi
154 }
155
156 src_prepare() {
157 # if ! use arm; then
158 # ebegin "Preparing NaCl newlib toolchain"
159 # pushd "${T}" >/dev/null || die
160 # mkdir sdk || die
161 # cp -a /usr/$(get_libdir)/nacl-toolchain-newlib sdk/nacl-sdk || die
162 # mkdir -p "${S}"/native_client/toolchain/.tars || die
163 # tar czf "${S}"/native_client/toolchain/.tars/naclsdk_linux_x86.tgz sdk || die
164 # popd >/dev/null || die
165 # eend $?
166 # fi
167
168 # zlib-1.2.5.1-r1 renames the OF macro in zconf.h, bug 383371.
169 # sed -i '1i#define OF(x) x' \
170 # third_party/zlib/contrib/minizip/{ioapi,{,un}zip}.h || die
171
172 epatch "${FILESDIR}/${PN}-arm-r0.patch"
173
174 # Fix build without NaCl glibc toolchain.
175 # epatch "${FILESDIR}/${PN}-ppapi-r0.patch"
176
177 # Missing gyp files in tarball.
178 # https://code.google.com/p/chromium/issues/detail?id=144823
179 # if [[ -e chrome/test/data/nacl/nacl_test_data.gyp ]]; then
180 # die "tarball fixed, please remove workaround"
181 # fi
182
183 # mkdir -p chrome/test/data/nacl
184 # cat > chrome/test/data/nacl/nacl_test_data.gyp <<-EOF
185 # {
186 # 'targets': [
187 # {
188 # 'target_name': 'nacl_tests',
189 # 'type': 'none',
190 # },
191 # ],
192 # }
193 # EOF
194
195 epatch_user
196
197 # Remove most bundled libraries. Some are still needed.
198 find third_party -type f \! -iname '*.gyp*' \
199 \! -path 'third_party/WebKit/*' \
200 \! -path 'third_party/angle/*' \
201 \! -path 'third_party/cacheinvalidation/*' \
202 \! -path 'third_party/cld/*' \
203 \! -path 'third_party/cros_system_api/*' \
204 \! -path 'third_party/ffmpeg/*' \
205 \! -path 'third_party/flac/flac.h' \
206 \! -path 'third_party/flot/*' \
207 \! -path 'third_party/gpsd/*' \
208 \! -path 'third_party/harfbuzz/*' \
209 \! -path 'third_party/harfbuzz-ng/*' \
210 \! -path 'third_party/hunspell/*' \
211 \! -path 'third_party/hyphen/*' \
212 \! -path 'third_party/iccjpeg/*' \
213 \! -path 'third_party/jsoncpp/*' \
214 \! -path 'third_party/khronos/*' \
215 \! -path 'third_party/leveldatabase/*' \
216 \! -path 'third_party/libjingle/*' \
217 \! -path 'third_party/libphonenumber/*' \
218 \! -path 'third_party/libsrtp/*' \
219 \! -path 'third_party/libusb/libusb.h' \
220 \! -path 'third_party/libva/*' \
221 \! -path 'third_party/libvpx/libvpx.h' \
222 \! -path 'third_party/libxml/chromium/*' \
223 \! -path 'third_party/libXNVCtrl/*' \
224 \! -path 'third_party/libyuv/*' \
225 \! -path 'third_party/lss/*' \
226 \! -path 'third_party/mesa/*' \
227 \! -path 'third_party/modp_b64/*' \
228 \! -path 'third_party/mongoose/*' \
229 \! -path 'third_party/mt19937ar/*' \
230 \! -path 'third_party/npapi/*' \
231 \! -path 'third_party/openmax/*' \
232 \! -path 'third_party/opus/opus.h*' \
233 \! -path 'third_party/ots/*' \
234 \! -path 'third_party/protobuf/*' \
235 \! -path 'third_party/pywebsocket/*' \
236 \! -path 'third_party/qcms/*' \
237 \! -path 'third_party/re2/*' \
238 \! -path 'third_party/scons-2.0.1/*' \
239 \! -path 'third_party/sfntly/*' \
240 \! -path 'third_party/skia/*' \
241 \! -path 'third_party/smhasher/*' \
242 \! -path 'third_party/speex/speex.h' \
243 \! -path 'third_party/sqlite/*' \
244 \! -path 'third_party/tcmalloc/*' \
245 \! -path 'third_party/tlslite/*' \
246 \! -path 'third_party/trace-viewer/*' \
247 \! -path 'third_party/undoview/*' \
248 \! -path 'third_party/v8-i18n/*' \
249 \! -path 'third_party/webdriver/*' \
250 \! -path 'third_party/webgl_conformance/*' \
251 \! -path 'third_party/webrtc/*' \
252 \! -path 'third_party/widevine/*' \
253 -delete || die
254
255 local v8_bundled="$(chromium_bundled_v8_version)"
256 local v8_installed="$(chromium_installed_v8_version)"
257 einfo "V8 version: bundled - ${v8_bundled}; installed - ${v8_installed}"
258
259 # Remove bundled v8.
260 find v8 -type f \! -iname '*.gyp*' -delete || die
261
262 # The implementation files include v8 headers with full path,
263 # like #include "v8/include/v8.h". Make sure the system headers
264 # will be used.
265 # TODO: find a solution that can be upstreamed.
266 rmdir v8/include || die
267 ln -s /usr/include v8/include || die
268 }
269
270 src_configure() {
271 local myconf=""
272
273 # Never tell the build system to "enable" SSE2, it has a few unexpected
274 # additions, bug #336871.
275 myconf+=" -Ddisable_sse2=1"
276
277 # Optional tcmalloc. Note it causes problems with e.g. NVIDIA
278 # drivers, bug #413637.
279 myconf+=" $(gyp_use tcmalloc linux_use_tcmalloc)"
280
281 # TODO: build with NaCl (pnacl is sort of required).
282 myconf+=" -Ddisable_nacl=1"
283
284 # Disable glibc Native Client toolchain, we don't need it (bug #417019).
285 # myconf+=" -Ddisable_glibc=1"
286
287 # TODO: also build with pnacl
288 # myconf+=" -Ddisable_pnacl=1
289 # -Dbuild_pnacl_newlib=0"
290
291 # Make it possible to remove third_party/adobe.
292 echo > "${T}/flapper_version.h" || die
293 myconf+=" -Dflapper_version_h_file=${T}/flapper_version.h"
294
295 # Use system-provided libraries.
296 # TODO: use_system_ffmpeg
297 # TODO: use_system_hunspell (upstream changes needed).
298 # TODO: use_system_libsrtp (bug #348600).
299 # TODO: use_system_ssl (http://crbug.com/58087).
300 # TODO: use_system_sqlite (http://crbug.com/22208).
301 myconf+="
302 -Duse_system_bzip2=1
303 -Duse_system_flac=1
304 -Duse_system_icu=1
305 -Duse_system_libevent=1
306 -Duse_system_libjpeg=1
307 -Duse_system_libpng=1
308 -Duse_system_libusb=1
309 -Duse_system_libvpx=1
310 -Duse_system_libwebp=1
311 -Duse_system_libxml=1
312 -Duse_system_minizip=1
313 -Duse_system_opus=1
314 -Duse_system_speex=1
315 -Duse_system_v8=1
316 -Duse_system_xdg_utils=1
317 -Duse_system_yasm=1
318 -Duse_system_zlib=1"
319
320 # Optional dependencies.
321 # TODO: linux_link_kerberos, bug #381289.
322 myconf+="
323 $(gyp_use cups)
324 $(gyp_use gnome use_gconf)
325 $(gyp_use gnome-keyring use_gnome_keyring)
326 $(gyp_use gnome-keyring linux_link_gnome_keyring)
327 $(gyp_use kerberos)
328 $(gyp_use pulseaudio)
329 $(gyp_use selinux selinux)"
330
331 # Use explicit library dependencies instead of dlopen.
332 # This makes breakages easier to detect by revdep-rebuild.
333 myconf+="
334 -Dlinux_link_gsettings=1"
335
336 if ! use selinux; then
337 # Enable SUID sandbox.
338 myconf+="
339 -Dlinux_sandbox_path=${CHROMIUM_HOME}/chrome_sandbox
340 -Dlinux_sandbox_chrome_path=${CHROMIUM_HOME}/chrome"
341 fi
342
343 # Never use bundled gold binary. Disable gold linker flags for now.
344 myconf+="
345 -Dlinux_use_gold_binary=0
346 -Dlinux_use_gold_flags=0"
347
348 if ! use bindist; then
349 # Enable H.624 support in bundled ffmpeg.
350 myconf+=" -Dproprietary_codecs=1 -Dffmpeg_branding=Chrome"
351 fi
352
353 local myarch="$(tc-arch)"
354 if [[ $myarch = amd64 ]] ; then
355 myconf+=" -Dtarget_arch=x64"
356 elif [[ $myarch = x86 ]] ; then
357 myconf+=" -Dtarget_arch=ia32"
358 elif [[ $myarch = arm ]] ; then
359 # TODO: re-enable NaCl (NativeClient).
360 myconf+=" -Dtarget_arch=arm
361 -Darmv7=0
362 -Darm_neon=0
363 -Ddisable_nacl=1"
364 else
365 die "Failed to determine target arch, got '$myarch'."
366 fi
367
368 # Make sure that -Werror doesn't get added to CFLAGS by the build system.
369 # Depending on GCC version the warnings are different and we don't want
370 # the build to fail because of that.
371 myconf+=" -Dwerror="
372
373 # Avoid CFLAGS problems, bug #352457, bug #390147.
374 if ! use custom-cflags; then
375 replace-flags "-Os" "-O2"
376 strip-flags
377 fi
378
379 egyp_chromium ${myconf} || die
380 }
381
382 src_compile() {
383 local test_targets
384 for x in base cacheinvalidation crypto \
385 googleurl gpu media net printing sql; do
386 test_targets+=" ${x}_unittests"
387 done
388
389 local make_targets="chrome chromedriver"
390 if ! use selinux; then
391 make_targets+=" chrome_sandbox"
392 fi
393 if use test; then
394 make_targets+=$test_targets
395 fi
396
397 # See bug #410883 for more info about the .host mess.
398 emake ${make_targets} BUILDTYPE=Release V=1 \
399 CC.host="$(tc-getCC)" CFLAGS.host="${CFLAGS}" \
400 CXX.host="$(tc-getCXX)" CXXFLAGS.host="${CXXFLAGS}" \
401 LINK.host="$(tc-getCXX)" LDFLAGS.host="${LDFLAGS}" \
402 AR.host="$(tc-getAR)" || die
403
404 pax-mark m out/Release/chrome
405 if use test; then
406 for x in $test_targets; do
407 pax-mark m out/Release/${x}
408 done
409 fi
410 }
411
412 src_test() {
413 # For more info see bug #350349.
414 local mylocale='en_US.utf8'
415 if ! locale -a | grep -q "$mylocale"; then
416 eerror "${PN} requires ${mylocale} locale for tests"
417 eerror "Please read the following guides for more information:"
418 eerror " http://www.gentoo.org/doc/en/guide-localization.xml"
419 eerror " http://www.gentoo.org/doc/en/utf-8.xml"
420 die "locale ${mylocale} is not supported"
421 fi
422
423 # For more info see bug #370957.
424 if [[ $UID -eq 0 ]]; then
425 die "Tests must be run as non-root. Please use FEATURES=userpriv."
426 fi
427
428 runtest() {
429 local cmd=$1
430 shift
431 local filter="--gtest_filter=$(IFS=:; echo "-${*}")"
432 einfo "${cmd}" "${filter}"
433 LC_ALL="${mylocale}" VIRTUALX_COMMAND="${cmd}" virtualmake "${filter}"
434 }
435
436 local excluded_base_unittests=(
437 "ICUStringConversionsTest.*" # bug #350347
438 "MessagePumpLibeventTest.*" # bug #398591
439 )
440 runtest out/Release/base_unittests "${excluded_base_unittests[@]}"
441
442 runtest out/Release/cacheinvalidation_unittests
443 runtest out/Release/crypto_unittests
444 runtest out/Release/googleurl_unittests
445 runtest out/Release/gpu_unittests
446
447 # TODO: re-enable when we get the test data in a separate tarball.
448 # runtest out/Release/media_unittests
449
450 # local excluded_net_unittests=(
451 # "NetUtilTest.IDNToUnicode*" # bug 361885
452 # "NetUtilTest.FormatUrl*" # see above
453 # "DnsConfigServiceTest.GetSystemConfig" # bug #394883
454 # "CertDatabaseNSSTest.ImportServerCert_SelfSigned" # bug #399269
455 # "URLFetcher*" # bug #425764
456 # "HTTPSOCSPTest.*" # bug #426630
457 # "HTTPSEVCRLSetTest.*" # see above
458 # "HTTPSCRLSetTest.*" # see above
459 #)
460 # runtest out/Release/net_unittests "${excluded_net_unittests[@]}"
461
462 runtest out/Release/printing_unittests
463 runtest out/Release/sql_unittests
464 }
465
466 src_install() {
467 exeinto "${CHROMIUM_HOME}"
468 doexe out/Release/chrome || die
469
470 if ! use selinux; then
471 doexe out/Release/chrome_sandbox || die
472 fperms 4755 "${CHROMIUM_HOME}/chrome_sandbox"
473 fi
474
475 doexe out/Release/chromedriver || die
476
477 # if ! use arm; then
478 # doexe out/Release/nacl_helper{,_bootstrap} || die
479 # insinto "${CHROMIUM_HOME}"
480 # doins out/Release/nacl_irt_*.nexe || die
481 # doins out/Release/libppGoogleNaClPluginChrome.so || die
482 # fi
483
484 newexe "${FILESDIR}"/chromium-launcher-r2.sh chromium-launcher.sh || die
485 if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
486 sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" \
487 -i "${ED}"/"${CHROMIUM_HOME}"/chromium-launcher.sh || die
488 sed "s:chromium.desktop:chromium${CHROMIUM_SUFFIX}.desktop:g" \
489 -i "${ED}"/"${CHROMIUM_HOME}"/chromium-launcher.sh || die
490 sed "s:plugins:plugins --user-data-dir=\${HOME}/.config/chromium${CHROMIUM_SUFFIX}:" \
491 -i "${ED}"/"${CHROMIUM_HOME}"/chromium-launcher.sh || die
492 fi
493
494 # It is important that we name the target "chromium-browser",
495 # xdg-utils expect it; bug #355517.
496 dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser${CHROMIUM_SUFFIX} || die
497 # keep the old symlink around for consistency
498 dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium${CHROMIUM_SUFFIX} || die
499
500 # Allow users to override command-line options, bug #357629.
501 dodir /etc/chromium || die
502 insinto /etc/chromium
503 newins "${FILESDIR}/chromium.default" "default" || die
504
505 pushd out/Release/locales > /dev/null || die
506 chromium_remove_language_paks
507 popd
508
509 insinto "${CHROMIUM_HOME}"
510 doins out/Release/*.pak || die
511
512 doins -r out/Release/locales || die
513 doins -r out/Release/resources || die
514
515 newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die
516 newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die
517
518 doexe out/Release/libffmpegsumo.so || die
519
520 # Install icons and desktop entry.
521 local branding size
522 for size in 16 22 24 32 48 64 128 256 ; do
523 case ${size} in
524 16|32) branding="chrome/app/theme/default_100_percent/chromium" ;;
525 *) branding="chrome/app/theme/chromium" ;;
526 esac
527 newicon -s ${size} "${branding}/product_logo_${size}.png" \
528 chromium-browser${CHROMIUM_SUFFIX}.png
529 done
530
531 local mime_types="text/html;text/xml;application/xhtml+xml;"
532 mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797
533 mime_types+="x-scheme-handler/ftp;" # bug #412185
534 mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" # bug #416393
535 make_desktop_entry \
536 chromium-browser${CHROMIUM_SUFFIX} \
537 "Chromium${CHROMIUM_SUFFIX}" \
538 chromium-browser${CHROMIUM_SUFFIX} \
539 "Network;WebBrowser" \
540 "MimeType=${mime_types}\nStartupWMClass=chromium-browser"
541 sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die
542
543 # Install GNOME default application entry (bug #303100).
544 if use gnome; then
545 dodir /usr/share/gnome-control-center/default-apps || die
546 insinto /usr/share/gnome-control-center/default-apps
547 newins "${FILESDIR}"/chromium-browser.xml chromium-browser${CHROMIUM_SUFFIX}.xml || die
548 if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then
549 sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" -i \
550 "${ED}"/usr/share/gnome-control-center/default-apps/chromium-browser${CHROMIUM_SUFFIX}.xml
551 fi
552 fi
553 }