diff options
author | Agostino Sarubbo <ago@gentoo.org> | 2015-05-07 16:20:36 +0000 |
---|---|---|
committer | Agostino Sarubbo <ago@gentoo.org> | 2015-05-07 16:20:36 +0000 |
commit | dacdcd46be174c9414c4dd0a6d1cf1c5f1a47577 (patch) | |
tree | 4573af6edd6526ebe7080d3ce0d75c162e2effe7 /www-client | |
parent | Stable for x86, wrt bug #548108 (diff) | |
download | historical-dacdcd46be174c9414c4dd0a6d1cf1c5f1a47577.tar.gz historical-dacdcd46be174c9414c4dd0a6d1cf1c5f1a47577.tar.bz2 historical-dacdcd46be174c9414c4dd0a6d1cf1c5f1a47577.zip |
Remove old
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0x7194459F
Diffstat (limited to 'www-client')
-rw-r--r-- | www-client/chromium/ChangeLog | 5 | ||||
-rw-r--r-- | www-client/chromium/Manifest | 30 | ||||
-rw-r--r-- | www-client/chromium/chromium-42.0.2311.90.ebuild | 659 |
3 files changed, 18 insertions, 676 deletions
diff --git a/www-client/chromium/ChangeLog b/www-client/chromium/ChangeLog index bee848d88ba1..51a123c5cae2 100644 --- a/www-client/chromium/ChangeLog +++ b/www-client/chromium/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-client/chromium # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.1236 2015/05/07 16:19:58 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/ChangeLog,v 1.1237 2015/05/07 16:20:35 ago Exp $ + + 07 May 2015; Agostino Sarubbo <ago@gentoo.org> -chromium-42.0.2311.90.ebuild: + Remove old 07 May 2015; Agostino Sarubbo <ago@gentoo.org> chromium-42.0.2311.135.ebuild: Stable for x86, wrt bug #548108 diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index b4f6746b3258..109d143314ab 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -15,35 +15,33 @@ AUX chromium-widevine.patch 1461 SHA256 b352ea3512368fd77b6d342a043645a61204907c AUX chromium.default 148 SHA256 bdac1d32025d53158f96c8ad5bd71a58abdcf02f3a8759a43154e97e812fcdd1 SHA512 0d4849e03592fb58b05e62a43021eca7e61615616c8907c3b2e445402e03adaf9e8fa25b0a745d6c31eb037456215cc02b59e345a3a06d932e76cf990c92d739 WHIRLPOOL 2e51e864134426668cc73fc5081c35288677d8ce855b07dfbd3413397f9c43148a6d6096a9b7a617511388f87623a3ce7f3387103202db53876a74bccb9dbe6c AUX dot-gclient 174 SHA256 0ae6d69323d1d286de7ef1fa62c330536ada7280bda7564fefb5d071384ed324 SHA512 ea858464ee8732536633259ed3d11990822e8b8493c07b83218856a127320ba21b9cfc184f7e7a899739bc5f938fbca25224e559fb7db8558cb86fccc743a685 WHIRLPOOL 72a5a9af7955e653151090b555c6a67a261ff807871fdda16d7c3fabf4b52449ac9caae466ba51a17d2efed74a68adc32687599ea4287cc033e75f787d874b55 DIST chromium-42.0.2311.135.tar.xz 306488116 SHA256 c269d40e653794c219fd3eca2922d881199af5acff5d0a55b3e79f3b6a5a2aa9 SHA512 1205b34be45d7b2a0839366d8ae6ca95c8dd031dc2da08167b8ec7c044b6d5e1bad955ac60f891a586ade81ff87801d6c908ad8979c203321f8c5176f9583c93 WHIRLPOOL ed565e83b097575dfcdf61cc1f1f1f049b39187c212e6973fe3c3e28da9960f4774bedb0711d4ff9ae62a802083f096dd62a4cd0e8a0e06f3af3df7e4f10c899 -DIST chromium-42.0.2311.90.tar.xz 306502344 SHA256 60b0eb38c1c3d0cc998dae70b7333e53b715cff2847c1652e03d1723300db4c9 SHA512 abfa97ad66b944609c7dc1fcb1d8944dd945968959f43cfc5d89ac542f126a1be62fc100c197af4d6ee565cd18388cd42c8c75505e53031e34bd7a2eee71b41b WHIRLPOOL b78c0e62a7690d08b8beaaa41ae89e72e2b7ce45762706e96165da87f632bf69292e7129f9a4c2b8d79abdc268b5e287e6dcedd4be22336c6e07922d539452da DIST chromium-43.0.2357.18.tar.xz 309041380 SHA256 0a9a32197cf590354030e4c2f7560a330528235cbae4247f5f704e0a9425c2c0 SHA512 140201e1a4baae03ccb92bacd31b337d5c86dfe5018c70da9e12a80dcab7953e4d913adf5e930e15d992869221090fb02d4d27fcaba5bc3a8b5a8303314e6ecb WHIRLPOOL 8b717d1b1cd8918befdfd48fd6f4918023145f4220a64c97cf5f9c0252b5a17725684a1451532fb400c948139634a3d4acee73b7d913d8670c144f554080c855 DIST chromium-43.0.2357.45.tar.xz 308939472 SHA256 9827c03ad4b61493ae34352fa3ded8f0f6af65ec14a8a5d021cd723b598401eb SHA512 bc2b79f35c76b5f01f913a93ca294d42c14a38a8ab68aae81013a634ed216b7682f0336025e69f1669fbf2cf15b9f337bd261dc3cf498f1365ce6a546dbc79c1 WHIRLPOOL 0f1bcd20882f55dddad7bbef0702e4f56e83472a69a9de1278a8328522c0bbd0e40c69654a7b646646acce33074fe73835badfd065de9ba2755186c4df2602c9 DIST chromium-44.0.2383.0.tar.xz 311401440 SHA256 76255c9f3e3f0e41a8827ed74918cfe838631a3809f4cf9c728f0dc7b8989eb7 SHA512 0c5f4baa7ff311436e62866eca4ffb9253b2dae1d69098036c1c6d6ae97c9b05401181f9202ff1922731e3e5dcdfa83de46f95191c65b6435fbdc300f93e6b50 WHIRLPOOL 307e2e5c37208e98d4bc2dd940ec10db520c1cd403aaf6d8616a795801a032657dedeb932abb371244f15ce7904697798060310bbc07dc2b013d2fbe9f8c011e DIST chromium-44.0.2391.0.tar.xz 312144548 SHA256 a61aae53cd4aeaac2cec4452f917f873c3f50b2fab9aa8ea8c07235be8393859 SHA512 3b64eb2cd6bb688abc6ed77f52f6f8b36017e2cfa1520b6d98e66296e9d0bd02c5d00cac76562d2b382ed8d4ed0c43624b95e8ce444da6fbfeaddbd59e9e067f WHIRLPOOL cb5f78ac9ae79dd84b131d9032e3b393fc0e08ea3ec6dd8e43ebeeb21874b5d12162c9e050080119243308c99a9431bcc825313fccf094eb229b3348fece16b6 EBUILD chromium-42.0.2311.135.ebuild 20565 SHA256 5149d55649f705a8a9e9f233895123139a1c230acfb6a2b85c24dbed069d8085 SHA512 ba8d40fa8a601288a498f33d9670036da1dabecd15083f8f589e027c47e6f171c79257241313e4409e4de435d043abd1dfce55258a36ad22a65e951b4cbcd8eb WHIRLPOOL 3af83415abb8e0fc2e1bbe29fe9553e52670692afbb9208ee429809da8b8fe4aa21592815c355ff9476c78500d93c8e6a4a9aa15078607988fd8c8651c8ba36a -EBUILD chromium-42.0.2311.90.ebuild 20561 SHA256 1c383eb1bdb7d65fc2f6d06dc51c8472f9cbd1fa81f6f668b8ab6d753443438b SHA512 4b7daef3586ee1e8db092a02708a419b0f0e23b362a39000ae9daa5783a0cd2e9bb5726a5f0d4bb1057e2964a4b0b25328e691a7f2774dea1a6e66ca575d027d WHIRLPOOL f7475dfcc7d6b6e7e22c372e3c401f08b19e4849ba6a03dce40768ce71570d179b4d205669e9f69e331000b79b399203020305541bacc9fe48a028d0cef53be0 EBUILD chromium-43.0.2357.18.ebuild 20227 SHA256 551d8fd33258d4070c04ff9d4b0afce713abb535459d4ec980fef0c8f545e5f7 SHA512 4ea50abe9475ae721327533dd93f5ddb2042964bf9da1cb530f07f7d5a6625d941b2f61c7a0318af45c839fa0fe9327551dcaf8a4d0d85c2c92529c5dee441c3 WHIRLPOOL 49ceed48245fc0e03f6427463076a5f8ff0c8e7291190f28c2b74a0e6bea277b53c35fbee75a9c2cfa7e1f1d790afb614cb0d933c1c206b518f8a969f84b5e5a EBUILD chromium-43.0.2357.45.ebuild 20237 SHA256 0a1c6bd3572f750ba3f310de83a9716a06552258268bb50881641129a0990486 SHA512 a9c3be9188059697d92b73776c5223fa8487fcca7cac2f0befdc9ca80c6eca1935a215bcf3b1f4ce182c34e3094ab38e607fc623598adba73fd51a5d53c64184 WHIRLPOOL 2ea544cce500dc3ceb8fb02062f180b6e6c2965c9206f29d71f782c0946e262fc1ebc8e0492b0964ca018ae4ca075a81aede1709c0588661ed517ba11b9d5693 EBUILD chromium-44.0.2383.0.ebuild 20352 SHA256 ed0565ec28a1e284b7081e8f5d8d753dd86b08e57886a1ebacb1e2c78dcaef10 SHA512 4b3de331a2a545fec14b2c97f3b1a0afea5723ff07f1acf9dfe0c6c023f3915baee135c4dda85f6cef9101759f4a4fbca7df4d9cab73137319f5ebf84168d3f9 WHIRLPOOL 19c87236479f828192d05a888ed3a53d62d7b4b15fd2b180e702caa66737ab93f0fece60f09af028da2833e155669abd1ea647471f1c71123088b1bafcad38f3 EBUILD chromium-44.0.2391.0.ebuild 19433 SHA256 ec9036e6a5d17c2c22e54dfe628267af637dc3dd1da16597931ea0a3f015a051 SHA512 dc4d82db611dcf1946f6b622d83fd2b8e56c242000e37fe2e99346f52cf8337b9a27ed49abade26a8fbfb320d7bf9dbcd2bb22bdeff472d131739ccc2d241813 WHIRLPOOL a6198a02c916a8fa44e0249968a93574ebc377c746e4ebb4708b7eb99941af7535fafce525edaa380da0caea45ab040995ea5d5570cf50f95e3a860d6c6ba0c7 -MISC ChangeLog 11253 SHA256 b19940b300dd87e07636a07a61369847051110ec86d461f190b3f5c1a2fe6631 SHA512 f25d95ea5f74b2e789b369467fedc0724bf06a7d934f51b2329b4664a96dcb41a506026ed46260d656ca8619f92d5ca89d27a178b71db5c9276f789b171cd778 WHIRLPOOL e344db1cd9ab84c32d38d4c8def3b2911ea975c865a1a084f268c0d8990e87efa5388e933e03a39bd1784d90b0661361bf19aa925fbbdf282e661b50b490ddbe +MISC ChangeLog 11347 SHA256 f2cfb186ed2399e41b89749525f4959e5e28d2d41ef69c01f7e09fae533d4223 SHA512 f55f3a9a275a79c6dbf5c17318da10fa3c5fbee7e8e154509bda952a8a2f7635c38daf9b60cbee988a745c198cd3609cdd87fd04d84fb9547f070fcf29921227 WHIRLPOOL aa160e6ea8b0b552f33f9a50732bc565a15beed0f1d5958cc9171db67220e198ac3d3e7b056dd3ef388aefdb7951dc62406c99e4f0c6059cea6a3bb51dc2017a MISC ChangeLog-2011 114031 SHA256 e2c2c75785c5eaf78b6efe01e357279cbb7be0c89d00b4053f475e963916fa54 SHA512 8e14759348333bdbd7c338080472789d7bbb1ece1ca5817bac6306bdcb33dda1e23bf3055cbb3b7bcee9362b6900bba1ace7ba73f353570a74d3ed761c9198cc WHIRLPOOL 810b6423c53f892a4b0964380b8190dec2a8783d560a9cb0baec93a77d879186201055382ca05975ae242e16728529ae85445db003fdd425355292d17817157b MISC ChangeLog-2014 123105 SHA256 f67108708d3d21b4acfca327aca42ceb4cc31201772dff496babfacb50acc4eb SHA512 bf6464e7e6ccdee81a4c26949176ebfb705f99e85a0120eea77f52b862fa3b8142abb006462f31e5a9053777836d4d9fdb69926d2b01b49463553740aecdbc43 WHIRLPOOL 114181b4c8e700a56bdf76b4de2e94998436b1b27df9182348ab88afd352085938686359369ffa4af929936e9ad88305efc97e22afd3b4c50b0dcf9669286fea MISC metadata.xml 794 SHA256 325b937cabfd7753347c3c911fb8be689b4a7b021430fca37a92c26e7af35433 SHA512 079c7985283d160b85a8dcd53fd54538ee83b9b36fb99327f03aeff16eb3c6dcbb399a01a381094a67be901d970f3c8fa649b2ac156522df3156db2853b6566f WHIRLPOOL c110adec0f1dcb170e4ba52523109d340543d37027f4c6c9f6e6998744c2720177f03a963e7cd162512459c193e5107f0764b8e3dccf7278b008e7cb8a715b8f -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVS5CuAAoJELp701BxlEWfPcIP/1tksOipkWf+ZFK3//PzKml8 -5yRbhXeTJVZrT91Qr6FR1esro3+qCM/i9AymtTmBrhu7iGEvnKhqgLm6rdz3XP7H -dp3anjfLK9D8RZFPMFF6qRgZRLYpwL9iUC6pJMzccZUUvtnLyDoZceRPFLqZjvdk -KYb+zCR6X7Er1TnfsR2XtE0dlEVcW9Lg6/hoYyvQPa0qTz/vlUmeGXhU9NLNa/h2 -bIJHHmh0wrtraiaszY3qvQ0UvLbiS84SuxIuuppX0NGqAmJoelOzM0AqQFEkxBXi -DPY2MU/fU+Xo9IDaJNrIGP3ZVVkadwJvze0FAGvu0loo8FgkaWF53UqE1/zh+KVH -nDHX4S6dIw0YNoMOBVeJZZifMz0S/uB6DgbOJfzoHcDvsEHu07ZgCLmOqDYJkEHm -w7u9dxknFu6/SxqswqPgbOuv1yW2qWwL97KGFR2uxc58J82j/LWG/If14zpFWPuv -FOtFCe68y7KfUSeXV9FLpF72h1QZ7i+syNfMh4qOI5lZofp84sSH8eD5LeaG0F2x -7Db+vjIoESTdl7r951lMebx3CdXJTug1wJHh8x9jmhilAIvaikDJYuqEQy02kyUJ -nXCigbomOyJOEJx4vOJwB6WYrouwB1YiYDnc6E8KuwKbCIuHUtq+LPzAyisxN/wS -0YnO0W6nZhw7YlhHocbF -=3T/B +iQIcBAEBCAAGBQJVS5DTAAoJELp701BxlEWfEAsQAJciadSNVbOu7njIWrWFg3hd +nbzXLgMpaM7fSzPpE1X4SPsBg2Nl5H4BP90nwbaQHVGWegorL4Cfz0bUIcZPCQir +qohSsLNE5z8xQIGpFmzB0jugTbbgFh0nJHW5Pv4uhjN3KCxXH8YjNFkHDxlsWLG/ +ohZDCT7YJYO3jDbsJxtbQzqV2tPY+0bOvbZdxUa65+y8rgYAlLc3WMAo6En6UiV8 +w8sx637/J7QQzbYrYbO9yIVZmZq2l4iwlUVqP6RtZiG6/ao+Ab4e5FCC5PntPgNY +SricYgnGuhnMXyEYx5FbjaHCMFYmozwi15HpC9aabqTjXG5YrxFw5XGo53DILevQ +9au82I+UVO6UY9YbqLd9v1rdg57KcY8qfbwXicIo+h7P68k8tDywiD8tFDjqIfWj +Dm8mTe6skk7hDZOcTf+upPDDpMyPfKRo+zwnQ2+kyrvz707NexI3e6rr9MdfbmBH +xm0MZ9wVoaxI48aS6PTqj0NLy0oAfE7PwJUjlaxCRF936mVRrSPms7DTla8qzf3C +zA5SD6v2EAfRwgpPEi7ZRw04RIQRunWMiu87mVwdwAgwLL0uas0fcQYLAIYloPtU +OkMwUpaRmWnie5bvo+IsfcDH8wuJc5ppzuHQuDbhic6Q4tgYzHCEWzddWLSKGtQA +VJ6X7C5rsz/XpnMqLrV1 +=W3s1 -----END PGP SIGNATURE----- diff --git a/www-client/chromium/chromium-42.0.2311.90.ebuild b/www-client/chromium/chromium-42.0.2311.90.ebuild deleted file mode 100644 index 4ebf8d95f7af..000000000000 --- a/www-client/chromium/chromium-42.0.2311.90.ebuild +++ /dev/null @@ -1,659 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-client/chromium/chromium-42.0.2311.90.ebuild,v 1.4 2015/04/20 02:05:02 floppym Exp $ - -EAPI="5" -PYTHON_COMPAT=( python2_7 ) - -CHROMIUM_LANGS="am ar bg bn ca cs da de el en_GB es es_LA et fa fi fil fr gu he - 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 - sv sw ta te th tr uk vi zh_CN zh_TW" - -inherit check-reqs chromium eutils flag-o-matic multilib multiprocessing pax-utils \ - portability python-any-r1 readme.gentoo toolchain-funcs versionator virtualx - -DESCRIPTION="Open-source version of Google Chrome web browser" -HOMEPAGE="http://chromium.org/" -SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="bindist cups gnome gnome-keyring hidpi kerberos neon pic pulseaudio selinux +tcmalloc widevine" -RESTRICT="!bindist? ( bindist )" - -# Native Client binaries are compiled with different set of flags, bug #452066. -QA_FLAGS_IGNORED=".*\.nexe" - -# Native Client binaries may be stripped by the build system, which uses the -# right tools for it, bug #469144 . -QA_PRESTRIPPED=".*\.nexe" - -RDEPEND=">=app-accessibility/speech-dispatcher-0.8:= - app-arch/bzip2:= - app-arch/snappy:= - app-crypt/libsecret:= - cups? ( - dev-libs/libgcrypt:0= - >=net-print/cups-1.3.11:= - ) - >=dev-libs/elfutils-0.149 - dev-libs/expat:= - dev-libs/glib:= - dev-libs/icu:= - >=dev-libs/jsoncpp-0.5.0-r1:= - >=dev-libs/libevent-1.4.13:= - dev-libs/libxml2:=[icu] - dev-libs/libxslt:= - dev-libs/nspr:= - >=dev-libs/nss-3.14.3:= - dev-libs/re2:= - gnome? ( >=gnome-base/gconf-2.24.0:= ) - gnome-keyring? ( >=gnome-base/libgnome-keyring-3.12:= ) - >=media-libs/alsa-lib-1.0.19:= - media-libs/flac:= - media-libs/fontconfig:= - media-libs/freetype:= - media-libs/harfbuzz:=[icu(+)] - media-libs/libexif:= - >=media-libs/libjpeg-turbo-1.2.0-r1:= - media-libs/libpng:0= - >=media-libs/libwebp-0.4.0:= - media-libs/speex:= - pulseaudio? ( media-sound/pulseaudio:= ) - sys-apps/dbus:= - sys-apps/pciutils:= - >=sys-libs/libcap-2.22:= - sys-libs/zlib:=[minizip] - virtual/udev - x11-libs/cairo:= - x11-libs/gdk-pixbuf:= - x11-libs/gtk+:2= - x11-libs/libdrm - x11-libs/libX11:= - x11-libs/libXcomposite:= - x11-libs/libXcursor:= - x11-libs/libXdamage:= - x11-libs/libXext:= - x11-libs/libXfixes:= - >=x11-libs/libXi-1.6.0:= - x11-libs/libXinerama:= - x11-libs/libXrandr:= - x11-libs/libXrender:= - x11-libs/libXScrnSaver:= - x11-libs/libXtst:= - x11-libs/pango:= - kerberos? ( virtual/krb5 )" -DEPEND="${RDEPEND} - !arm? ( - dev-lang/yasm - ) - dev-lang/perl - dev-perl/JSON - >=dev-util/gperf-3.0.3 - dev-util/ninja - sys-apps/hwids[usb(+)] - >=sys-devel/bison-2.4.3 - sys-devel/flex - virtual/pkgconfig - widevine? ( www-plugins/chrome-binary-plugins[widevine] )" - # We build-dep on having widevine, because the patch - # below must extract the current version. - -# For nvidia-drivers blocker, see bug #413637 . -RDEPEND+=" - !=www-client/chromium-9999 - !<www-plugins/chrome-binary-plugins-37 - x11-misc/xdg-utils - virtual/opengl - virtual/ttf-fonts - selinux? ( sec-policy/selinux-chromium ) - tcmalloc? ( !<x11-drivers/nvidia-drivers-331.20 )" - -# Python dependencies. The DEPEND part needs to be kept in sync -# with python_check_deps. -DEPEND+=" $(python_gen_any_dep ' - dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}] - dev-python/jinja[${PYTHON_USEDEP}] - dev-python/ply[${PYTHON_USEDEP}] - dev-python/simplejson[${PYTHON_USEDEP}] -')" -python_check_deps() { - has_version "dev-python/beautifulsoup:python-2[${PYTHON_USEDEP}]" && \ - has_version "dev-python/jinja[${PYTHON_USEDEP}]" && \ - has_version "dev-python/ply[${PYTHON_USEDEP}]" && \ - has_version "dev-python/simplejson[${PYTHON_USEDEP}]" -} - -if ! has chromium_pkg_die ${EBUILD_DEATH_HOOKS}; then - EBUILD_DEATH_HOOKS+=" chromium_pkg_die"; -fi - -DISABLE_AUTOFORMATTING="yes" -DOC_CONTENTS=" -Some web pages may require additional fonts to display properly. -Try installing some of the following packages if some characters -are not displayed properly: -- media-fonts/arphicfonts -- media-fonts/bitstream-cyberbit -- media-fonts/droid -- media-fonts/ipamonafont -- media-fonts/ja-ipafonts -- media-fonts/takao-fonts -- media-fonts/wqy-microhei -- media-fonts/wqy-zenhei - -Depending on your desktop environment, you may need -to install additional packages to get icons on the Downloads page. - -For KDE, the required package is kde-base/oxygen-icons. - -For other desktop environments, try one of the following: -- x11-themes/gnome-icon-theme -- x11-themes/tango-icon-theme -" - -pkg_pretend() { - if [[ $(tc-getCC)$ == *gcc* ]] && \ - [[ $(gcc-major-version)$(gcc-minor-version) -lt 48 ]]; then - die 'At least gcc 4.8 is required, see bugs: #535730, #525374, #518668.' - fi - - # Check build requirements, bug #541816 . - CHECKREQS_DISK_BUILD="5G" - eshopts_push -s extglob - if is-flagq '-g?(gdb)?([1-9])'; then - CHECKREQS_DISK_BUILD="25G" - fi - eshopts_pop - check-reqs_pkg_pretend -} - -pkg_setup() { - if [[ "${SLOT}" == "0" ]]; then - CHROMIUM_SUFFIX="" - else - CHROMIUM_SUFFIX="-${SLOT}" - fi - CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser${CHROMIUM_SUFFIX}" - - # Make sure the build system will use the right python, bug #344367. - python-any-r1_pkg_setup - - chromium_suid_sandbox_check_kernel_config - - if use bindist; then - elog "bindist enabled: H.264 video support will be disabled." - else - elog "bindist disabled: Resulting binaries may not be legal to re-distribute." - fi -} - -src_prepare() { - # if ! use arm; then - # mkdir -p out/Release/gen/sdk/toolchain || die - # # Do not preserve SELinux context, bug #460892 . - # cp -a --no-preserve=context /usr/$(get_libdir)/nacl-toolchain-newlib \ - # out/Release/gen/sdk/toolchain/linux_x86_newlib || die - # touch out/Release/gen/sdk/toolchain/linux_x86_newlib/stamp.untar || die - # fi - - epatch "${FILESDIR}/${PN}-system-jinja-r7.patch" - epatch "${FILESDIR}/${PN}-libsecret-r0.patch" - - if use widevine; then - local WIDEVINE_VERSION="$(< "${ROOT}/usr/$(get_libdir)/chromium-browser/widevine.version")" - [[ -z $WIDEVINE_VERSION ]] && die "Could not determine Widevine version." - sed -e "s/@WIDEVINE_VERSION@/${WIDEVINE_VERSION}/" "${FILESDIR}/${PN}-widevine.patch" > "${T}/${PN}-widevine-${WIDEVINE_VERSION}.patch" - epatch "${T}/${PN}-widevine-${WIDEVINE_VERSION}.patch" - local WIDEVINE_SUPPORTED_ARCHS="x64 ia32" - local arch - for arch in $WIDEVINE_SUPPORTED_ARCHS; do - mkdir -p third_party/widevine/cdm/linux/$arch - cp "${ROOT}/usr/$(get_libdir)/chromium-browser/libwidevinecdm.so" third_party/widevine/cdm/widevine_cdm_*.h third_party/widevine/cdm/linux/$arch/ || die "Could not copy headers for Widevine." - done - fi - - epatch_user - - # Remove most bundled libraries. Some are still needed. - build/linux/unbundle/remove_bundled_libraries.py \ - 'base/third_party/dmg_fp' \ - 'base/third_party/dynamic_annotations' \ - 'base/third_party/icu' \ - 'base/third_party/nspr' \ - 'base/third_party/superfasthash' \ - 'base/third_party/symbolize' \ - 'base/third_party/valgrind' \ - 'base/third_party/xdg_mime' \ - 'base/third_party/xdg_user_dirs' \ - 'breakpad/src/third_party/curl' \ - 'chrome/third_party/mozilla_security_manager' \ - 'courgette/third_party' \ - 'crypto/third_party/nss' \ - 'net/third_party/mozilla_security_manager' \ - 'net/third_party/nss' \ - 'third_party/WebKit' \ - 'third_party/analytics' \ - 'third_party/angle' \ - 'third_party/angle/src/third_party/compiler' \ - 'third_party/brotli' \ - 'third_party/cacheinvalidation' \ - 'third_party/cld_2' \ - 'third_party/cros_system_api' \ - 'third_party/cython/python_flags.py' \ - 'third_party/dom_distiller_js' \ - 'third_party/dom_distiller_js/package/proto_gen/third_party/dom_distiller_js' \ - 'third_party/ffmpeg' \ - 'third_party/fips181' \ - 'third_party/flot' \ - 'third_party/google_input_tools' \ - 'third_party/google_input_tools/third_party/closure_library' \ - 'third_party/google_input_tools/third_party/closure_library/third_party/closure' \ - 'third_party/hunspell' \ - 'third_party/iccjpeg' \ - 'third_party/jstemplate' \ - 'third_party/khronos' \ - 'third_party/leveldatabase' \ - 'third_party/libaddressinput' \ - 'third_party/libjingle' \ - 'third_party/libphonenumber' \ - 'third_party/libsrtp' \ - 'third_party/libudev' \ - 'third_party/libusb' \ - 'third_party/libvpx' \ - 'third_party/libvpx/source/libvpx/third_party/x86inc' \ - 'third_party/libxml/chromium' \ - 'third_party/libXNVCtrl' \ - 'third_party/libyuv' \ - 'third_party/lss' \ - 'third_party/lzma_sdk' \ - 'third_party/mesa' \ - 'third_party/modp_b64' \ - 'third_party/mojo' \ - 'third_party/mt19937ar' \ - 'third_party/npapi' \ - 'third_party/openmax_dl' \ - 'third_party/opus' \ - 'third_party/ots' \ - 'third_party/pdfium' \ - 'third_party/pdfium/third_party/base' \ - 'third_party/pdfium/third_party/bigint' \ - 'third_party/pdfium/third_party/freetype' \ - 'third_party/polymer' \ - 'third_party/protobuf' \ - 'third_party/qcms' \ - 'third_party/readability' \ - 'third_party/sfntly' \ - 'third_party/skia' \ - 'third_party/smhasher' \ - 'third_party/sqlite' \ - 'third_party/tcmalloc' \ - 'third_party/trace-viewer' \ - 'third_party/trace-viewer/third_party/components/polymer' \ - 'third_party/trace-viewer/third_party/d3' \ - 'third_party/trace-viewer/third_party/gl-matrix' \ - 'third_party/trace-viewer/third_party/jszip' \ - 'third_party/trace-viewer/third_party/tvcm' \ - 'third_party/trace-viewer/third_party/tvcm/third_party/beautifulsoup/polymer_soup.py' \ - 'third_party/undoview' \ - 'third_party/usrsctp' \ - 'third_party/web-animations-js' \ - 'third_party/webdriver' \ - 'third_party/webrtc' \ - 'third_party/widevine' \ - 'third_party/x86inc' \ - 'third_party/zlib/google' \ - 'url/third_party/mozilla' \ - 'v8/src/third_party/fdlibm' \ - 'v8/src/third_party/kernel' \ - 'v8/src/third_party/valgrind' \ - --do-remove || die -} - -src_configure() { - local myconf="" - - # Never tell the build system to "enable" SSE2, it has a few unexpected - # additions, bug #336871. - myconf+=" -Ddisable_sse2=1" - - # Disable nacl, we can't build without pnacl (http://crbug.com/269560). - myconf+=" -Ddisable_nacl=1" - - # Disable glibc Native Client toolchain, we don't need it (bug #417019). - # myconf+=" -Ddisable_glibc=1" - - # TODO: also build with pnacl - # myconf+=" -Ddisable_pnacl=1" - - # It would be awkward for us to tar the toolchain and get it untarred again - # during the build. - # myconf+=" -Ddisable_newlib_untar=1" - - # Make it possible to remove third_party/adobe. - echo > "${T}/flapper_version.h" || die - myconf+=" -Dflapper_version_h_file=${T}/flapper_version.h" - - # Use system-provided libraries. - # TODO: use_system_hunspell (upstream changes needed). - # TODO: use_system_libsrtp (bug #459932). - # TODO: use_system_libvpx (http://crbug.com/347823). - # TODO: use_system_libusb (http://crbug.com/266149). - # TODO: use_system_opus (https://code.google.com/p/webrtc/issues/detail?id=3077). - # TODO: use_system_protobuf (bug #525560). - # TODO: use_system_ssl (http://crbug.com/58087). - # TODO: use_system_sqlite (http://crbug.com/22208). - myconf+=" - -Duse_system_bzip2=1 - -Duse_system_flac=1 - -Duse_system_harfbuzz=1 - -Duse_system_icu=1 - -Duse_system_jsoncpp=1 - -Duse_system_libevent=1 - -Duse_system_libjpeg=1 - -Duse_system_libpng=1 - -Duse_system_libwebp=1 - -Duse_system_libxml=1 - -Duse_system_libxslt=1 - -Duse_system_minizip=1 - -Duse_system_nspr=1 - -Duse_system_re2=1 - -Duse_system_snappy=1 - -Duse_system_speex=1 - -Duse_system_xdg_utils=1 - -Duse_system_zlib=1" - - # Needed for system icu - we don't need additional data files. - myconf+=" -Dicu_use_data_file_flag=0" - - # TODO: patch gyp so that this arm conditional is not needed. - if ! use arm; then - myconf+=" - -Duse_system_yasm=1" - fi - - # Optional dependencies. - # TODO: linux_link_kerberos, bug #381289. - myconf+=" - $(gyp_use cups) - $(gyp_use gnome use_gconf) - $(gyp_use gnome-keyring use_gnome_keyring) - $(gyp_use gnome-keyring linux_link_gnome_keyring) - $(gyp_use hidpi enable_hidpi) - $(gyp_use kerberos) - $(gyp_use pulseaudio) - $(gyp_use tcmalloc use_allocator tcmalloc none)" - - # Use explicit library dependencies instead of dlopen. - # This makes breakages easier to detect by revdep-rebuild. - myconf+=" - -Dlinux_link_gsettings=1 - -Dlinux_link_libpci=1 - -Dlinux_link_libspeechd=1 - -Dlibspeechd_h_prefix=speech-dispatcher/" - - # TODO: use the file at run time instead of effectively compiling it in. - myconf+=" - -Dusb_ids_path=/usr/share/misc/usb.ids" - - # Save space by removing DLOG and DCHECK messages (about 6% reduction). - myconf+=" - -Dlogging_like_official_build=1" - - if [[ $(tc-getCC) == *clang* ]]; then - myconf+=" -Dclang=1" - else - myconf+=" -Dclang=0" - fi - - # Never use bundled gold binary. Disable gold linker flags for now. - # Do not use bundled clang. - myconf+=" - -Dclang_use_chrome_plugins=0 - -Dhost_clang=0 - -Dlinux_use_bundled_binutils=0 - -Dlinux_use_bundled_gold=0 - -Dlinux_use_gold_flags=0" - - # Always support proprietary codecs. - myconf+=" -Dproprietary_codecs=1" - - ffmpeg_branding="Chromium" - if ! use bindist; then - # Enable H.264 support in bundled ffmpeg. - ffmpeg_branding="Chrome" - fi - myconf+=" -Dffmpeg_branding=${ffmpeg_branding}" - - # Set up Google API keys, see http://www.chromium.org/developers/how-tos/api-keys . - # Note: these are for Gentoo use ONLY. For your own distribution, - # please get your own set of keys. Feel free to contact chromium@gentoo.org - # for more info. - myconf+=" -Dgoogle_api_key=AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc - -Dgoogle_default_client_id=329227923882.apps.googleusercontent.com - -Dgoogle_default_client_secret=vgKG0NNv7GoDpbtoFNLxCUXu" - - local myarch="$(tc-arch)" - if [[ $myarch = amd64 ]] ; then - target_arch=x64 - ffmpeg_target_arch=x64 - elif [[ $myarch = x86 ]] ; then - target_arch=ia32 - ffmpeg_target_arch=ia32 - elif [[ $myarch = arm ]] ; then - target_arch=arm - ffmpeg_target_arch=$(usex neon arm-neon arm) - # TODO: re-enable NaCl (NativeClient). - local CTARGET=${CTARGET:-${CHOST}} - if [[ $(tc-is-softfloat) == "no" ]]; then - - myconf+=" -Darm_float_abi=hard" - fi - filter-flags "-mfpu=*" - use neon || myconf+=" -Darm_fpu=${ARM_FPU:-vfpv3-d16}" - - if [[ ${CTARGET} == armv[78]* ]]; then - myconf+=" -Darmv7=1" - else - myconf+=" -Darmv7=0" - fi - myconf+=" -Dsysroot= - $(gyp_use neon arm_neon) - -Ddisable_nacl=1" - else - die "Failed to determine target arch, got '$myarch'." - fi - - myconf+=" -Dtarget_arch=${target_arch}" - - # Make sure that -Werror doesn't get added to CFLAGS by the build system. - # Depending on GCC version the warnings are different and we don't want - # the build to fail because of that. - myconf+=" -Dwerror=" - - # Disable fatal linker warnings, bug 506268. - myconf+=" -Ddisable_fatal_linker_warnings=1" - - # Avoid CFLAGS problems, bug #352457, bug #390147. - if ! use custom-cflags; then - replace-flags "-Os" "-O2" - strip-flags - - # Prevent linker from running out of address space, bug #471810 . - if use x86; then - filter-flags "-g*" - fi - - # Prevent libvpx build failures. Bug 530248, 544702, 546984. - if [[ ${myarch} == amd64 || ${myarch} == x86 ]]; then - filter-flags -mno-mmx -mno-sse2 -mno-ssse3 -mno-sse4.1 -mno-avx2 - fi - fi - - # Make sure the build system will use the right tools, bug #340795. - tc-export AR CC CXX RANLIB - - # Tools for building programs to be executed on the build system, bug #410883. - export AR_host=$(tc-getBUILD_AR) - export CC_host=$(tc-getBUILD_CC) - export CXX_host=$(tc-getBUILD_CXX) - export LD_host=${CXX_host} - - # Bug 491582. - export TMPDIR="${WORKDIR}/temp" - mkdir -m 755 "${TMPDIR}" || die - - local build_ffmpeg_args="" - if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then - build_ffmpeg_args+=" --disable-asm" - fi - - # Re-configure bundled ffmpeg. See bug #491378 for example reasons. - einfo "Configuring bundled ffmpeg..." - pushd third_party/ffmpeg > /dev/null || die - chromium/scripts/build_ffmpeg.py linux ${ffmpeg_target_arch} \ - --branding ${ffmpeg_branding} -- ${build_ffmpeg_args} || die - chromium/scripts/copy_config.sh || die - chromium/scripts/generate_gyp.py || die - popd > /dev/null || die - - third_party/libaddressinput/chromium/tools/update-strings.py || die - - einfo "Configuring Chromium..." - build/linux/unbundle/replace_gyp_files.py ${myconf} || die - egyp_chromium ${myconf} || die -} - -eninja() { - if [[ -z ${NINJAOPTS+set} ]]; then - local jobs=$(makeopts_jobs) - local loadavg=$(makeopts_loadavg) - - if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then - NINJAOPTS+=" -j ${jobs}" - fi - if [[ ${MAKEOPTS} == *-l* && ${loadavg} != 999 ]]; then - NINJAOPTS+=" -l ${loadavg}" - fi - fi - set -- ninja -v ${NINJAOPTS} "$@" - echo "$@" - "$@" -} - -src_compile() { - local ninja_targets="chrome chrome_sandbox chromedriver" - - # Build mksnapshot and pax-mark it. - eninja -C out/Release mksnapshot || die - pax-mark m out/Release/mksnapshot - - # Even though ninja autodetects number of CPUs, we respect - # user's options, for debugging with -j 1 or any other reason. - eninja -C out/Release ${ninja_targets} || die - - pax-mark m out/Release/chrome -} - -src_install() { - exeinto "${CHROMIUM_HOME}" - doexe out/Release/chrome || die - - newexe out/Release/chrome_sandbox chrome-sandbox || die - fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" - - doexe out/Release/chromedriver || die - - # if ! use arm; then - # doexe out/Release/nacl_helper{,_bootstrap} || die - # insinto "${CHROMIUM_HOME}" - # doins out/Release/nacl_irt_*.nexe || die - # doins out/Release/libppGoogleNaClPluginChrome.so || die - # fi - - local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" ) - if [[ -n ${CHROMIUM_SUFFIX} ]]; then - sedargs+=( - -e "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" - -e "s:chromium.desktop:chromium${CHROMIUM_SUFFIX}.desktop:g" - -e "s:plugins:plugins --user-data-dir=\${HOME}/.config/chromium${CHROMIUM_SUFFIX}:" - ) - fi - sed "${sedargs[@]}" "${FILESDIR}/chromium-launcher-r3.sh" > chromium-launcher.sh || die - doexe chromium-launcher.sh - - # It is important that we name the target "chromium-browser", - # xdg-utils expect it; bug #355517. - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium-browser${CHROMIUM_SUFFIX} || die - # keep the old symlink around for consistency - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium${CHROMIUM_SUFFIX} || die - - dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver${CHROMIUM_SUFFIX} || die - - # Allow users to override command-line options, bug #357629. - dodir /etc/chromium || die - insinto /etc/chromium - newins "${FILESDIR}/chromium.default" "default" || die - - pushd out/Release/locales > /dev/null || die - chromium_remove_language_paks - popd - - insinto "${CHROMIUM_HOME}" - doins out/Release/*.bin || die - doins out/Release/*.pak || die - - doins -r out/Release/locales || die - doins -r out/Release/resources || die - - newman out/Release/chrome.1 chromium${CHROMIUM_SUFFIX}.1 || die - newman out/Release/chrome.1 chromium-browser${CHROMIUM_SUFFIX}.1 || die - - doexe out/Release/libffmpegsumo.so || die - if use widevine; then - doexe out/Release/libwidevinecdmadapter.so || die - fi - - # Install icons and desktop entry. - local branding size - for size in 16 22 24 32 48 64 128 256 ; do - case ${size} in - 16|32) branding="chrome/app/theme/default_100_percent/chromium" ;; - *) branding="chrome/app/theme/chromium" ;; - esac - newicon -s ${size} "${branding}/product_logo_${size}.png" \ - chromium-browser${CHROMIUM_SUFFIX}.png - done - - local mime_types="text/html;text/xml;application/xhtml+xml;" - mime_types+="x-scheme-handler/http;x-scheme-handler/https;" # bug #360797 - mime_types+="x-scheme-handler/ftp;" # bug #412185 - mime_types+="x-scheme-handler/mailto;x-scheme-handler/webcal;" # bug #416393 - make_desktop_entry \ - chromium-browser${CHROMIUM_SUFFIX} \ - "Chromium${CHROMIUM_SUFFIX}" \ - chromium-browser${CHROMIUM_SUFFIX} \ - "Network;WebBrowser" \ - "MimeType=${mime_types}\nStartupWMClass=chromium-browser" - sed -e "/^Exec/s/$/ %U/" -i "${ED}"/usr/share/applications/*.desktop || die - - # Install GNOME default application entry (bug #303100). - if use gnome; then - dodir /usr/share/gnome-control-center/default-apps || die - insinto /usr/share/gnome-control-center/default-apps - newins "${FILESDIR}"/chromium-browser.xml chromium-browser${CHROMIUM_SUFFIX}.xml || die - if [[ "${CHROMIUM_SUFFIX}" != "" ]]; then - sed "s:chromium-browser:chromium-browser${CHROMIUM_SUFFIX}:g" -i \ - "${ED}"/usr/share/gnome-control-center/default-apps/chromium-browser${CHROMIUM_SUFFIX}.xml - fi - fi - - readme.gentoo_create_doc -} - -pkg_postinst() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update - readme.gentoo_print_elog -} |