From a5332b59346f7cbf0fdbd148b54aa8a84aaf8190 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 10 Nov 2017 00:43:02 +0000 Subject: gentoo resync : 10.11.2017 --- www-client/chromium/Manifest | 15 +- www-client/chromium/chromium-62.0.3202.62.ebuild | 653 -------------------- www-client/chromium/chromium-62.0.3202.75.ebuild | 2 +- www-client/chromium/chromium-62.0.3202.89.ebuild | 653 ++++++++++++++++++++ www-client/chromium/chromium-63.0.3223.8.ebuild | 653 -------------------- www-client/chromium/chromium-63.0.3239.30.ebuild | 656 ++++++++++++++++++++ www-client/chromium/chromium-64.0.3253.3.ebuild | 657 +++++++++++++++++++++ .../chromium-64.0.3253.3-gpu_lists_version.h.patch | 11 + .../chromium/files/chromium-math-includes-r0.patch | 31 + www-client/chromium/files/chromium-webrtc-r0.patch | 34 ++ www-client/google-chrome-beta/Manifest | 4 +- .../google-chrome-beta-63.0.3239.30.ebuild | 154 ----- .../google-chrome-beta-63.0.3239.40.ebuild | 154 +++++ www-client/google-chrome-unstable/Manifest | 4 +- .../google-chrome-unstable-64.0.3253.3.ebuild | 154 ----- .../google-chrome-unstable-64.0.3260.2.ebuild | 154 +++++ www-client/google-chrome/Manifest | 4 +- .../google-chrome-62.0.3202.75.ebuild | 154 ----- .../google-chrome-62.0.3202.89.ebuild | 154 +++++ www-client/opera/Manifest | 6 +- www-client/opera/opera-48.0.2685.50.ebuild | 93 --- www-client/opera/opera-48.0.2685.52-r1.ebuild | 109 ---- www-client/opera/opera-49.0.2725.34.ebuild | 109 ++++ www-client/qupzilla/Manifest | 2 + www-client/qupzilla/qupzilla-2.2.1.ebuild | 115 ++++ www-client/qutebrowser/Manifest | 4 +- www-client/qutebrowser/qutebrowser-0.9.1.ebuild | 76 --- www-client/qutebrowser/qutebrowser-1.0.3.ebuild | 76 +++ www-client/vivaldi-snapshot/Manifest | 13 +- .../vivaldi-snapshot-1.12.955.3_p1-libffmpeg.patch | 27 - .../vivaldi-snapshot-1.13.1002.4_p1.ebuild | 118 ---- .../vivaldi-snapshot-1.13.1008.11_p1.ebuild | 118 ++++ .../vivaldi-snapshot-1.13.1008.3_p1.ebuild | 118 ++++ .../vivaldi-snapshot-1.13.998.3_p1-r1.ebuild | 118 ---- www-client/vivaldi/Manifest | 8 +- www-client/vivaldi/vivaldi-1.12.955.38_p1.ebuild | 114 ---- .../vivaldi/vivaldi-1.12.955.42_p1-r1.ebuild | 128 ---- www-client/vivaldi/vivaldi-1.12.955.48_p1.ebuild | 2 +- 38 files changed, 3071 insertions(+), 2584 deletions(-) delete mode 100644 www-client/chromium/chromium-62.0.3202.62.ebuild create mode 100644 www-client/chromium/chromium-62.0.3202.89.ebuild delete mode 100644 www-client/chromium/chromium-63.0.3223.8.ebuild create mode 100644 www-client/chromium/chromium-63.0.3239.30.ebuild create mode 100644 www-client/chromium/chromium-64.0.3253.3.ebuild create mode 100644 www-client/chromium/files/chromium-64.0.3253.3-gpu_lists_version.h.patch create mode 100644 www-client/chromium/files/chromium-math-includes-r0.patch create mode 100644 www-client/chromium/files/chromium-webrtc-r0.patch delete mode 100644 www-client/google-chrome-beta/google-chrome-beta-63.0.3239.30.ebuild create mode 100644 www-client/google-chrome-beta/google-chrome-beta-63.0.3239.40.ebuild delete mode 100644 www-client/google-chrome-unstable/google-chrome-unstable-64.0.3253.3.ebuild create mode 100644 www-client/google-chrome-unstable/google-chrome-unstable-64.0.3260.2.ebuild delete mode 100644 www-client/google-chrome/google-chrome-62.0.3202.75.ebuild create mode 100644 www-client/google-chrome/google-chrome-62.0.3202.89.ebuild delete mode 100644 www-client/opera/opera-48.0.2685.50.ebuild delete mode 100644 www-client/opera/opera-48.0.2685.52-r1.ebuild create mode 100644 www-client/opera/opera-49.0.2725.34.ebuild create mode 100644 www-client/qupzilla/qupzilla-2.2.1.ebuild delete mode 100644 www-client/qutebrowser/qutebrowser-0.9.1.ebuild create mode 100644 www-client/qutebrowser/qutebrowser-1.0.3.ebuild delete mode 100644 www-client/vivaldi-snapshot/files/vivaldi-snapshot-1.12.955.3_p1-libffmpeg.patch delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1002.4_p1.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.11_p1.ebuild create mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.3_p1.ebuild delete mode 100644 www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1-r1.ebuild delete mode 100644 www-client/vivaldi/vivaldi-1.12.955.38_p1.ebuild delete mode 100644 www-client/vivaldi/vivaldi-1.12.955.42_p1-r1.ebuild (limited to 'www-client') diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest index 48706f89c082..fc556d94865b 100644 --- a/www-client/chromium/Manifest +++ b/www-client/chromium/Manifest @@ -1,3 +1,4 @@ +AUX chromium-64.0.3253.3-gpu_lists_version.h.patch 316 SHA256 a7064148a882febd22af5685860065dbefd84a833906b6ba0269e0b5cd306d1c SHA512 1cf0aecc8349c1ce56e409b1958021030c608966280fd693c5bf72063fbd54725e338b68b07f651a286e1cc5b6acce169b58ccf49c5b4e2379f65da8c25d5ecb WHIRLPOOL 6ff5d0356b89dc26619a293cede14536bde960b13f9378440941b430cf008d1361ffd3aa7ed772912de3af189baf727c433b946b4df383bb829a1a4d9b57bd15 AUX chromium-FORTIFY_SOURCE-r2.patch 1206 SHA256 fa3f703d599051135c5be24b81dfcb23190bb282db73121337ac76bc9638e8a5 SHA512 2d78092a700788c74b86db636af303fdb63a28ce5b7b0431dd81f6b7ce501e5d0234a6327a1b49bc23e1c1d00ba98fd5334dd07d9a20bb0d81d1a4ca4487a26c WHIRLPOOL e7e03b5df76a064c369637a470b955d7a31c269982094007e8bf3df1659ab8eb906a8318fbbb0fe10089c6ad8025ad4b1270f724d922d0b61f0d00903793d9cf AUX chromium-atk-r1.patch 533 SHA256 fc0e9abb77b6f8e21a7601ff53f267a854736d711b530be5bbd80d976678e98d SHA512 5722c571ffc384e0e226342d170e29109bf45761dcd7202b2fe6572795e0a04bd0521b1120eb2247c2a84bed0e63f47a71d25802528992ee4f976b348fb5c8f6 WHIRLPOOL ee0afda2e5d267b39ab298dd5389c51092f6eba2b4e9e0f6b95e4af9ef28d2b680b02049e14957f6d4ce2e91bb63a73dd97b59a2b28ee2d23b68849ff90b26f7 AUX chromium-browser.xml 407 SHA256 bc039012f8677468e9ce5df825f9d8096be6deb5813031c86a087c88105096ff SHA512 b767fb4fd1925029d95560fc14cb7ab12ae43b2fe923e92d75e733b9723cbe1dcdf6df041a2b62554e98b79b47ef3f6028c773e72e6fd53166a021d49657aeca WHIRLPOOL be37cd2e7d02c510e84c484f32ab6ab2e1f38a2a03c0cdbc9b6b485d64feaf79944d8ce097f0838ae9bc71c42401b633350b847ad316b8e23cf5614e3913e7ec @@ -12,18 +13,22 @@ AUX chromium-gn-bootstrap-r17.patch 2896 SHA256 d81319f168dad0e411c8e810f73daa2f AUX chromium-gn-bootstrap-r20.patch 947 SHA256 39b7a0a3eb805d7e025d05d4cb78123076393561d429b27987255c4fb3ffc464 SHA512 b333dc44cd1511f74ae474becc4a1758011a7ae94f0fd6b0bec2b2c018fa8b785276374f23cbe2a3ac670bc1d2af30fd894daef86ed202dac689ec3dcd267aac WHIRLPOOL 0b045bfc372d69fb5ac12f35b79d55fbda961fda3af16b34d107d59a880596f1ba212ac378f30f9d3afa29f37c42126dae6c49d77f3a5b5a50ba12145bf248d2 AUX chromium-gn-bootstrap-r21.patch 1421 SHA256 01f0bca7338cd983e8dfe6026d9401fbbcf1270e539597a0de8216f524027753 SHA512 b90520e4c97f709058d00e6f4f0067d6d8df0cbed13e078a38d0c5d8e38dee2a51bf73f4f5c2fed7f3b7a1dccc35af6a6c7f40e4e845582e243a27464c801844 WHIRLPOOL 3b513bfeb02fa76336ccac91362ca985ce248c85ea11f6eab0eb9afdb0ea8204349a0dd0f6cc50fa54854f69e3505894a35a8b7a9cc7e061c700c0596f74d25f AUX chromium-launcher-r3.sh 1199 SHA256 9bceb14a6c171754b77bcc7e6095285fcb58a9ca10e2e4a9c9e13dc561fc0c01 SHA512 f1909314ae74985c85740d26c9bfab694f3202de8ccc392a1c4ec5c8760db21b6cc46146c78a9abebd09e6d24f37e19466f0c4d2d61815400b48d859f8ce154d WHIRLPOOL faa7eb72a4a5902299925ab4c13308299fccfbdf34a417ce89fa800cfcd6ebf0a3a456db1e8625e205be445d4ad2718db6cf6d581b266bb9227fb03506a67220 +AUX chromium-math-includes-r0.patch 1206 SHA256 64225e1a8389d867314c280412074457710fa5680cdc2a7654d75b96c2486f78 SHA512 4a14315fd87ba269e59dda83c9cdf760cff27934974db13bb40f31c8750f4ea6b4b325c7950469278ac82bd67fa770e58a39d712d0b6a75d2befde90b2a267b7 WHIRLPOOL 895d673c0ff5a36b7ee46029110e9d844acdcfda17bad119c24850044b25749c360c3fcaf543f4d11c7f93077dcda3539f3d9d8555e9f714bedafde1ee152631 AUX chromium-mojo-dep.patch 2170 SHA256 fe298059b6937b2816beba8660d42f8584bdc56c12849ac55d32e4cd6d8c4518 SHA512 1068c130eb1a679ecb225caf2b430003c5485dfa12d465fa7b42f2c127d8113a1f4557be20ce93f4921ca52e50d90e04d5cb9a6a4b6115c32488936aa51cdf56 WHIRLPOOL 483024165231e1c7c4e551c92d2230c49f6f1b2b85c9213b510a6ae8f5367a7c2f72594d8840856924ae538697b16dc8e11c5c506b3da2fcc87729c5f74e0a8f +AUX chromium-webrtc-r0.patch 972 SHA256 bcb2f4588cf5dcf75cde855c7431e94fdcc34bdd68b876a90f65ab9938594562 SHA512 325e269e6c24e9d3103ae360653e0bda764356655534be08cfe308d8c63ed8c93c80c09f58d023afbc6e141f7cbe5b86f7983c57b8f6c794b7675d332439b051 WHIRLPOOL 58cfed41cb5c4291647de8bef8b2e3555256681fb709185e34f9394c42f79ee81ac7b0f55b489196a7510f092f603705ba4e78801b2792451d722459218b5dc1 AUX chromium-widevine-r1.patch 428 SHA256 c05800f823b3e9522be70645de6a9b482856030f43fd56273bb4f0bbc319d158 SHA512 fe6b912bd8b3993194f71bef229e57d4c24f9adcf697172eb3bc5ee8d38967bf5fe5b964e9d89d23960d25cd3a6e53ce7714f81f0df1881758b611a66375e32a WHIRLPOOL 2d2ff0b11c3062ef4c4873221d986dcd6018130d687d487cd32e4912e957332e12165114a69e8e86919338cfac2ad61dd521637fe4be6d7b3b3deed21b008365 AUX chromium.default 148 SHA256 bdac1d32025d53158f96c8ad5bd71a58abdcf02f3a8759a43154e97e812fcdd1 SHA512 0d4849e03592fb58b05e62a43021eca7e61615616c8907c3b2e445402e03adaf9e8fa25b0a745d6c31eb037456215cc02b59e345a3a06d932e76cf990c92d739 WHIRLPOOL 2e51e864134426668cc73fc5081c35288677d8ce855b07dfbd3413397f9c43148a6d6096a9b7a617511388f87623a3ce7f3387103202db53876a74bccb9dbe6c AUX toolchain/BUILD.gn 799 SHA256 7b42f63ac928b7d1ff8e4d91cc620e944d581beb26c64fe7e1560f10a9c5ad94 SHA512 8da134d99f050ecdecb06d4ec34287747cd9ee57ccbf6fe334b034812fb95fdee3af8421b10be3ee4f71020ca4029de626cd2770865b1e527bfac966d6d8ea2d WHIRLPOOL 7d9b145da023b223eaf0a9c6907a42ece9f880b83abcc4ef45624436901bc21fefe5f4823e67350a07b60e2ea4718ee4bf21542264fd2c7d1f6ba6b8cbc3daa0 -DIST chromium-62.0.3202.62.tar.xz 517105788 SHA256 e8df3150386729ddcb4971636627e54815ad447be5f122201e310f5bb0bcc362 SHA512 26296ac1cddfe087e8984b12b4916b9a87b08fc75875900441c9e4abd8b562bb622ac1a34bc9fb2aecf22d5a424ef1247dc694b9e6bdd0ea8b32397f53794723 WHIRLPOOL f17df2fd505a961dcc3dc634243dd11a7af09543325a0e59e2f322488c877af678840652e8308f4ea6c75c3d77fa73156be423007be76feaa9291042bbc63614 DIST chromium-62.0.3202.75.tar.xz 517136048 SHA256 49cdfe457bcb941b56c13a75bbe2ff394fcb5baa8a49c9b470835fad60dd904c SHA512 1108ac0b383ac654b5b6fb42faee76621d3c476fcf1b6469f498023be7272668f46f7081f74b2a4079ff45dc3c77b225cea7758a11677b0ba5a478e1d8bac87b WHIRLPOOL 0bcb844ec55469ff293672e075dc8bbf4b93809048fc8e5235334dea06e087c91286ba023831ac5254b27241146a06fd33360ef540f6a37cd7092763cc55ab09 -DIST chromium-63.0.3223.8.tar.xz 541587956 SHA256 bced462e16a28ff0a3896539e6c7f72e76cb7ba16640a6cac9a533ec4b8f5ee5 SHA512 6ca0efac47adee14b04cba312397b80aeaed1b0ce9bee427c508c44636ab9a1668f743bd3939d83417129d7e83c38c2f95b72c502c6d834056cf7477ef8b4de8 WHIRLPOOL b9f526eec3626b93f2541461b9b3a79bef283de62d99e30c209859e686db8e09ed327f90d0811703d699e9813cb86e0002be93fa42372e65afef1c96b8c91d35 +DIST chromium-62.0.3202.89.tar.xz 517100784 SHA256 9f79760dc22f7183602a07af3d37d2226bd63ab0ca7163d88ac0d81982de9469 SHA512 11ed71d2c9ebf82c9b704111d85d01c5600fc1caeb66e0dfaca172b20bb357817d717b3bcc13f704072b77550fa7fa74f990725b1d7d85d4d2b82cc1baec9578 WHIRLPOOL f1a5acf70285df4082cb1527751c65b02b6019b3c5c4c2384f8cdbd50e3255bc66bd8a1080b2e662facbcc111b10089743819a4ea2b88a862d4429cc624b0963 DIST chromium-63.0.3230.0.tar.xz 558852780 SHA256 97daa90a6f0ba7dc49a168cbf9c40896e621fb0352ab6de1d2fa428bb63ab64a SHA512 b0aa9a42df303bc7ff412dec30b3bfed292ae39cb5e0f705f28eeb7a60d6125b9cecef7e3ab7798b2ca091ec71215fa5639def6b867c9fdb7a9a85c9b42323b3 WHIRLPOOL 1b9e346018c7056fce3f844d37b69e98529c9dc3ae04bdf07378c7de568d295814a42aa133c463a3be8d22a39b5f62ec69f679ea5dca3fe7e37a15215932c794 -EBUILD chromium-62.0.3202.62.ebuild 19510 SHA256 57744a47ea2207e8146255b0c4c579d0a722883e562b6a16f5da16a3d17d3599 SHA512 6e7354e10e4489149ca84c05a07308beae10fe1fb1172302b0aec071878cf8cbce20ba75c8bab61a02aa87748a982dee81a077f7b11b987b5439626a0d773dab WHIRLPOOL bf74f474780002e8a7c62b9ff9639bd76c9bdb978f9cdf4ec38d3781690e2e1bbd3e7e0b4845ef09bd4a248c9a538c8fce04e09c93c14f44253ab7060d41ba1b -EBUILD chromium-62.0.3202.75.ebuild 19510 SHA256 57744a47ea2207e8146255b0c4c579d0a722883e562b6a16f5da16a3d17d3599 SHA512 6e7354e10e4489149ca84c05a07308beae10fe1fb1172302b0aec071878cf8cbce20ba75c8bab61a02aa87748a982dee81a077f7b11b987b5439626a0d773dab WHIRLPOOL bf74f474780002e8a7c62b9ff9639bd76c9bdb978f9cdf4ec38d3781690e2e1bbd3e7e0b4845ef09bd4a248c9a538c8fce04e09c93c14f44253ab7060d41ba1b -EBUILD chromium-63.0.3223.8.ebuild 19488 SHA256 87be09e2139856c5233d2e74315f7549e79605da663c6ba2e8264dafd1e48720 SHA512 de8e2b69f2dcffd0edaddb4c3aaa5689c959bc9b74b68e0bacf40aa8d32295f116b3e55b389e648a368c692a366a8d6ec5926b0e4794dc41c7ff89408f2238ab WHIRLPOOL da731abfa0d5b286578bee83fd14eb39c0ae537911ad089150a6afdf149439ac1210c3f47f0ceef31fe30b5759b9fac34b358cc4b75948e3972dbf4bd0bcc6fd +DIST chromium-63.0.3239.30.tar.xz 561111084 SHA256 ab210326029213eda0290db71f6ddbdf5c42e2d94c3461dee094637a34571219 SHA512 b6b89e3464b4dbef54cfe5971255bf4cf96b8c984a2a82d7f4f66e3aecaf5a0a3c72ad827127223b3448c2c2ffad3fe1b1546266ec9544838b758ac3d9b454c8 WHIRLPOOL 1a673b4060cc757e190ea376bb0cff2e8222c91f30a3627ba39b3fed0c534bced213fa3bba06614aacf2814996fb949bb55bd06d549e74f70af7002aa5796ee7 +DIST chromium-64.0.3253.3.tar.xz 567976356 SHA256 6abe5b8ea147953c9d8bae72e52b4984f1a0f718e97bc578f0250055815ec4cd SHA512 fd0307337eec5513d73c14a0d8bf494d87e1a658c48585afbf7d0c08314297bf28825ee99bbeab95ccaae8a0e5b1536794c3b4c94f996ba0a4a217cdbc224267 WHIRLPOOL 78a44979475fda90087a164a5fa7e082576d344a103536c4c62cc4f1e4d3b6a4681005b9165ff020aff179bd3b58195c518c1fa32fb5f1e7b95548c5ae28e9cb +EBUILD chromium-62.0.3202.75.ebuild 19510 SHA256 e93b97ee0a97a458be80297ebe6729063603803119235cfa6234a27a27215f48 SHA512 71fb4be5db3cc217630bf2f82ba458038d693981822fef22f104e9f534b332bfea35e2bd72d245c46bb6ce76f816fc13ca8e7cc0426bb1f03d4fa74565b02090 WHIRLPOOL 63f54dbb654b1e3c58eb40029df5e735d94d1472799e959d65ce5fa89fded35fc874312d67207bc3310e9ce11002549e3d69d49fa9ae1af7af9c2727e3f2cd7a +EBUILD chromium-62.0.3202.89.ebuild 19510 SHA256 e93b97ee0a97a458be80297ebe6729063603803119235cfa6234a27a27215f48 SHA512 71fb4be5db3cc217630bf2f82ba458038d693981822fef22f104e9f534b332bfea35e2bd72d245c46bb6ce76f816fc13ca8e7cc0426bb1f03d4fa74565b02090 WHIRLPOOL 63f54dbb654b1e3c58eb40029df5e735d94d1472799e959d65ce5fa89fded35fc874312d67207bc3310e9ce11002549e3d69d49fa9ae1af7af9c2727e3f2cd7a EBUILD chromium-63.0.3230.0.ebuild 19611 SHA256 8123136fa657757dc97e34d1528c8bdeb55be7e932d885ff8e108d2a74465cee SHA512 9104874627988e7d946ac804589399f0e688aa0101da0b00137cc46a3eb15f0b64f09157af8748a93170728672af6e839e2b84b3742d3820956a211f0856ce9c WHIRLPOOL 7ea8ab0400d15fa8721177aef8bc76ad99c08e8a2f4a1ca63fdf99db7b4f744753582663c9dd9fc854878d12906a98a3c1cd10c61e0275a638594c0fec485d9a +EBUILD chromium-63.0.3239.30.ebuild 19593 SHA256 dcfdff0cd6d149d1976bc9b114714bcc5fdfc720617e12f09323b2560f66a491 SHA512 9736ea5564cc00aae59aeab6c825f57ae159ccffb38876c7561677c1e080c2db827885e160c3590c0fe35c29d8cf36a18e5c32a0b2b33adbf6fa958fbe5c7611 WHIRLPOOL 361db7f07819c72c6ca15872437299dec19613e04913da1aa7debed78f52273f1e7a1a9207535c02f947f663eff51a55bb6f166ce4fbf56d2a1f773e757c5558 +EBUILD chromium-64.0.3253.3.ebuild 19662 SHA256 d7b8b6ac7041df36fcd616d2863992ac7e844df05cffc2289a5aa34f9e49858b SHA512 5307db2d0614b990037971af32f8d795fa987a60d6bb295babda9dbc5ecf9ed9f56e571754f25e345ab54528b06a2d54b3a02cb0e58d5df2f773aff109079d59 WHIRLPOOL c3d574d24769657a1897dde1178d794e2101c70ca668795f71dbaa71afe03f7a2834a87a2394dfcf870ee0fe97a2203c98581a78a9111c484a7c08ef3029a40f MISC ChangeLog 61379 SHA256 6089c72a9ad011b043f45bf3057c79f999d2aad5f4ecf0f9f45f9ced5156a18c SHA512 05868a71dfe2cbabb32b664968939704ada3c56bdd70aee289dbc60c5708e07df8496090687bf9b4659810872f629d53530990820e0da57b792a31add93d1f19 WHIRLPOOL fb91699e99261a3128ac7d931cfa5ec34a8884682935cc0740a129119f0b8d18a2aa83652ee06e0e6900371007cffbaea46f4e5d450ff2817d12e96cc819cca9 MISC ChangeLog-2011 114031 SHA256 e2c2c75785c5eaf78b6efe01e357279cbb7be0c89d00b4053f475e963916fa54 SHA512 8e14759348333bdbd7c338080472789d7bbb1ece1ca5817bac6306bdcb33dda1e23bf3055cbb3b7bcee9362b6900bba1ace7ba73f353570a74d3ed761c9198cc WHIRLPOOL 810b6423c53f892a4b0964380b8190dec2a8783d560a9cb0baec93a77d879186201055382ca05975ae242e16728529ae85445db003fdd425355292d17817157b MISC ChangeLog-2014 123105 SHA256 f67108708d3d21b4acfca327aca42ceb4cc31201772dff496babfacb50acc4eb SHA512 bf6464e7e6ccdee81a4c26949176ebfb705f99e85a0120eea77f52b862fa3b8142abb006462f31e5a9053777836d4d9fdb69926d2b01b49463553740aecdbc43 WHIRLPOOL 114181b4c8e700a56bdf76b4de2e94998436b1b27df9182348ab88afd352085938686359369ffa4af929936e9ad88305efc97e22afd3b4c50b0dcf9669286fea diff --git a/www-client/chromium/chromium-62.0.3202.62.ebuild b/www-client/chromium/chromium-62.0.3202.62.ebuild deleted file mode 100644 index 8dfe08788c76..000000000000 --- a/www-client/chromium/chromium-62.0.3202.62.ebuild +++ /dev/null @@ -1,653 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -PYTHON_COMPAT=( python2_7 ) - -CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils - -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 ~arm64 ~x86" -IUSE="component-build cups gnome-keyring +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine" -RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )" - -COMMON_DEPEND=" - app-arch/bzip2:= - cups? ( >=net-print/cups-1.3.11:= ) - dev-libs/expat:= - dev-libs/glib:2 - system-icu? ( >=dev-libs/icu-59:= ) - >=dev-libs/libxml2-2.9.4-r3:=[icu] - dev-libs/libxslt:= - dev-libs/nspr:= - >=dev-libs/nss-3.14.3:= - >=dev-libs/re2-0.2016.05.01:= - gnome-keyring? ( >=gnome-base/libgnome-keyring-3.12:= ) - >=media-libs/alsa-lib-1.0.19:= - media-libs/fontconfig:= - media-libs/freetype:= - >=media-libs/harfbuzz-1.4.2:=[icu(-)] - media-libs/libjpeg-turbo:= - media-libs/libpng:= - system-libvpx? ( media-libs/libvpx:=[postproc,svc] ) - >=media-libs/openh264-1.6.0:= - pulseaudio? ( media-sound/pulseaudio:= ) - system-ffmpeg? ( - >=media-video/ffmpeg-3:= - || ( - media-video/ffmpeg[-samba] - >=net-fs/samba-4.5.10-r1[-debug(-)] - ) - !=net-fs/samba-4.5.12 - media-libs/opus:= - ) - sys-apps/dbus:= - sys-apps/pciutils:= - virtual/udev - x11-libs/cairo:= - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3[X] - 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/libXrandr:= - x11-libs/libXrender:= - x11-libs/libXScrnSaver:= - x11-libs/libXtst:= - x11-libs/pango:= - app-arch/snappy:= - media-libs/flac:= - >=media-libs/libwebp-0.4.0:= - sys-libs/zlib:=[minizip] - kerberos? ( virtual/krb5 ) -" -# For nvidia-drivers blocker, see bug #413637 . -RDEPEND="${COMMON_DEPEND} - !=www-client/chromium-9999 - !=dev-python/beautifulsoup-4.3.2:4[${PYTHON_USEDEP}]" && - has_version --host-root "dev-python/html5lib[${PYTHON_USEDEP}]" && - has_version --host-root "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/noto -- media-fonts/ja-ipafonts -- media-fonts/takao-fonts -- media-fonts/wqy-microhei -- media-fonts/wqy-zenhei - -To fix broken icons on the Downloads page, you should install an icon -theme that covers the appropriate MIME types, and configure this as your -GTK+ icon theme. -" - -PATCHES=( - "${FILESDIR}/${PN}-widevine-r1.patch" - "${FILESDIR}/${PN}-FORTIFY_SOURCE-r2.patch" - "${FILESDIR}/${PN}-gcc5-r3.patch" - "${FILESDIR}/${PN}-gn-bootstrap-r17.patch" - "${FILESDIR}/${PN}-glibc2.26-r1.patch" -) - -pre_build_checks() { - if [[ ${MERGE_TYPE} != binary ]]; then - local -x CPP="$(tc-getCXX) -E" - if tc-is-clang && ! version_is_at_least "3.9.1" "$(clang-fullversion)"; then - # bugs: #601654 - die "At least clang 3.9.1 is required" - fi - if tc-is-gcc && ! version_is_at_least 5.0 "$(gcc-version)"; then - # bugs: #535730, #525374, #518668, #600288, #627356 - die "At least gcc 5.0 is required" - fi - fi - - # Check build requirements, bug #541816 and bug #471810 . - CHECKREQS_MEMORY="3G" - CHECKREQS_DISK_BUILD="5G" - eshopts_push -s extglob - if is-flagq '-g?(gdb)?([1-9])'; then - CHECKREQS_DISK_BUILD="25G" - if ! use component-build; then - CHECKREQS_MEMORY="16G" - fi - fi - eshopts_pop - check-reqs_pkg_setup -} - -pkg_pretend() { - pre_build_checks -} - -pkg_setup() { - pre_build_checks - - # Make sure the build system will use the right python, bug #344367. - python-any-r1_pkg_setup - - chromium_suid_sandbox_check_kernel_config -} - -src_prepare() { - default - - mkdir -p third_party/node/linux/node-linux-x64/bin || die - ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die - - local keeplibs=( - 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 - net/third_party/mozilla_security_manager - net/third_party/nss - third_party/WebKit - third_party/analytics - third_party/angle - third_party/angle/src/common/third_party/base - third_party/angle/src/common/third_party/murmurhash - third_party/angle/src/third_party/compiler - third_party/angle/src/third_party/libXNVCtrl - third_party/angle/src/third_party/trace_event - third_party/boringssl - third_party/brotli - third_party/cacheinvalidation - third_party/catapult - third_party/catapult/third_party/polymer - third_party/catapult/third_party/py_vulcanize - third_party/catapult/third_party/py_vulcanize/third_party/rcssmin - third_party/catapult/third_party/py_vulcanize/third_party/rjsmin - third_party/catapult/tracing/third_party/d3 - third_party/catapult/tracing/third_party/gl-matrix - third_party/catapult/tracing/third_party/jszip - third_party/catapult/tracing/third_party/mannwhitneyu - third_party/catapult/tracing/third_party/oboe - third_party/ced - third_party/cld_2 - third_party/cld_3 - third_party/crc32c - third_party/cros_system_api - third_party/devscripts - third_party/dom_distiller_js - third_party/fips181 - third_party/flatbuffers - third_party/flot - third_party/freetype - third_party/glslang-angle - 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/googletest - third_party/hunspell - third_party/iccjpeg - third_party/inspector_protocol - third_party/jinja2 - third_party/jstemplate - third_party/khronos - third_party/leveldatabase - third_party/libXNVCtrl - third_party/libaddressinput - third_party/libjingle - third_party/libphonenumber - third_party/libsecret - third_party/libsrtp - third_party/libudev - third_party/libwebm - third_party/libxml/chromium - third_party/libyuv - third_party/lss - third_party/lzma_sdk - third_party/markupsafe - third_party/mesa - third_party/modp_b64 - third_party/mt19937ar - third_party/node - third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 - third_party/openmax_dl - third_party/ots - third_party/pdfium - third_party/pdfium/third_party/agg23 - third_party/pdfium/third_party/base - third_party/pdfium/third_party/build - third_party/pdfium/third_party/bigint - third_party/pdfium/third_party/freetype - third_party/pdfium/third_party/lcms - third_party/pdfium/third_party/libopenjpeg20 - third_party/pdfium/third_party/libpng16 - third_party/pdfium/third_party/libtiff - third_party/ply - third_party/polymer - third_party/protobuf - third_party/protobuf/third_party/six - third_party/qcms - third_party/sfntly - third_party/skia - third_party/skia/third_party/gif - third_party/skia/third_party/vulkan - third_party/smhasher - third_party/spirv-headers - third_party/spirv-tools-angle - third_party/sqlite - third_party/swiftshader - third_party/swiftshader/third_party/llvm-subzero - third_party/swiftshader/third_party/subzero - third_party/usrsctp - third_party/vulkan - third_party/vulkan-validation-layers - third_party/web-animations-js - third_party/webdriver - third_party/webrtc - third_party/widevine - third_party/woff2 - third_party/zlib/google - url/third_party/mozilla - v8/src/third_party/valgrind - v8/third_party/inspector_protocol - - # gyp -> gn leftovers - base/third_party/libevent - third_party/adobe - third_party/speech-dispatcher - third_party/usb_ids - third_party/xdg-utils - third_party/yasm/run_yasm.py - ) - if ! use system-ffmpeg; then - keeplibs+=( third_party/ffmpeg third_party/opus ) - fi - if ! use system-icu; then - keeplibs+=( third_party/icu ) - fi - if ! use system-libvpx; then - keeplibs+=( third_party/libvpx ) - keeplibs+=( third_party/libvpx/source/libvpx/third_party/x86inc ) - fi - if use tcmalloc; then - keeplibs+=( third_party/tcmalloc ) - fi - - # Remove most bundled libraries. Some are still needed. - build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die -} - -bootstrap_gn() { - if tc-is-cross-compiler; then - local -x AR=${BUILD_AR} - local -x CC=${BUILD_CC} - local -x CXX=${BUILD_CXX} - local -x NM=${BUILD_NM} - local -x CFLAGS=${BUILD_CFLAGS} - local -x CXXFLAGS=${BUILD_CXXFLAGS} - local -x LDFLAGS=${BUILD_LDFLAGS} - fi - einfo "Building GN..." - set -- tools/gn/bootstrap/bootstrap.py -s -v --no-clean - echo "$@" - "$@" || die -} - -src_configure() { - local myconf_gn="" - - # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. - myconf_gn+=" is_debug=false" - - # Component build isn't generally intended for use by end users. It's mostly useful - # for development and debugging. - myconf_gn+=" is_component_build=$(usex component-build true false)" - - myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" - - # Disable nacl, we can't build without pnacl (http://crbug.com/269560). - myconf_gn+=" enable_nacl=false" - - # Use system-provided libraries. - # TODO: freetype (https://bugs.chromium.org/p/pdfium/issues/detail?id=733). - # TODO: use_system_hunspell (upstream changes needed). - # TODO: use_system_libsrtp (bug #459932). - # TODO: use_system_protobuf (bug #525560). - # TODO: use_system_ssl (http://crbug.com/58087). - # TODO: use_system_sqlite (http://crbug.com/22208). - - # libevent: https://bugs.gentoo.org/593458 - local gn_system_libraries=( - flac - harfbuzz-ng - libdrm - libjpeg - libpng - libwebp - libxml - libxslt - openh264 - re2 - snappy - yasm - zlib - ) - if use system-ffmpeg; then - gn_system_libraries+=( ffmpeg opus ) - fi - if use system-icu; then - gn_system_libraries+=( icu ) - fi - if use system-libvpx; then - gn_system_libraries+=( libvpx ) - fi - build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die - - # Optional dependencies. - myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" - myconf_gn+=" enable_widevine=$(usex widevine true false)" - myconf_gn+=" use_cups=$(usex cups true false)" - myconf_gn+=" use_gconf=false" - myconf_gn+=" use_gnome_keyring=$(usex gnome-keyring true false)" - myconf_gn+=" use_kerberos=$(usex kerberos true false)" - myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)" - - # TODO: link_pulseaudio=true for GN. - - myconf_gn+=" fieldtrial_testing_like_official_build=true" - - if tc-is-clang; then - myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" - else - myconf_gn+=" is_clang=false" - fi - - # Never use bundled gold binary. Disable gold linker flags for now. - # Do not use bundled clang. - # Trying to use gold results in linker crash. - myconf_gn+=" use_gold=false use_sysroot=false linux_use_bundled_binutils=false use_custom_libcxx=false" - - ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" - myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" - myconf_gn+=" ffmpeg_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. - local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" - local google_default_client_id="329227923882.apps.googleusercontent.com" - local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" - myconf_gn+=" google_api_key=\"${google_api_key}\"" - myconf_gn+=" google_default_client_id=\"${google_default_client_id}\"" - myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\"" - - local myarch="$(tc-arch)" - if [[ $myarch = amd64 ]] ; then - myconf_gn+=" target_cpu=\"x64\"" - ffmpeg_target_arch=x64 - elif [[ $myarch = x86 ]] ; then - myconf_gn+=" target_cpu=\"x86\"" - ffmpeg_target_arch=ia32 - elif [[ $myarch = arm64 ]] ; then - myconf_gn+=" target_cpu=\"arm64\"" - ffmpeg_target_arch=arm64 - elif [[ $myarch = arm ]] ; then - myconf_gn+=" target_cpu=\"arm\"" - ffmpeg_target_arch=$(usex neon arm-neon arm) - else - die "Failed to determine target arch, got '$myarch'." - fi - - # 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_gn+=" treat_warnings_as_errors=false" - - # Disable fatal linker warnings, bug 506268. - myconf_gn+=" fatal_linker_warnings=false" - - # 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-avx -mno-avx2 - fi - fi - - # Make sure the build system will use the right tools, bug #340795. - tc-export AR CC CXX NM - - # Define a custom toolchain for GN - myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\"" - - if tc-is-cross-compiler; then - tc-export BUILD_{AR,CC,CXX,NM} - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:host\"" - myconf_gn+=" v8_snapshot_toolchain=\"//build/toolchain/linux/unbundle:host\"" - else - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" - fi - - # https://bugs.gentoo.org/588596 - append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks) - - # Bug 491582. - export TMPDIR="${WORKDIR}/temp" - mkdir -p -m 755 "${TMPDIR}" || die - - if ! use system-ffmpeg; then - 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_gn.py || die - popd > /dev/null || die - fi - - bootstrap_gn - - einfo "Configuring Chromium..." - set -- out/Release/gn gen --args="${myconf_gn}" out/Release - echo "$@" - "$@" || die -} - -src_compile() { - local ninja_targets="chrome chromedriver" - if use suid; then - ninja_targets+=" chrome_sandbox" - fi - - # Build mksnapshot and pax-mark it. - if tc-is-cross-compiler; then - eninja -C out/Release host/mksnapshot || die - pax-mark m out/Release/host/mksnapshot - else - eninja -C out/Release mksnapshot || die - pax-mark m out/Release/mksnapshot - fi - - # 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() { - local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" - exeinto "${CHROMIUM_HOME}" - doexe out/Release/chrome - - if use suid; then - newexe out/Release/chrome_sandbox chrome-sandbox - fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" - fi - - doexe out/Release/chromedriver - - local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" ) - 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 - # keep the old symlink around for consistency - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium - - dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver - - # Allow users to override command-line options, bug #357629. - insinto /etc/chromium - newins "${FILESDIR}/chromium.default" "default" - - pushd out/Release/locales > /dev/null || die - chromium_remove_language_paks - popd - - if use widevine; then - # These will be provided by chrome-binary-plugins - rm out/Release/libwidevinecdm*.so || die - fi - - insinto "${CHROMIUM_HOME}" - doins out/Release/*.bin - doins out/Release/*.pak - doins out/Release/*.so - - if ! use system-icu; then - doins out/Release/icudtl.dat - fi - - doins -r out/Release/locales - doins -r out/Release/resources - - insinto "${CHROMIUM_HOME}/swiftshader" - doins out/Release/swiftshader/*.so - - newman out/Release/chrome.1 chromium.1 - newman out/Release/chrome.1 chromium-browser.1 - - # 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.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" \ - chromium-browser \ - "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). - insinto /usr/share/gnome-control-center/default-apps - newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml - - readme.gentoo_create_doc -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - readme.gentoo_print_elog -} diff --git a/www-client/chromium/chromium-62.0.3202.75.ebuild b/www-client/chromium/chromium-62.0.3202.75.ebuild index 8dfe08788c76..b0de71dabd78 100644 --- a/www-client/chromium/chromium-62.0.3202.75.ebuild +++ b/www-client/chromium/chromium-62.0.3202.75.ebuild @@ -95,7 +95,7 @@ DEPEND="${COMMON_DEPEND} dev-lang/perl >=dev-util/gperf-3.0.3 >=dev-util/ninja-1.7.2 - >=net-libs/nodejs-4.6.1 + >=net-libs/nodejs-6.9.4 sys-apps/hwids[usb(+)] >=sys-devel/bison-2.4.3 sys-devel/flex diff --git a/www-client/chromium/chromium-62.0.3202.89.ebuild b/www-client/chromium/chromium-62.0.3202.89.ebuild new file mode 100644 index 000000000000..b0de71dabd78 --- /dev/null +++ b/www-client/chromium/chromium-62.0.3202.89.ebuild @@ -0,0 +1,653 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python2_7 ) + +CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils + +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 ~arm64 ~x86" +IUSE="component-build cups gnome-keyring +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine" +RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )" + +COMMON_DEPEND=" + app-arch/bzip2:= + cups? ( >=net-print/cups-1.3.11:= ) + dev-libs/expat:= + dev-libs/glib:2 + system-icu? ( >=dev-libs/icu-59:= ) + >=dev-libs/libxml2-2.9.4-r3:=[icu] + dev-libs/libxslt:= + dev-libs/nspr:= + >=dev-libs/nss-3.14.3:= + >=dev-libs/re2-0.2016.05.01:= + gnome-keyring? ( >=gnome-base/libgnome-keyring-3.12:= ) + >=media-libs/alsa-lib-1.0.19:= + media-libs/fontconfig:= + media-libs/freetype:= + >=media-libs/harfbuzz-1.4.2:=[icu(-)] + media-libs/libjpeg-turbo:= + media-libs/libpng:= + system-libvpx? ( media-libs/libvpx:=[postproc,svc] ) + >=media-libs/openh264-1.6.0:= + pulseaudio? ( media-sound/pulseaudio:= ) + system-ffmpeg? ( + >=media-video/ffmpeg-3:= + || ( + media-video/ffmpeg[-samba] + >=net-fs/samba-4.5.10-r1[-debug(-)] + ) + !=net-fs/samba-4.5.12 + media-libs/opus:= + ) + sys-apps/dbus:= + sys-apps/pciutils:= + virtual/udev + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + 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/libXrandr:= + x11-libs/libXrender:= + x11-libs/libXScrnSaver:= + x11-libs/libXtst:= + x11-libs/pango:= + app-arch/snappy:= + media-libs/flac:= + >=media-libs/libwebp-0.4.0:= + sys-libs/zlib:=[minizip] + kerberos? ( virtual/krb5 ) +" +# For nvidia-drivers blocker, see bug #413637 . +RDEPEND="${COMMON_DEPEND} + !=www-client/chromium-9999 + !=dev-python/beautifulsoup-4.3.2:4[${PYTHON_USEDEP}]" && + has_version --host-root "dev-python/html5lib[${PYTHON_USEDEP}]" && + has_version --host-root "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/noto +- media-fonts/ja-ipafonts +- media-fonts/takao-fonts +- media-fonts/wqy-microhei +- media-fonts/wqy-zenhei + +To fix broken icons on the Downloads page, you should install an icon +theme that covers the appropriate MIME types, and configure this as your +GTK+ icon theme. +" + +PATCHES=( + "${FILESDIR}/${PN}-widevine-r1.patch" + "${FILESDIR}/${PN}-FORTIFY_SOURCE-r2.patch" + "${FILESDIR}/${PN}-gcc5-r3.patch" + "${FILESDIR}/${PN}-gn-bootstrap-r17.patch" + "${FILESDIR}/${PN}-glibc2.26-r1.patch" +) + +pre_build_checks() { + if [[ ${MERGE_TYPE} != binary ]]; then + local -x CPP="$(tc-getCXX) -E" + if tc-is-clang && ! version_is_at_least "3.9.1" "$(clang-fullversion)"; then + # bugs: #601654 + die "At least clang 3.9.1 is required" + fi + if tc-is-gcc && ! version_is_at_least 5.0 "$(gcc-version)"; then + # bugs: #535730, #525374, #518668, #600288, #627356 + die "At least gcc 5.0 is required" + fi + fi + + # Check build requirements, bug #541816 and bug #471810 . + CHECKREQS_MEMORY="3G" + CHECKREQS_DISK_BUILD="5G" + eshopts_push -s extglob + if is-flagq '-g?(gdb)?([1-9])'; then + CHECKREQS_DISK_BUILD="25G" + if ! use component-build; then + CHECKREQS_MEMORY="16G" + fi + fi + eshopts_pop + check-reqs_pkg_setup +} + +pkg_pretend() { + pre_build_checks +} + +pkg_setup() { + pre_build_checks + + # Make sure the build system will use the right python, bug #344367. + python-any-r1_pkg_setup + + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + + mkdir -p third_party/node/linux/node-linux-x64/bin || die + ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die + + local keeplibs=( + 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 + net/third_party/mozilla_security_manager + net/third_party/nss + third_party/WebKit + third_party/analytics + third_party/angle + third_party/angle/src/common/third_party/base + third_party/angle/src/common/third_party/murmurhash + third_party/angle/src/third_party/compiler + third_party/angle/src/third_party/libXNVCtrl + third_party/angle/src/third_party/trace_event + third_party/boringssl + third_party/brotli + third_party/cacheinvalidation + third_party/catapult + third_party/catapult/third_party/polymer + third_party/catapult/third_party/py_vulcanize + third_party/catapult/third_party/py_vulcanize/third_party/rcssmin + third_party/catapult/third_party/py_vulcanize/third_party/rjsmin + third_party/catapult/tracing/third_party/d3 + third_party/catapult/tracing/third_party/gl-matrix + third_party/catapult/tracing/third_party/jszip + third_party/catapult/tracing/third_party/mannwhitneyu + third_party/catapult/tracing/third_party/oboe + third_party/ced + third_party/cld_2 + third_party/cld_3 + third_party/crc32c + third_party/cros_system_api + third_party/devscripts + third_party/dom_distiller_js + third_party/fips181 + third_party/flatbuffers + third_party/flot + third_party/freetype + third_party/glslang-angle + 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/googletest + third_party/hunspell + third_party/iccjpeg + third_party/inspector_protocol + third_party/jinja2 + third_party/jstemplate + third_party/khronos + third_party/leveldatabase + third_party/libXNVCtrl + third_party/libaddressinput + third_party/libjingle + third_party/libphonenumber + third_party/libsecret + third_party/libsrtp + third_party/libudev + third_party/libwebm + third_party/libxml/chromium + third_party/libyuv + third_party/lss + third_party/lzma_sdk + third_party/markupsafe + third_party/mesa + third_party/modp_b64 + third_party/mt19937ar + third_party/node + third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 + third_party/openmax_dl + third_party/ots + third_party/pdfium + third_party/pdfium/third_party/agg23 + third_party/pdfium/third_party/base + third_party/pdfium/third_party/build + third_party/pdfium/third_party/bigint + third_party/pdfium/third_party/freetype + third_party/pdfium/third_party/lcms + third_party/pdfium/third_party/libopenjpeg20 + third_party/pdfium/third_party/libpng16 + third_party/pdfium/third_party/libtiff + third_party/ply + third_party/polymer + third_party/protobuf + third_party/protobuf/third_party/six + third_party/qcms + third_party/sfntly + third_party/skia + third_party/skia/third_party/gif + third_party/skia/third_party/vulkan + third_party/smhasher + third_party/spirv-headers + third_party/spirv-tools-angle + third_party/sqlite + third_party/swiftshader + third_party/swiftshader/third_party/llvm-subzero + third_party/swiftshader/third_party/subzero + third_party/usrsctp + third_party/vulkan + third_party/vulkan-validation-layers + third_party/web-animations-js + third_party/webdriver + third_party/webrtc + third_party/widevine + third_party/woff2 + third_party/zlib/google + url/third_party/mozilla + v8/src/third_party/valgrind + v8/third_party/inspector_protocol + + # gyp -> gn leftovers + base/third_party/libevent + third_party/adobe + third_party/speech-dispatcher + third_party/usb_ids + third_party/xdg-utils + third_party/yasm/run_yasm.py + ) + if ! use system-ffmpeg; then + keeplibs+=( third_party/ffmpeg third_party/opus ) + fi + if ! use system-icu; then + keeplibs+=( third_party/icu ) + fi + if ! use system-libvpx; then + keeplibs+=( third_party/libvpx ) + keeplibs+=( third_party/libvpx/source/libvpx/third_party/x86inc ) + fi + if use tcmalloc; then + keeplibs+=( third_party/tcmalloc ) + fi + + # Remove most bundled libraries. Some are still needed. + build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die +} + +bootstrap_gn() { + if tc-is-cross-compiler; then + local -x AR=${BUILD_AR} + local -x CC=${BUILD_CC} + local -x CXX=${BUILD_CXX} + local -x NM=${BUILD_NM} + local -x CFLAGS=${BUILD_CFLAGS} + local -x CXXFLAGS=${BUILD_CXXFLAGS} + local -x LDFLAGS=${BUILD_LDFLAGS} + fi + einfo "Building GN..." + set -- tools/gn/bootstrap/bootstrap.py -s -v --no-clean + echo "$@" + "$@" || die +} + +src_configure() { + local myconf_gn="" + + # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. + myconf_gn+=" is_debug=false" + + # Component build isn't generally intended for use by end users. It's mostly useful + # for development and debugging. + myconf_gn+=" is_component_build=$(usex component-build true false)" + + myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" + + # Disable nacl, we can't build without pnacl (http://crbug.com/269560). + myconf_gn+=" enable_nacl=false" + + # Use system-provided libraries. + # TODO: freetype (https://bugs.chromium.org/p/pdfium/issues/detail?id=733). + # TODO: use_system_hunspell (upstream changes needed). + # TODO: use_system_libsrtp (bug #459932). + # TODO: use_system_protobuf (bug #525560). + # TODO: use_system_ssl (http://crbug.com/58087). + # TODO: use_system_sqlite (http://crbug.com/22208). + + # libevent: https://bugs.gentoo.org/593458 + local gn_system_libraries=( + flac + harfbuzz-ng + libdrm + libjpeg + libpng + libwebp + libxml + libxslt + openh264 + re2 + snappy + yasm + zlib + ) + if use system-ffmpeg; then + gn_system_libraries+=( ffmpeg opus ) + fi + if use system-icu; then + gn_system_libraries+=( icu ) + fi + if use system-libvpx; then + gn_system_libraries+=( libvpx ) + fi + build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die + + # Optional dependencies. + myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" + myconf_gn+=" enable_widevine=$(usex widevine true false)" + myconf_gn+=" use_cups=$(usex cups true false)" + myconf_gn+=" use_gconf=false" + myconf_gn+=" use_gnome_keyring=$(usex gnome-keyring true false)" + myconf_gn+=" use_kerberos=$(usex kerberos true false)" + myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)" + + # TODO: link_pulseaudio=true for GN. + + myconf_gn+=" fieldtrial_testing_like_official_build=true" + + if tc-is-clang; then + myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" + else + myconf_gn+=" is_clang=false" + fi + + # Never use bundled gold binary. Disable gold linker flags for now. + # Do not use bundled clang. + # Trying to use gold results in linker crash. + myconf_gn+=" use_gold=false use_sysroot=false linux_use_bundled_binutils=false use_custom_libcxx=false" + + ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" + myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" + myconf_gn+=" ffmpeg_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. + local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" + local google_default_client_id="329227923882.apps.googleusercontent.com" + local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" + myconf_gn+=" google_api_key=\"${google_api_key}\"" + myconf_gn+=" google_default_client_id=\"${google_default_client_id}\"" + myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\"" + + local myarch="$(tc-arch)" + if [[ $myarch = amd64 ]] ; then + myconf_gn+=" target_cpu=\"x64\"" + ffmpeg_target_arch=x64 + elif [[ $myarch = x86 ]] ; then + myconf_gn+=" target_cpu=\"x86\"" + ffmpeg_target_arch=ia32 + elif [[ $myarch = arm64 ]] ; then + myconf_gn+=" target_cpu=\"arm64\"" + ffmpeg_target_arch=arm64 + elif [[ $myarch = arm ]] ; then + myconf_gn+=" target_cpu=\"arm\"" + ffmpeg_target_arch=$(usex neon arm-neon arm) + else + die "Failed to determine target arch, got '$myarch'." + fi + + # 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_gn+=" treat_warnings_as_errors=false" + + # Disable fatal linker warnings, bug 506268. + myconf_gn+=" fatal_linker_warnings=false" + + # 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-avx -mno-avx2 + fi + fi + + # Make sure the build system will use the right tools, bug #340795. + tc-export AR CC CXX NM + + # Define a custom toolchain for GN + myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\"" + + if tc-is-cross-compiler; then + tc-export BUILD_{AR,CC,CXX,NM} + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:host\"" + myconf_gn+=" v8_snapshot_toolchain=\"//build/toolchain/linux/unbundle:host\"" + else + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" + fi + + # https://bugs.gentoo.org/588596 + append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks) + + # Bug 491582. + export TMPDIR="${WORKDIR}/temp" + mkdir -p -m 755 "${TMPDIR}" || die + + if ! use system-ffmpeg; then + 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_gn.py || die + popd > /dev/null || die + fi + + bootstrap_gn + + einfo "Configuring Chromium..." + set -- out/Release/gn gen --args="${myconf_gn}" out/Release + echo "$@" + "$@" || die +} + +src_compile() { + local ninja_targets="chrome chromedriver" + if use suid; then + ninja_targets+=" chrome_sandbox" + fi + + # Build mksnapshot and pax-mark it. + if tc-is-cross-compiler; then + eninja -C out/Release host/mksnapshot || die + pax-mark m out/Release/host/mksnapshot + else + eninja -C out/Release mksnapshot || die + pax-mark m out/Release/mksnapshot + fi + + # 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() { + local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" + exeinto "${CHROMIUM_HOME}" + doexe out/Release/chrome + + if use suid; then + newexe out/Release/chrome_sandbox chrome-sandbox + fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" + fi + + doexe out/Release/chromedriver + + local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" ) + 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 + # keep the old symlink around for consistency + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium + + dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver + + # Allow users to override command-line options, bug #357629. + insinto /etc/chromium + newins "${FILESDIR}/chromium.default" "default" + + pushd out/Release/locales > /dev/null || die + chromium_remove_language_paks + popd + + if use widevine; then + # These will be provided by chrome-binary-plugins + rm out/Release/libwidevinecdm*.so || die + fi + + insinto "${CHROMIUM_HOME}" + doins out/Release/*.bin + doins out/Release/*.pak + doins out/Release/*.so + + if ! use system-icu; then + doins out/Release/icudtl.dat + fi + + doins -r out/Release/locales + doins -r out/Release/resources + + insinto "${CHROMIUM_HOME}/swiftshader" + doins out/Release/swiftshader/*.so + + newman out/Release/chrome.1 chromium.1 + newman out/Release/chrome.1 chromium-browser.1 + + # 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.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" \ + chromium-browser \ + "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). + insinto /usr/share/gnome-control-center/default-apps + newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml + + readme.gentoo_create_doc +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog +} diff --git a/www-client/chromium/chromium-63.0.3223.8.ebuild b/www-client/chromium/chromium-63.0.3223.8.ebuild deleted file mode 100644 index 809c36dc7ab4..000000000000 --- a/www-client/chromium/chromium-63.0.3223.8.ebuild +++ /dev/null @@ -1,653 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" -PYTHON_COMPAT=( python2_7 ) - -CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils - -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 ~arm64 ~x86" -IUSE="component-build cups gnome-keyring +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine" -RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )" - -COMMON_DEPEND=" - app-arch/bzip2:= - cups? ( >=net-print/cups-1.3.11:= ) - dev-libs/expat:= - dev-libs/glib:2 - system-icu? ( >=dev-libs/icu-59:= ) - >=dev-libs/libxml2-2.9.5:=[icu] - dev-libs/libxslt:= - dev-libs/nspr:= - >=dev-libs/nss-3.14.3:= - >=dev-libs/re2-0.2016.05.01:= - gnome-keyring? ( >=gnome-base/libgnome-keyring-3.12:= ) - >=media-libs/alsa-lib-1.0.19:= - media-libs/fontconfig:= - media-libs/freetype:= - >=media-libs/harfbuzz-1.4.2:=[icu(-)] - media-libs/libjpeg-turbo:= - media-libs/libpng:= - system-libvpx? ( media-libs/libvpx:=[postproc,svc] ) - >=media-libs/openh264-1.6.0:= - pulseaudio? ( media-sound/pulseaudio:= ) - system-ffmpeg? ( - >=media-video/ffmpeg-3:= - || ( - media-video/ffmpeg[-samba] - >=net-fs/samba-4.5.10-r1[-debug(-)] - ) - !=net-fs/samba-4.5.12 - media-libs/opus:= - ) - sys-apps/dbus:= - sys-apps/pciutils:= - virtual/udev - x11-libs/cairo:= - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3[X] - 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/libXrandr:= - x11-libs/libXrender:= - x11-libs/libXScrnSaver:= - x11-libs/libXtst:= - x11-libs/pango:= - app-arch/snappy:= - media-libs/flac:= - >=media-libs/libwebp-0.4.0:= - sys-libs/zlib:=[minizip] - kerberos? ( virtual/krb5 ) -" -# For nvidia-drivers blocker, see bug #413637 . -RDEPEND="${COMMON_DEPEND} - !=www-client/chromium-9999 - !=dev-python/beautifulsoup-4.3.2:4[${PYTHON_USEDEP}]" && - has_version --host-root "dev-python/html5lib[${PYTHON_USEDEP}]" && - has_version --host-root "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/noto -- media-fonts/ja-ipafonts -- media-fonts/takao-fonts -- media-fonts/wqy-microhei -- media-fonts/wqy-zenhei - -To fix broken icons on the Downloads page, you should install an icon -theme that covers the appropriate MIME types, and configure this as your -GTK+ icon theme. -" - -PATCHES=( - "${FILESDIR}/${PN}-widevine-r1.patch" - "${FILESDIR}/${PN}-FORTIFY_SOURCE-r2.patch" - "${FILESDIR}/${PN}-gcc5-r4.patch" - "${FILESDIR}/${PN}-gn-bootstrap-r20.patch" -) - -pre_build_checks() { - if [[ ${MERGE_TYPE} != binary ]]; then - local -x CPP="$(tc-getCXX) -E" - if tc-is-clang && ! version_is_at_least "3.9.1" "$(clang-fullversion)"; then - # bugs: #601654 - die "At least clang 3.9.1 is required" - fi - if tc-is-gcc && ! version_is_at_least 5.0 "$(gcc-version)"; then - # bugs: #535730, #525374, #518668, #600288, #627356 - die "At least gcc 5.0 is required" - fi - fi - - # Check build requirements, bug #541816 and bug #471810 . - CHECKREQS_MEMORY="3G" - CHECKREQS_DISK_BUILD="5G" - eshopts_push -s extglob - if is-flagq '-g?(gdb)?([1-9])'; then - CHECKREQS_DISK_BUILD="25G" - if ! use component-build; then - CHECKREQS_MEMORY="16G" - fi - fi - eshopts_pop - check-reqs_pkg_setup -} - -pkg_pretend() { - pre_build_checks -} - -pkg_setup() { - pre_build_checks - - # Make sure the build system will use the right python, bug #344367. - python-any-r1_pkg_setup - - chromium_suid_sandbox_check_kernel_config -} - -src_prepare() { - default - - mkdir -p third_party/node/linux/node-linux-x64/bin || die - ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die - - local keeplibs=( - 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 - net/third_party/mozilla_security_manager - net/third_party/nss - third_party/WebKit - third_party/analytics - third_party/angle - third_party/angle/src/common/third_party/base - third_party/angle/src/common/third_party/murmurhash - third_party/angle/src/third_party/compiler - third_party/angle/src/third_party/libXNVCtrl - third_party/angle/src/third_party/trace_event - third_party/blink - third_party/boringssl - third_party/brotli - third_party/cacheinvalidation - third_party/catapult - third_party/catapult/third_party/polymer - third_party/catapult/third_party/py_vulcanize - third_party/catapult/third_party/py_vulcanize/third_party/rcssmin - third_party/catapult/third_party/py_vulcanize/third_party/rjsmin - third_party/catapult/tracing/third_party/d3 - third_party/catapult/tracing/third_party/gl-matrix - third_party/catapult/tracing/third_party/jszip - third_party/catapult/tracing/third_party/mannwhitneyu - third_party/catapult/tracing/third_party/oboe - third_party/ced - third_party/cld_2 - third_party/cld_3 - third_party/crc32c - third_party/cros_system_api - third_party/devscripts - third_party/dom_distiller_js - third_party/fips181 - third_party/flatbuffers - third_party/flot - third_party/freetype - third_party/glslang-angle - 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/googletest - third_party/hunspell - third_party/iccjpeg - third_party/inspector_protocol - third_party/jinja2 - third_party/jstemplate - third_party/khronos - third_party/leveldatabase - third_party/libXNVCtrl - third_party/libaddressinput - third_party/libjingle - third_party/libphonenumber - third_party/libsecret - third_party/libsrtp - third_party/libudev - third_party/libwebm - third_party/libxml/chromium - third_party/libyuv - third_party/lss - third_party/lzma_sdk - third_party/markupsafe - third_party/mesa - third_party/modp_b64 - third_party/mt19937ar - third_party/node - third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 - third_party/openmax_dl - third_party/ots - third_party/pdfium - third_party/pdfium/third_party/agg23 - third_party/pdfium/third_party/base - third_party/pdfium/third_party/build - third_party/pdfium/third_party/bigint - third_party/pdfium/third_party/freetype - third_party/pdfium/third_party/lcms - third_party/pdfium/third_party/libopenjpeg20 - third_party/pdfium/third_party/libpng16 - third_party/pdfium/third_party/libtiff - third_party/ply - third_party/polymer - third_party/protobuf - third_party/protobuf/third_party/six - third_party/qcms - third_party/sfntly - third_party/skia - third_party/skia/third_party/gif - third_party/skia/third_party/vulkan - third_party/smhasher - third_party/spirv-headers - third_party/spirv-tools-angle - third_party/sqlite - third_party/swiftshader - third_party/swiftshader/third_party/llvm-subzero - third_party/swiftshader/third_party/subzero - third_party/usrsctp - third_party/vulkan - third_party/vulkan-validation-layers - third_party/web-animations-js - third_party/webdriver - third_party/webrtc - third_party/widevine - third_party/woff2 - third_party/zlib/google - url/third_party/mozilla - v8/src/third_party/valgrind - v8/third_party/inspector_protocol - - # gyp -> gn leftovers - base/third_party/libevent - third_party/adobe - third_party/speech-dispatcher - third_party/usb_ids - third_party/xdg-utils - third_party/yasm/run_yasm.py - ) - if ! use system-ffmpeg; then - keeplibs+=( third_party/ffmpeg third_party/opus ) - fi - if ! use system-icu; then - keeplibs+=( third_party/icu ) - fi - if ! use system-libvpx; then - keeplibs+=( third_party/libvpx ) - keeplibs+=( third_party/libvpx/source/libvpx/third_party/x86inc ) - fi - if use tcmalloc; then - keeplibs+=( third_party/tcmalloc ) - fi - - # Remove most bundled libraries. Some are still needed. - build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die -} - -bootstrap_gn() { - if tc-is-cross-compiler; then - local -x AR=${BUILD_AR} - local -x CC=${BUILD_CC} - local -x CXX=${BUILD_CXX} - local -x NM=${BUILD_NM} - local -x CFLAGS=${BUILD_CFLAGS} - local -x CXXFLAGS=${BUILD_CXXFLAGS} - local -x LDFLAGS=${BUILD_LDFLAGS} - fi - einfo "Building GN..." - set -- tools/gn/bootstrap/bootstrap.py -s -v --no-clean - echo "$@" - "$@" || die -} - -src_configure() { - local myconf_gn="" - - # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. - myconf_gn+=" is_debug=false" - - # Component build isn't generally intended for use by end users. It's mostly useful - # for development and debugging. - myconf_gn+=" is_component_build=$(usex component-build true false)" - - myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" - - # Disable nacl, we can't build without pnacl (http://crbug.com/269560). - myconf_gn+=" enable_nacl=false" - - # Use system-provided libraries. - # TODO: freetype (https://bugs.chromium.org/p/pdfium/issues/detail?id=733). - # TODO: use_system_hunspell (upstream changes needed). - # TODO: use_system_libsrtp (bug #459932). - # TODO: use_system_protobuf (bug #525560). - # TODO: use_system_ssl (http://crbug.com/58087). - # TODO: use_system_sqlite (http://crbug.com/22208). - - # libevent: https://bugs.gentoo.org/593458 - local gn_system_libraries=( - flac - harfbuzz-ng - libdrm - libjpeg - libpng - libwebp - libxml - libxslt - openh264 - re2 - snappy - yasm - zlib - ) - if use system-ffmpeg; then - gn_system_libraries+=( ffmpeg opus ) - fi - if use system-icu; then - gn_system_libraries+=( icu ) - fi - if use system-libvpx; then - gn_system_libraries+=( libvpx ) - fi - build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die - - # Optional dependencies. - myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" - myconf_gn+=" enable_widevine=$(usex widevine true false)" - myconf_gn+=" use_cups=$(usex cups true false)" - myconf_gn+=" use_gconf=false" - myconf_gn+=" use_gnome_keyring=$(usex gnome-keyring true false)" - myconf_gn+=" use_kerberos=$(usex kerberos true false)" - myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)" - - # TODO: link_pulseaudio=true for GN. - - myconf_gn+=" fieldtrial_testing_like_official_build=true" - - if tc-is-clang; then - myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" - else - myconf_gn+=" is_clang=false" - fi - - # Never use bundled gold binary. Disable gold linker flags for now. - # Do not use bundled clang. - # Trying to use gold results in linker crash. - myconf_gn+=" use_gold=false use_sysroot=false linux_use_bundled_binutils=false use_custom_libcxx=false" - - ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" - myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" - myconf_gn+=" ffmpeg_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. - local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" - local google_default_client_id="329227923882.apps.googleusercontent.com" - local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" - myconf_gn+=" google_api_key=\"${google_api_key}\"" - myconf_gn+=" google_default_client_id=\"${google_default_client_id}\"" - myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\"" - - local myarch="$(tc-arch)" - if [[ $myarch = amd64 ]] ; then - myconf_gn+=" target_cpu=\"x64\"" - ffmpeg_target_arch=x64 - elif [[ $myarch = x86 ]] ; then - myconf_gn+=" target_cpu=\"x86\"" - ffmpeg_target_arch=ia32 - elif [[ $myarch = arm64 ]] ; then - myconf_gn+=" target_cpu=\"arm64\"" - ffmpeg_target_arch=arm64 - elif [[ $myarch = arm ]] ; then - myconf_gn+=" target_cpu=\"arm\"" - ffmpeg_target_arch=$(usex neon arm-neon arm) - else - die "Failed to determine target arch, got '$myarch'." - fi - - # 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_gn+=" treat_warnings_as_errors=false" - - # Disable fatal linker warnings, bug 506268. - myconf_gn+=" fatal_linker_warnings=false" - - # 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-avx -mno-avx2 - fi - fi - - # Make sure the build system will use the right tools, bug #340795. - tc-export AR CC CXX NM - - # Define a custom toolchain for GN - myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\"" - - if tc-is-cross-compiler; then - tc-export BUILD_{AR,CC,CXX,NM} - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:host\"" - myconf_gn+=" v8_snapshot_toolchain=\"//build/toolchain/linux/unbundle:host\"" - else - myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" - fi - - # https://bugs.gentoo.org/588596 - append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks) - - # Bug 491582. - export TMPDIR="${WORKDIR}/temp" - mkdir -p -m 755 "${TMPDIR}" || die - - if ! use system-ffmpeg; then - 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_gn.py || die - popd > /dev/null || die - fi - - bootstrap_gn - - einfo "Configuring Chromium..." - set -- out/Release/gn gen --args="${myconf_gn}" out/Release - echo "$@" - "$@" || die -} - -src_compile() { - local ninja_targets="chrome chromedriver" - if use suid; then - ninja_targets+=" chrome_sandbox" - fi - - # Build mksnapshot and pax-mark it. - if tc-is-cross-compiler; then - eninja -C out/Release host/mksnapshot || die - pax-mark m out/Release/host/mksnapshot - else - eninja -C out/Release mksnapshot || die - pax-mark m out/Release/mksnapshot - fi - - # 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() { - local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" - exeinto "${CHROMIUM_HOME}" - doexe out/Release/chrome - - if use suid; then - newexe out/Release/chrome_sandbox chrome-sandbox - fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" - fi - - doexe out/Release/chromedriver - - local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" ) - 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 - # keep the old symlink around for consistency - dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium - - dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver - - # Allow users to override command-line options, bug #357629. - insinto /etc/chromium - newins "${FILESDIR}/chromium.default" "default" - - pushd out/Release/locales > /dev/null || die - chromium_remove_language_paks - popd - - if use widevine; then - # These will be provided by chrome-binary-plugins - rm out/Release/libwidevinecdm*.so || die - fi - - insinto "${CHROMIUM_HOME}" - doins out/Release/*.bin - doins out/Release/*.pak - doins out/Release/*.so - - if ! use system-icu; then - doins out/Release/icudtl.dat - fi - - doins -r out/Release/locales - doins -r out/Release/resources - - insinto "${CHROMIUM_HOME}/swiftshader" - doins out/Release/swiftshader/*.so - - newman out/Release/chrome.1 chromium.1 - newman out/Release/chrome.1 chromium-browser.1 - - # 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.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" \ - chromium-browser \ - "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). - insinto /usr/share/gnome-control-center/default-apps - newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml - - readme.gentoo_create_doc -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - readme.gentoo_print_elog -} diff --git a/www-client/chromium/chromium-63.0.3239.30.ebuild b/www-client/chromium/chromium-63.0.3239.30.ebuild new file mode 100644 index 000000000000..7cfd3eaf32bb --- /dev/null +++ b/www-client/chromium/chromium-63.0.3239.30.ebuild @@ -0,0 +1,656 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python2_7 ) + +CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils + +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 ~arm64 ~x86" +IUSE="component-build cups gnome-keyring +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine" +RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )" + +COMMON_DEPEND=" + app-arch/bzip2:= + cups? ( >=net-print/cups-1.3.11:= ) + dev-libs/expat:= + dev-libs/glib:2 + system-icu? ( >=dev-libs/icu-59:= ) + >=dev-libs/libxml2-2.9.4-r3:=[icu] + dev-libs/libxslt:= + dev-libs/nspr:= + >=dev-libs/nss-3.14.3:= + >=dev-libs/re2-0.2016.05.01:= + gnome-keyring? ( >=gnome-base/libgnome-keyring-3.12:= ) + >=media-libs/alsa-lib-1.0.19:= + media-libs/fontconfig:= + media-libs/freetype:= + >=media-libs/harfbuzz-1.5.0:=[icu(-)] + media-libs/libjpeg-turbo:= + media-libs/libpng:= + system-libvpx? ( media-libs/libvpx:=[postproc,svc] ) + >=media-libs/openh264-1.6.0:= + pulseaudio? ( media-sound/pulseaudio:= ) + system-ffmpeg? ( + >=media-video/ffmpeg-3:= + || ( + media-video/ffmpeg[-samba] + >=net-fs/samba-4.5.10-r1[-debug(-)] + ) + !=net-fs/samba-4.5.12 + media-libs/opus:= + ) + sys-apps/dbus:= + sys-apps/pciutils:= + virtual/udev + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + 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/libXrandr:= + x11-libs/libXrender:= + x11-libs/libXScrnSaver:= + x11-libs/libXtst:= + x11-libs/pango:= + app-arch/snappy:= + media-libs/flac:= + >=media-libs/libwebp-0.4.0:= + sys-libs/zlib:=[minizip] + kerberos? ( virtual/krb5 ) +" +# For nvidia-drivers blocker, see bug #413637 . +RDEPEND="${COMMON_DEPEND} + !=www-client/chromium-9999 + !=dev-python/beautifulsoup-4.3.2:4[${PYTHON_USEDEP}]" && + has_version --host-root "dev-python/html5lib[${PYTHON_USEDEP}]" && + has_version --host-root "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/noto +- media-fonts/ja-ipafonts +- media-fonts/takao-fonts +- media-fonts/wqy-microhei +- media-fonts/wqy-zenhei + +To fix broken icons on the Downloads page, you should install an icon +theme that covers the appropriate MIME types, and configure this as your +GTK+ icon theme. +" + +PATCHES=( + "${FILESDIR}/${PN}-widevine-r1.patch" + "${FILESDIR}/${PN}-FORTIFY_SOURCE-r2.patch" + "${FILESDIR}/${PN}-gcc5-r4.patch" + "${FILESDIR}/${PN}-clang-r1.patch" + "${FILESDIR}/${PN}-webrtc-r0.patch" +) + +pre_build_checks() { + if [[ ${MERGE_TYPE} != binary ]]; then + local -x CPP="$(tc-getCXX) -E" + if tc-is-clang && ! version_is_at_least "3.9.1" "$(clang-fullversion)"; then + # bugs: #601654 + die "At least clang 3.9.1 is required" + fi + if tc-is-gcc && ! version_is_at_least 5.0 "$(gcc-version)"; then + # bugs: #535730, #525374, #518668, #600288, #627356 + die "At least gcc 5.0 is required" + fi + fi + + # Check build requirements, bug #541816 and bug #471810 . + CHECKREQS_MEMORY="3G" + CHECKREQS_DISK_BUILD="5G" + eshopts_push -s extglob + if is-flagq '-g?(gdb)?([1-9])'; then + CHECKREQS_DISK_BUILD="25G" + if ! use component-build; then + CHECKREQS_MEMORY="16G" + fi + fi + eshopts_pop + check-reqs_pkg_setup +} + +pkg_pretend() { + pre_build_checks +} + +pkg_setup() { + pre_build_checks + + # Make sure the build system will use the right python, bug #344367. + python-any-r1_pkg_setup + + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + + mkdir -p third_party/node/linux/node-linux-x64/bin || die + ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die + + local keeplibs=( + 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 + chrome/third_party/mozilla_security_manager + courgette/third_party + net/third_party/mozilla_security_manager + net/third_party/nss + third_party/WebKit + third_party/analytics + third_party/angle + third_party/angle/src/common/third_party/base + third_party/angle/src/common/third_party/smhasher + third_party/angle/src/third_party/compiler + third_party/angle/src/third_party/libXNVCtrl + third_party/angle/src/third_party/trace_event + third_party/blink + third_party/boringssl + third_party/breakpad + third_party/breakpad/breakpad/src/third_party/curl + third_party/brotli + third_party/cacheinvalidation + third_party/catapult + third_party/catapult/common/py_vulcanize/third_party/rcssmin + third_party/catapult/common/py_vulcanize/third_party/rjsmin + third_party/catapult/third_party/polymer + third_party/catapult/tracing/third_party/d3 + third_party/catapult/tracing/third_party/gl-matrix + third_party/catapult/tracing/third_party/jszip + third_party/catapult/tracing/third_party/mannwhitneyu + third_party/catapult/tracing/third_party/oboe + third_party/catapult/tracing/third_party/pako + third_party/ced + third_party/cld_2 + third_party/cld_3 + third_party/crc32c + third_party/cros_system_api + third_party/devscripts + third_party/dom_distiller_js + third_party/fips181 + third_party/flatbuffers + third_party/flot + third_party/freetype + third_party/glslang-angle + 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/googletest + third_party/hunspell + third_party/iccjpeg + third_party/inspector_protocol + third_party/jinja2 + third_party/jstemplate + third_party/khronos + third_party/leveldatabase + third_party/libXNVCtrl + third_party/libaddressinput + third_party/libjingle + third_party/libphonenumber + third_party/libsecret + third_party/libsrtp + third_party/libudev + third_party/libwebm + third_party/libxml/chromium + third_party/libyuv + third_party/lss + third_party/lzma_sdk + third_party/markupsafe + third_party/mesa + third_party/modp_b64 + third_party/mt19937ar + third_party/node + third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 + third_party/openmax_dl + third_party/ots + third_party/pdfium + third_party/pdfium/third_party/agg23 + third_party/pdfium/third_party/base + third_party/pdfium/third_party/build + third_party/pdfium/third_party/bigint + third_party/pdfium/third_party/freetype + third_party/pdfium/third_party/lcms + third_party/pdfium/third_party/libopenjpeg20 + third_party/pdfium/third_party/libpng16 + third_party/pdfium/third_party/libtiff + third_party/ply + third_party/polymer + third_party/protobuf + third_party/protobuf/third_party/six + third_party/qcms + third_party/sfntly + third_party/skia + third_party/skia/third_party/gif + third_party/skia/third_party/vulkan + third_party/smhasher + third_party/spirv-headers + third_party/spirv-tools-angle + third_party/sqlite + third_party/swiftshader + third_party/swiftshader/third_party/llvm-subzero + third_party/swiftshader/third_party/subzero + third_party/usrsctp + third_party/vulkan + third_party/vulkan-validation-layers + third_party/web-animations-js + third_party/webdriver + third_party/webrtc + third_party/widevine + third_party/woff2 + third_party/zlib/google + url/third_party/mozilla + v8/src/third_party/valgrind + v8/third_party/inspector_protocol + + # gyp -> gn leftovers + base/third_party/libevent + third_party/adobe + third_party/speech-dispatcher + third_party/usb_ids + third_party/xdg-utils + third_party/yasm/run_yasm.py + ) + if ! use system-ffmpeg; then + keeplibs+=( third_party/ffmpeg third_party/opus ) + fi + if ! use system-icu; then + keeplibs+=( third_party/icu ) + fi + if ! use system-libvpx; then + keeplibs+=( third_party/libvpx ) + keeplibs+=( third_party/libvpx/source/libvpx/third_party/x86inc ) + fi + if use tcmalloc; then + keeplibs+=( third_party/tcmalloc ) + fi + + # Remove most bundled libraries. Some are still needed. + build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die +} + +bootstrap_gn() { + if tc-is-cross-compiler; then + local -x AR=${BUILD_AR} + local -x CC=${BUILD_CC} + local -x CXX=${BUILD_CXX} + local -x NM=${BUILD_NM} + local -x CFLAGS=${BUILD_CFLAGS} + local -x CXXFLAGS=${BUILD_CXXFLAGS} + local -x LDFLAGS=${BUILD_LDFLAGS} + fi + einfo "Building GN..." + set -- tools/gn/bootstrap/bootstrap.py -s -v --no-clean + echo "$@" + "$@" || die +} + +src_configure() { + local myconf_gn="" + + # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. + myconf_gn+=" is_debug=false" + + # Component build isn't generally intended for use by end users. It's mostly useful + # for development and debugging. + myconf_gn+=" is_component_build=$(usex component-build true false)" + + myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" + + # Disable nacl, we can't build without pnacl (http://crbug.com/269560). + myconf_gn+=" enable_nacl=false" + + # Use system-provided libraries. + # TODO: freetype (https://bugs.chromium.org/p/pdfium/issues/detail?id=733). + # TODO: use_system_hunspell (upstream changes needed). + # TODO: use_system_libsrtp (bug #459932). + # TODO: use_system_protobuf (bug #525560). + # TODO: use_system_ssl (http://crbug.com/58087). + # TODO: use_system_sqlite (http://crbug.com/22208). + + # libevent: https://bugs.gentoo.org/593458 + local gn_system_libraries=( + flac + # Need harfbuzz_from_pkgconfig target + #harfbuzz-ng + libdrm + libjpeg + libpng + libwebp + libxml + libxslt + openh264 + re2 + snappy + yasm + zlib + ) + if use system-ffmpeg; then + gn_system_libraries+=( ffmpeg opus ) + fi + if use system-icu; then + gn_system_libraries+=( icu ) + fi + if use system-libvpx; then + gn_system_libraries+=( libvpx ) + fi + build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die + + # See dependency logic in third_party/BUILD.gn + myconf_gn+=" use_system_harfbuzz=true" + + # Optional dependencies. + myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" + myconf_gn+=" enable_widevine=$(usex widevine true false)" + myconf_gn+=" use_cups=$(usex cups true false)" + myconf_gn+=" use_gconf=false" + myconf_gn+=" use_gnome_keyring=$(usex gnome-keyring true false)" + myconf_gn+=" use_kerberos=$(usex kerberos true false)" + myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)" + + # TODO: link_pulseaudio=true for GN. + + myconf_gn+=" fieldtrial_testing_like_official_build=true" + + if tc-is-clang; then + myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" + else + myconf_gn+=" is_clang=false" + fi + + # Never use bundled gold binary. Disable gold linker flags for now. + # Do not use bundled clang. + # Trying to use gold results in linker crash. + myconf_gn+=" use_gold=false use_sysroot=false linux_use_bundled_binutils=false use_custom_libcxx=false" + + ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" + myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" + myconf_gn+=" ffmpeg_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. + local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" + local google_default_client_id="329227923882.apps.googleusercontent.com" + local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" + myconf_gn+=" google_api_key=\"${google_api_key}\"" + myconf_gn+=" google_default_client_id=\"${google_default_client_id}\"" + myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\"" + + local myarch="$(tc-arch)" + if [[ $myarch = amd64 ]] ; then + myconf_gn+=" target_cpu=\"x64\"" + ffmpeg_target_arch=x64 + elif [[ $myarch = x86 ]] ; then + myconf_gn+=" target_cpu=\"x86\"" + ffmpeg_target_arch=ia32 + elif [[ $myarch = arm64 ]] ; then + myconf_gn+=" target_cpu=\"arm64\"" + ffmpeg_target_arch=arm64 + elif [[ $myarch = arm ]] ; then + myconf_gn+=" target_cpu=\"arm\"" + ffmpeg_target_arch=$(usex neon arm-neon arm) + else + die "Failed to determine target arch, got '$myarch'." + fi + + # 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_gn+=" treat_warnings_as_errors=false" + + # Disable fatal linker warnings, bug 506268. + myconf_gn+=" fatal_linker_warnings=false" + + # 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-avx -mno-avx2 + fi + fi + + # Make sure the build system will use the right tools, bug #340795. + tc-export AR CC CXX NM + + # Define a custom toolchain for GN + myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\"" + + if tc-is-cross-compiler; then + tc-export BUILD_{AR,CC,CXX,NM} + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:host\"" + myconf_gn+=" v8_snapshot_toolchain=\"//build/toolchain/linux/unbundle:host\"" + else + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" + fi + + # https://bugs.gentoo.org/588596 + append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks) + + # Bug 491582. + export TMPDIR="${WORKDIR}/temp" + mkdir -p -m 755 "${TMPDIR}" || die + + if ! use system-ffmpeg; then + 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_gn.py || die + popd > /dev/null || die + fi + + bootstrap_gn + + einfo "Configuring Chromium..." + set -- out/Release/gn gen --args="${myconf_gn}" out/Release + echo "$@" + "$@" || die +} + +src_compile() { + local ninja_targets="chrome chromedriver" + if use suid; then + ninja_targets+=" chrome_sandbox" + fi + + # Build mksnapshot and pax-mark it. + if tc-is-cross-compiler; then + eninja -C out/Release host/mksnapshot || die + pax-mark m out/Release/host/mksnapshot + else + eninja -C out/Release mksnapshot || die + pax-mark m out/Release/mksnapshot + fi + + # 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() { + local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" + exeinto "${CHROMIUM_HOME}" + doexe out/Release/chrome + + if use suid; then + newexe out/Release/chrome_sandbox chrome-sandbox + fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" + fi + + doexe out/Release/chromedriver + + local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" ) + 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 + # keep the old symlink around for consistency + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium + + dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver + + # Allow users to override command-line options, bug #357629. + insinto /etc/chromium + newins "${FILESDIR}/chromium.default" "default" + + pushd out/Release/locales > /dev/null || die + chromium_remove_language_paks + popd + + if use widevine; then + # These will be provided by chrome-binary-plugins + rm out/Release/libwidevinecdm*.so || die + fi + + insinto "${CHROMIUM_HOME}" + doins out/Release/*.bin + doins out/Release/*.pak + doins out/Release/*.so + + if ! use system-icu; then + doins out/Release/icudtl.dat + fi + + doins -r out/Release/locales + doins -r out/Release/resources + + insinto "${CHROMIUM_HOME}/swiftshader" + doins out/Release/swiftshader/*.so + + # 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.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" \ + chromium-browser \ + "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). + insinto /usr/share/gnome-control-center/default-apps + newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml + + readme.gentoo_create_doc +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog +} diff --git a/www-client/chromium/chromium-64.0.3253.3.ebuild b/www-client/chromium/chromium-64.0.3253.3.ebuild new file mode 100644 index 000000000000..2018f07b04ea --- /dev/null +++ b/www-client/chromium/chromium-64.0.3253.3.ebuild @@ -0,0 +1,657 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PYTHON_COMPAT=( python2_7 ) + +CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils + +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 ~arm64 ~x86" +IUSE="component-build cups gnome-keyring +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine" +RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )" + +COMMON_DEPEND=" + app-arch/bzip2:= + cups? ( >=net-print/cups-1.3.11:= ) + dev-libs/expat:= + dev-libs/glib:2 + system-icu? ( >=dev-libs/icu-59:= ) + >=dev-libs/libxml2-2.9.4-r3:=[icu] + dev-libs/libxslt:= + dev-libs/nspr:= + >=dev-libs/nss-3.14.3:= + >=dev-libs/re2-0.2016.05.01:= + gnome-keyring? ( >=gnome-base/libgnome-keyring-3.12:= ) + >=media-libs/alsa-lib-1.0.19:= + media-libs/fontconfig:= + media-libs/freetype:= + >=media-libs/harfbuzz-1.5.0:=[icu(-)] + media-libs/libjpeg-turbo:= + media-libs/libpng:= + system-libvpx? ( media-libs/libvpx:=[postproc,svc] ) + >=media-libs/openh264-1.6.0:= + pulseaudio? ( media-sound/pulseaudio:= ) + system-ffmpeg? ( + >=media-video/ffmpeg-3:= + || ( + media-video/ffmpeg[-samba] + >=net-fs/samba-4.5.10-r1[-debug(-)] + ) + !=net-fs/samba-4.5.12 + media-libs/opus:= + ) + sys-apps/dbus:= + sys-apps/pciutils:= + virtual/udev + x11-libs/cairo:= + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3[X] + 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/libXrandr:= + x11-libs/libXrender:= + x11-libs/libXScrnSaver:= + x11-libs/libXtst:= + x11-libs/pango:= + app-arch/snappy:= + media-libs/flac:= + >=media-libs/libwebp-0.4.0:= + sys-libs/zlib:=[minizip] + kerberos? ( virtual/krb5 ) +" +# For nvidia-drivers blocker, see bug #413637 . +RDEPEND="${COMMON_DEPEND} + !=www-client/chromium-9999 + !=dev-python/beautifulsoup-4.3.2:4[${PYTHON_USEDEP}]" && + has_version --host-root "dev-python/html5lib[${PYTHON_USEDEP}]" && + has_version --host-root "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/noto +- media-fonts/ja-ipafonts +- media-fonts/takao-fonts +- media-fonts/wqy-microhei +- media-fonts/wqy-zenhei + +To fix broken icons on the Downloads page, you should install an icon +theme that covers the appropriate MIME types, and configure this as your +GTK+ icon theme. +" + +PATCHES=( + "${FILESDIR}/chromium-widevine-r1.patch" + "${FILESDIR}/chromium-FORTIFY_SOURCE-r2.patch" + "${FILESDIR}/chromium-webrtc-r0.patch" + "${FILESDIR}/chromium-math-includes-r0.patch" + "${FILESDIR}/chromium-${PV}-gpu_lists_version.h.patch" +) + +pre_build_checks() { + if [[ ${MERGE_TYPE} != binary ]]; then + local -x CPP="$(tc-getCXX) -E" + if tc-is-clang && ! version_is_at_least "3.9.1" "$(clang-fullversion)"; then + # bugs: #601654 + die "At least clang 3.9.1 is required" + fi + if tc-is-gcc && ! version_is_at_least 5.0 "$(gcc-version)"; then + # bugs: #535730, #525374, #518668, #600288, #627356 + die "At least gcc 5.0 is required" + fi + fi + + # Check build requirements, bug #541816 and bug #471810 . + CHECKREQS_MEMORY="3G" + CHECKREQS_DISK_BUILD="5G" + eshopts_push -s extglob + if is-flagq '-g?(gdb)?([1-9])'; then + CHECKREQS_DISK_BUILD="25G" + if ! use component-build; then + CHECKREQS_MEMORY="16G" + fi + fi + eshopts_pop + check-reqs_pkg_setup +} + +pkg_pretend() { + pre_build_checks +} + +pkg_setup() { + pre_build_checks + + # Make sure the build system will use the right python, bug #344367. + python-any-r1_pkg_setup + + chromium_suid_sandbox_check_kernel_config +} + +src_prepare() { + default + + mkdir -p third_party/node/linux/node-linux-x64/bin || die + ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die + + local keeplibs=( + 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 + chrome/third_party/mozilla_security_manager + courgette/third_party + net/third_party/mozilla_security_manager + net/third_party/nss + third_party/WebKit + third_party/analytics + third_party/angle + third_party/angle/src/common/third_party/base + third_party/angle/src/common/third_party/smhasher + third_party/angle/src/third_party/compiler + third_party/angle/src/third_party/libXNVCtrl + third_party/angle/src/third_party/trace_event + third_party/blink + third_party/boringssl + third_party/breakpad + third_party/breakpad/breakpad/src/third_party/curl + third_party/brotli + third_party/cacheinvalidation + third_party/catapult + third_party/catapult/common/py_vulcanize/third_party/rcssmin + third_party/catapult/common/py_vulcanize/third_party/rjsmin + third_party/catapult/third_party/polymer + third_party/catapult/tracing/third_party/d3 + third_party/catapult/tracing/third_party/gl-matrix + third_party/catapult/tracing/third_party/jszip + third_party/catapult/tracing/third_party/mannwhitneyu + third_party/catapult/tracing/third_party/oboe + third_party/catapult/tracing/third_party/pako + third_party/ced + third_party/cld_2 + third_party/cld_3 + third_party/crc32c + third_party/cros_system_api + third_party/devscripts + third_party/dom_distiller_js + third_party/fips181 + third_party/flatbuffers + third_party/flot + third_party/freetype + third_party/glslang-angle + 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/googletest + third_party/hunspell + third_party/iccjpeg + third_party/inspector_protocol + third_party/jinja2 + third_party/jstemplate + third_party/khronos + third_party/leveldatabase + third_party/libXNVCtrl + third_party/libaddressinput + third_party/libjingle + third_party/libphonenumber + third_party/libsecret + third_party/libsrtp + third_party/libudev + third_party/libwebm + third_party/libxml/chromium + third_party/libyuv + third_party/lss + third_party/lzma_sdk + third_party/markupsafe + third_party/mesa + third_party/metrics_proto + third_party/modp_b64 + third_party/mt19937ar + third_party/node + third_party/node/node_modules/polymer-bundler/lib/third_party/UglifyJS2 + third_party/openmax_dl + third_party/ots + third_party/pdfium + third_party/pdfium/third_party/agg23 + third_party/pdfium/third_party/base + third_party/pdfium/third_party/build + third_party/pdfium/third_party/bigint + third_party/pdfium/third_party/freetype + third_party/pdfium/third_party/lcms + third_party/pdfium/third_party/libopenjpeg20 + third_party/pdfium/third_party/libpng16 + third_party/pdfium/third_party/libtiff + third_party/ply + third_party/polymer + third_party/protobuf + third_party/protobuf/third_party/six + third_party/qcms + third_party/sfntly + third_party/skia + third_party/skia/third_party/gif + third_party/skia/third_party/vulkan + third_party/smhasher + third_party/spirv-headers + third_party/spirv-tools-angle + third_party/sqlite + third_party/swiftshader + third_party/swiftshader/third_party/llvm-subzero + third_party/swiftshader/third_party/subzero + third_party/usrsctp + third_party/vulkan + third_party/vulkan-validation-layers + third_party/web-animations-js + third_party/webdriver + third_party/webrtc + third_party/widevine + third_party/woff2 + third_party/zlib/google + url/third_party/mozilla + v8/src/third_party/valgrind + v8/third_party/inspector_protocol + + # gyp -> gn leftovers + base/third_party/libevent + third_party/adobe + third_party/speech-dispatcher + third_party/usb_ids + third_party/xdg-utils + third_party/yasm/run_yasm.py + ) + if ! use system-ffmpeg; then + keeplibs+=( third_party/ffmpeg third_party/opus ) + fi + if ! use system-icu; then + keeplibs+=( third_party/icu ) + fi + if ! use system-libvpx; then + keeplibs+=( third_party/libvpx ) + keeplibs+=( third_party/libvpx/source/libvpx/third_party/x86inc ) + fi + if use tcmalloc; then + keeplibs+=( third_party/tcmalloc ) + fi + + # Remove most bundled libraries. Some are still needed. + build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove || die +} + +bootstrap_gn() { + if tc-is-cross-compiler; then + local -x AR=${BUILD_AR} + local -x CC=${BUILD_CC} + local -x CXX=${BUILD_CXX} + local -x NM=${BUILD_NM} + local -x CFLAGS=${BUILD_CFLAGS} + local -x CXXFLAGS=${BUILD_CXXFLAGS} + local -x LDFLAGS=${BUILD_LDFLAGS} + fi + einfo "Building GN..." + set -- tools/gn/bootstrap/bootstrap.py -s -v --no-clean + echo "$@" + "$@" || die +} + +src_configure() { + local myconf_gn="" + + # GN needs explicit config for Debug/Release as opposed to inferring it from build directory. + myconf_gn+=" is_debug=false" + + # Component build isn't generally intended for use by end users. It's mostly useful + # for development and debugging. + myconf_gn+=" is_component_build=$(usex component-build true false)" + + myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" + + # Disable nacl, we can't build without pnacl (http://crbug.com/269560). + myconf_gn+=" enable_nacl=false" + + # Use system-provided libraries. + # TODO: freetype (https://bugs.chromium.org/p/pdfium/issues/detail?id=733). + # TODO: use_system_hunspell (upstream changes needed). + # TODO: use_system_libsrtp (bug #459932). + # TODO: use_system_protobuf (bug #525560). + # TODO: use_system_ssl (http://crbug.com/58087). + # TODO: use_system_sqlite (http://crbug.com/22208). + + # libevent: https://bugs.gentoo.org/593458 + local gn_system_libraries=( + flac + # Need harfbuzz_from_pkgconfig target + #harfbuzz-ng + libdrm + libjpeg + libpng + libwebp + libxml + libxslt + openh264 + re2 + snappy + yasm + zlib + ) + if use system-ffmpeg; then + gn_system_libraries+=( ffmpeg opus ) + fi + if use system-icu; then + gn_system_libraries+=( icu ) + fi + if use system-libvpx; then + gn_system_libraries+=( libvpx ) + fi + build/linux/unbundle/replace_gn_files.py --system-libraries "${gn_system_libraries[@]}" || die + + # See dependency logic in third_party/BUILD.gn + myconf_gn+=" use_system_harfbuzz=true" + + # Optional dependencies. + myconf_gn+=" enable_hangout_services_extension=$(usex hangouts true false)" + myconf_gn+=" enable_widevine=$(usex widevine true false)" + myconf_gn+=" use_cups=$(usex cups true false)" + myconf_gn+=" use_gconf=false" + myconf_gn+=" use_gnome_keyring=$(usex gnome-keyring true false)" + myconf_gn+=" use_kerberos=$(usex kerberos true false)" + myconf_gn+=" use_pulseaudio=$(usex pulseaudio true false)" + + # TODO: link_pulseaudio=true for GN. + + myconf_gn+=" fieldtrial_testing_like_official_build=true" + + if tc-is-clang; then + myconf_gn+=" is_clang=true clang_use_chrome_plugins=false" + else + myconf_gn+=" is_clang=false" + fi + + # Never use bundled gold binary. Disable gold linker flags for now. + # Do not use bundled clang. + # Trying to use gold results in linker crash. + myconf_gn+=" use_gold=false use_sysroot=false linux_use_bundled_binutils=false use_custom_libcxx=false" + + ffmpeg_branding="$(usex proprietary-codecs Chrome Chromium)" + myconf_gn+=" proprietary_codecs=$(usex proprietary-codecs true false)" + myconf_gn+=" ffmpeg_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. + local google_api_key="AIzaSyDEAOvatFo0eTgsV_ZlEzx0ObmepsMzfAc" + local google_default_client_id="329227923882.apps.googleusercontent.com" + local google_default_client_secret="vgKG0NNv7GoDpbtoFNLxCUXu" + myconf_gn+=" google_api_key=\"${google_api_key}\"" + myconf_gn+=" google_default_client_id=\"${google_default_client_id}\"" + myconf_gn+=" google_default_client_secret=\"${google_default_client_secret}\"" + + local myarch="$(tc-arch)" + if [[ $myarch = amd64 ]] ; then + myconf_gn+=" target_cpu=\"x64\"" + ffmpeg_target_arch=x64 + elif [[ $myarch = x86 ]] ; then + myconf_gn+=" target_cpu=\"x86\"" + ffmpeg_target_arch=ia32 + elif [[ $myarch = arm64 ]] ; then + myconf_gn+=" target_cpu=\"arm64\"" + ffmpeg_target_arch=arm64 + elif [[ $myarch = arm ]] ; then + myconf_gn+=" target_cpu=\"arm\"" + ffmpeg_target_arch=$(usex neon arm-neon arm) + else + die "Failed to determine target arch, got '$myarch'." + fi + + # 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_gn+=" treat_warnings_as_errors=false" + + # Disable fatal linker warnings, bug 506268. + myconf_gn+=" fatal_linker_warnings=false" + + # 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-avx -mno-avx2 + fi + fi + + # Make sure the build system will use the right tools, bug #340795. + tc-export AR CC CXX NM + + # Define a custom toolchain for GN + myconf_gn+=" custom_toolchain=\"//build/toolchain/linux/unbundle:default\"" + + if tc-is-cross-compiler; then + tc-export BUILD_{AR,CC,CXX,NM} + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:host\"" + myconf_gn+=" v8_snapshot_toolchain=\"//build/toolchain/linux/unbundle:host\"" + else + myconf_gn+=" host_toolchain=\"//build/toolchain/linux/unbundle:default\"" + fi + + # https://bugs.gentoo.org/588596 + append-cxxflags $(test-flags-CXX -fno-delete-null-pointer-checks) + + # Bug 491582. + export TMPDIR="${WORKDIR}/temp" + mkdir -p -m 755 "${TMPDIR}" || die + + if ! use system-ffmpeg; then + 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_gn.py || die + popd > /dev/null || die + fi + + bootstrap_gn + + einfo "Configuring Chromium..." + set -- out/Release/gn gen --args="${myconf_gn}" out/Release + echo "$@" + "$@" || die +} + +src_compile() { + local ninja_targets="chrome chromedriver" + if use suid; then + ninja_targets+=" chrome_sandbox" + fi + + # Build mksnapshot and pax-mark it. + if tc-is-cross-compiler; then + eninja -C out/Release host/mksnapshot || die + pax-mark m out/Release/host/mksnapshot + else + eninja -C out/Release mksnapshot || die + pax-mark m out/Release/mksnapshot + fi + + # 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() { + local CHROMIUM_HOME="/usr/$(get_libdir)/chromium-browser" + exeinto "${CHROMIUM_HOME}" + doexe out/Release/chrome + + if use suid; then + newexe out/Release/chrome_sandbox chrome-sandbox + fperms 4755 "${CHROMIUM_HOME}/chrome-sandbox" + fi + + doexe out/Release/chromedriver + + local sedargs=( -e "s:/usr/lib/:/usr/$(get_libdir)/:g" ) + 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 + # keep the old symlink around for consistency + dosym "${CHROMIUM_HOME}/chromium-launcher.sh" /usr/bin/chromium + + dosym "${CHROMIUM_HOME}/chromedriver" /usr/bin/chromedriver + + # Allow users to override command-line options, bug #357629. + insinto /etc/chromium + newins "${FILESDIR}/chromium.default" "default" + + pushd out/Release/locales > /dev/null || die + chromium_remove_language_paks + popd + + if use widevine; then + # These will be provided by chrome-binary-plugins + rm out/Release/libwidevinecdm*.so || die + fi + + insinto "${CHROMIUM_HOME}" + doins out/Release/*.bin + doins out/Release/*.pak + doins out/Release/*.so + + if ! use system-icu; then + doins out/Release/icudtl.dat + fi + + doins -r out/Release/locales + doins -r out/Release/resources + + insinto "${CHROMIUM_HOME}/swiftshader" + doins out/Release/swiftshader/*.so + + # 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.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" \ + chromium-browser \ + "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). + insinto /usr/share/gnome-control-center/default-apps + newins "${FILESDIR}"/chromium-browser.xml chromium-browser.xml + + readme.gentoo_create_doc +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog +} diff --git a/www-client/chromium/files/chromium-64.0.3253.3-gpu_lists_version.h.patch b/www-client/chromium/files/chromium-64.0.3253.3-gpu_lists_version.h.patch new file mode 100644 index 000000000000..c961cb6eaf5a --- /dev/null +++ b/www-client/chromium/files/chromium-64.0.3253.3-gpu_lists_version.h.patch @@ -0,0 +1,11 @@ +--- /dev/null ++++ a/gpu/config/gpu_lists_version.h +@@ -0,0 +1,8 @@ ++/* Generated by lastchange.py, do not edit.*/ ++ ++#ifndef GPU_CONFIG_GPU_LISTS_VERSION_H_ ++#define GPU_CONFIG_GPU_LISTS_VERSION_H_ ++ ++#define GPU_LISTS_VERSION "0a025c20792ce26a88112a00c936f463f190d394" ++ ++#endif // GPU_CONFIG_GPU_LISTS_VERSION_H_ diff --git a/www-client/chromium/files/chromium-math-includes-r0.patch b/www-client/chromium/files/chromium-math-includes-r0.patch new file mode 100644 index 000000000000..4d2cd324c2a9 --- /dev/null +++ b/www-client/chromium/files/chromium-math-includes-r0.patch @@ -0,0 +1,31 @@ +From c6cb5c835e12ffa75e26eaefeef631d125c4e04d Mon Sep 17 00:00:00 2001 +From: Philippe Hamel +Date: Wed, 1 Nov 2017 18:41:59 +0000 +Subject: [PATCH] Fix GenericLogisticRegressionInference includes. + +Bug: 759161 +Change-Id: I199c7604eb38fc5a1b8107710eeaa27f8e71b299 +Reviewed-on: https://chromium-review.googlesource.com/743690 +Commit-Queue: Philippe Hamel +Reviewed-by: Roger McFarlane +Cr-Commit-Position: refs/heads/master@{#513195} +--- + .../machine_intelligence/generic_logistic_regression_inference.cc | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/components/machine_intelligence/generic_logistic_regression_inference.cc b/components/machine_intelligence/generic_logistic_regression_inference.cc +index cf6420b85113..d085f6d1f537 100644 +--- a/components/machine_intelligence/generic_logistic_regression_inference.cc ++++ b/components/machine_intelligence/generic_logistic_regression_inference.cc +@@ -4,6 +4,8 @@ + + #include "components/machine_intelligence/generic_logistic_regression_inference.h" + ++#include ++ + #include "base/logging.h" + #include "components/machine_intelligence/ranker_example_util.h" + +-- +2.15.0 + diff --git a/www-client/chromium/files/chromium-webrtc-r0.patch b/www-client/chromium/files/chromium-webrtc-r0.patch new file mode 100644 index 000000000000..e14b185acb9b --- /dev/null +++ b/www-client/chromium/files/chromium-webrtc-r0.patch @@ -0,0 +1,34 @@ +From 7f90e2cceda0458cf56026eb6ccffb961a47804b Mon Sep 17 00:00:00 2001 +From: Raphael Kubo da Costa +Date: Fri, 13 Oct 2017 15:49:32 +0200 +Subject: [PATCH] IWYU: Include math.h for round(3). + +math.h was being implicitly included, which can break the build with +alternative libc implementations. + +Bug: None +Change-Id: I969b320b65d0f44abb33d3e1036cfbcb859a4952 +Reviewed-on: https://webrtc-review.googlesource.com/9384 +Reviewed-by: Tommi +Commit-Queue: Raphael Kubo da Costa (rakuco) +Cr-Commit-Position: refs/heads/master@{#20292} +--- + p2p/base/port.cc | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/p2p/base/port.cc b/p2p/base/port.cc +index a1b478d11..81aa0aadb 100644 +--- a/third_party/webrtc/p2p/base/port.cc ++++ b/third_party/webrtc/p2p/base/port.cc +@@ -10,6 +10,8 @@ + + #include "p2p/base/port.h" + ++#include ++ + #include + #include + +-- +2.15.0.rc2 + diff --git a/www-client/google-chrome-beta/Manifest b/www-client/google-chrome-beta/Manifest index 108780f3cb66..7c3b7d5372fb 100644 --- a/www-client/google-chrome-beta/Manifest +++ b/www-client/google-chrome-beta/Manifest @@ -1,5 +1,5 @@ -DIST google-chrome-beta_63.0.3239.30-1_amd64.deb 50548256 SHA256 da0f163e662707d5ac8a3dcfff649ce062a232494466e41a6f6900f8869b2c01 SHA512 f7a497605c6115bf8c3ddc6a916929ddba255fd63e3dabce32f5929bbf691f224a6bbb23d4b8bc73488bc06c2560a47db195b7bde5c8793bd28931bf979f2605 WHIRLPOOL 4096a31a9f8316d26f1c52a7a82509b6cfc4411c7ce042037c182d2858fbbe794b3bf92c6c017ee99a7f0296ea9b44e9e37e78a8ee235669c73f00d3151822eb -EBUILD google-chrome-beta-63.0.3239.30.ebuild 3537 SHA256 69963e5873f27f0805ba0cc65a76f1a2ba7e77b4d6b94b8b6dce338edfa47db8 SHA512 2db889ef7c6a270a30ad4cb84bf4efa76d255593a8a5320894d326605c5d8404565be8e3f1658cfd06ae51fbb52a0a1d1f81713625ef453587462d1956eae07c WHIRLPOOL f6c679cbaac78d521e053b397a0b0a3b1af081296b75c96d0ed2fcfcf1b7a14c47b1e235627d0198f4fa055b6b47246cd2895cef32bb400e3097a99a74dd8613 +DIST google-chrome-beta_63.0.3239.40-1_amd64.deb 18673664 SHA256 4c501e36e90ef9354bcd40dbac8d83cfdfa46ae48735d7f941010f99feb0c8ff SHA512 c2941b6e371c65776f79c45a1973ad580d444126e79ded5c15c0ac8f025107fa27f00bfe0d35d69fd60077d54f94b925a20ef1f97ae6ee90086f4fa13dc0c82e WHIRLPOOL 436926878caebbcad0e0df64226376dc614ace83e130bbfd477e04b3f313f138ab0d7005c96e4ff7853b0abcc6650c8c0c731ad287126d1919baa281cb04eaa9 +EBUILD google-chrome-beta-63.0.3239.40.ebuild 3537 SHA256 69963e5873f27f0805ba0cc65a76f1a2ba7e77b4d6b94b8b6dce338edfa47db8 SHA512 2db889ef7c6a270a30ad4cb84bf4efa76d255593a8a5320894d326605c5d8404565be8e3f1658cfd06ae51fbb52a0a1d1f81713625ef453587462d1956eae07c WHIRLPOOL f6c679cbaac78d521e053b397a0b0a3b1af081296b75c96d0ed2fcfcf1b7a14c47b1e235627d0198f4fa055b6b47246cd2895cef32bb400e3097a99a74dd8613 MISC ChangeLog 21904 SHA256 b56029d26bb3007cfc2f52b8d5031881a614b643fcd2b5966ebb050d567a9ff5 SHA512 1fa256503b4ee20b0e8f8b3e3af6a4d1e581fa2050a0199dcce6495960c74e62e5bcc9b37309671889afe7fc4ca443a0e1f21626d653d426b4ed9582792e9e7e WHIRLPOOL 24e45971afcbcf260a68aee5dac7b2db643d139a0552568d39c0e8b7567435fedbb9a8b5a87563bbd24c8dcf9a9c9a25991a24680bb27c4f7bf1e3dbaf6feada MISC ChangeLog-2015 18731 SHA256 244ca1dc0c95828216c5a3a9878ee0c1bf6ca757885b8afc39a9cbd11d7477fc SHA512 70b0fe368012d1d3bd0997af71bed3fdb0f3933383ef4c0335238a7f016435f48f03ccd2c2cb432445c3b0dc1b9e6dcd3b687e65c478899b7bae0701bbf250f2 WHIRLPOOL ddb2e222026feb62390eb8bcc07514c1a00a177fada1eed838155637afbf00fa139e5a59e1175bf7157c97a7aecc6a1aff7ae4304d3251c993661da1105f461a MISC metadata.xml 624 SHA256 e295fc153645351df4b2501b78b8d6115f66e439acec1e3ae35afc84ee027de1 SHA512 318638d149ddf7c81310b8d1fc6e38525665ea5e3b7fc6830ed3b13547f80635e6a5fba60b60829187742ffc1217beaf7a72bcee2c6b76736316e004ad336786 WHIRLPOOL 4b31e15fcc05fce91aad8bbcfe28511b32f35be1a2d747661be604ff691682be30c73086ce24f5b00a83540bc494d3a4a32585ceaf78cbcd1b4070cf5012e1f2 diff --git a/www-client/google-chrome-beta/google-chrome-beta-63.0.3239.30.ebuild b/www-client/google-chrome-beta/google-chrome-beta-63.0.3239.30.ebuild deleted file mode 100644 index 15a697bab362..000000000000 --- a/www-client/google-chrome-beta/google-chrome-beta-63.0.3239.30.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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 readme.gentoo-r1 chromium-2 eutils gnome2-utils pax-utils unpacker xdg-utils - -DESCRIPTION="The web browser from Google" -HOMEPAGE="https://www.google.com/chrome" - -if [[ ${PN} == google-chrome ]]; then - MY_PN=${PN}-stable -else - MY_PN=${PN} -fi - -MY_P="${MY_PN}_${PV}-1" - -SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" - -LICENSE="google-chrome" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="+plugins" -RESTRICT="bindist mirror strip" - -DEPEND="" -RDEPEND=" - app-arch/bzip2 - app-misc/ca-certificates - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype:2 - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - >=x11-libs/libX11-1.5.0 - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXScrnSaver - x11-libs/libXtst - x11-libs/pango - x11-misc/xdg-utils -" - -QA_PREBUILT="*" -QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" -S=${WORKDIR} -CHROME_HOME="opt/google/chrome${PN#google-chrome}" - -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-frameworks/oxygen-icons. - -For other desktop environments, try one of the following: -- x11-themes/gnome-icon-theme -- x11-themes/tango-icon-theme - -Please notice the bundled flash player (PepperFlash). -You can (de)activate all flash plugins via chrome://plugins -" - -pkg_nofetch() { - eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." -} - -pkg_pretend() { - # Protect against people using autounmask overzealously - use amd64 || die "google-chrome only works on amd64" -} - -pkg_setup() { - chromium_suid_sandbox_check_kernel_config -} - -src_unpack() { - : -} - -src_install() { - dodir / - cd "${ED}" || die - unpacker - - rm -r etc usr/share/menu || die - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die - - pushd "${CHROME_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - if use plugins ; then - local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" - sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ - -i "${CHROME_HOME}/${PN}" || die - fi - - local size - for size in 16 22 24 32 48 64 128 256 ; do - newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png - done - - pax-mark m "${CHROME_HOME}/chrome" - - readme.gentoo_create_doc -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - readme.gentoo_print_elog -} diff --git a/www-client/google-chrome-beta/google-chrome-beta-63.0.3239.40.ebuild b/www-client/google-chrome-beta/google-chrome-beta-63.0.3239.40.ebuild new file mode 100644 index 000000000000..15a697bab362 --- /dev/null +++ b/www-client/google-chrome-beta/google-chrome-beta-63.0.3239.40.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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 readme.gentoo-r1 chromium-2 eutils gnome2-utils pax-utils unpacker xdg-utils + +DESCRIPTION="The web browser from Google" +HOMEPAGE="https://www.google.com/chrome" + +if [[ ${PN} == google-chrome ]]; then + MY_PN=${PN}-stable +else + MY_PN=${PN} +fi + +MY_P="${MY_PN}_${PV}-1" + +SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="+plugins" +RESTRICT="bindist mirror strip" + +DEPEND="" +RDEPEND=" + app-arch/bzip2 + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype:2 + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + >=x11-libs/libX11-1.5.0 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/pango + x11-misc/xdg-utils +" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" +S=${WORKDIR} +CHROME_HOME="opt/google/chrome${PN#google-chrome}" + +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-frameworks/oxygen-icons. + +For other desktop environments, try one of the following: +- x11-themes/gnome-icon-theme +- x11-themes/tango-icon-theme + +Please notice the bundled flash player (PepperFlash). +You can (de)activate all flash plugins via chrome://plugins +" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." +} + +pkg_pretend() { + # Protect against people using autounmask overzealously + use amd64 || die "google-chrome only works on amd64" +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + unpacker + + rm -r etc usr/share/menu || die + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + pushd "${CHROME_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + if use plugins ; then + local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" + sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ + -i "${CHROME_HOME}/${PN}" || die + fi + + local size + for size in 16 22 24 32 48 64 128 256 ; do + newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png + done + + pax-mark m "${CHROME_HOME}/chrome" + + readme.gentoo_create_doc +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog +} diff --git a/www-client/google-chrome-unstable/Manifest b/www-client/google-chrome-unstable/Manifest index 51cdd3d1e4f5..8bf7ffa4adf4 100644 --- a/www-client/google-chrome-unstable/Manifest +++ b/www-client/google-chrome-unstable/Manifest @@ -1,5 +1,5 @@ -DIST google-chrome-unstable_64.0.3253.3-1_amd64.deb 50500116 SHA256 bc04986d4996eb595a0bb7783fb4104a375a3a7c4da7d108f300e33a58b52835 SHA512 9cb2457bb2a0984286d56bc7d9d37066ec25d85f78c2420f7d2bae310be90385e81a67b003ae9e988c9be7d4001b6eefdb8235c2ca142405d3a081439be09469 WHIRLPOOL d17f28529a822fe0938cf3ccfe4219b7c947ade0bc72f912631a9edeffc206af9a8721f25e63407c7f7554c4c8421381a1bd161a71a0d61ff4782aebe277004e -EBUILD google-chrome-unstable-64.0.3253.3.ebuild 3537 SHA256 69963e5873f27f0805ba0cc65a76f1a2ba7e77b4d6b94b8b6dce338edfa47db8 SHA512 2db889ef7c6a270a30ad4cb84bf4efa76d255593a8a5320894d326605c5d8404565be8e3f1658cfd06ae51fbb52a0a1d1f81713625ef453587462d1956eae07c WHIRLPOOL f6c679cbaac78d521e053b397a0b0a3b1af081296b75c96d0ed2fcfcf1b7a14c47b1e235627d0198f4fa055b6b47246cd2895cef32bb400e3097a99a74dd8613 +DIST google-chrome-unstable_64.0.3260.2-1_amd64.deb 51472720 SHA256 6f1eb5342f2d6ceea74ab71a1b68eeabc4dacdc3313d2c60bbdb0f3d379c76df SHA512 8ca557a144e156360f6aba413487e2b4128a50e4d21698d8aea1dacd6c19a70ebe6c25ad551e183ee33bfd66ed1a5223d729a628472e830eebe6378248ba9bee WHIRLPOOL 7a9ca971869b535437ad8f1bc73a534ced7b3b969ee983957287f013cb3b3e46a9f2960933ef67c116dbcc2e5bc44bfda3c00457ebbba4d98273ebdb2ea3249e +EBUILD google-chrome-unstable-64.0.3260.2.ebuild 3537 SHA256 69963e5873f27f0805ba0cc65a76f1a2ba7e77b4d6b94b8b6dce338edfa47db8 SHA512 2db889ef7c6a270a30ad4cb84bf4efa76d255593a8a5320894d326605c5d8404565be8e3f1658cfd06ae51fbb52a0a1d1f81713625ef453587462d1956eae07c WHIRLPOOL f6c679cbaac78d521e053b397a0b0a3b1af081296b75c96d0ed2fcfcf1b7a14c47b1e235627d0198f4fa055b6b47246cd2895cef32bb400e3097a99a74dd8613 MISC ChangeLog 26760 SHA256 d211ce81fe772ad972458400d9065f652f351a6dff428e1ed65abf256476219f SHA512 3341263860b9c45ade48a8bc0c83303b15ddadf6defbfbcabd6864896d67cf51b818afb3fafb064a373cc89c2b93eb1a27af2b2a8f8e8761a54d1bebbbc0b32c WHIRLPOOL 0c61e5cba799fb10a3e6b123f4c63f9cd6c394a40f4226f6f9b7db97fd1f5ed26c0909013e1d2d037ecbdca9539db590a42589bf78aa4e6955cd01ee5c4a9075 MISC ChangeLog-2015 24195 SHA256 03cd9f706b00090ca8e0a16169bc3c45a48f3e499191f7fb6565f1988b5b8f62 SHA512 6b25f7c076af400be3e91275fcb82401d40b50327dd76a5796f0d94cf16747a6a5e4dcfa1a3da2ee737dc6bf6ed833ce6e7e2bee31a70c913b76c10f8f44e7b6 WHIRLPOOL 3753a9bee1820b25997933975fef361befc8eb3cdb42562d66b9a35b894738ea687866050be7d5e4c9c48cba0255d0797fe881ea36e4bdc5d65599ae5d45eed8 MISC metadata.xml 624 SHA256 e295fc153645351df4b2501b78b8d6115f66e439acec1e3ae35afc84ee027de1 SHA512 318638d149ddf7c81310b8d1fc6e38525665ea5e3b7fc6830ed3b13547f80635e6a5fba60b60829187742ffc1217beaf7a72bcee2c6b76736316e004ad336786 WHIRLPOOL 4b31e15fcc05fce91aad8bbcfe28511b32f35be1a2d747661be604ff691682be30c73086ce24f5b00a83540bc494d3a4a32585ceaf78cbcd1b4070cf5012e1f2 diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-64.0.3253.3.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-64.0.3253.3.ebuild deleted file mode 100644 index 15a697bab362..000000000000 --- a/www-client/google-chrome-unstable/google-chrome-unstable-64.0.3253.3.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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 readme.gentoo-r1 chromium-2 eutils gnome2-utils pax-utils unpacker xdg-utils - -DESCRIPTION="The web browser from Google" -HOMEPAGE="https://www.google.com/chrome" - -if [[ ${PN} == google-chrome ]]; then - MY_PN=${PN}-stable -else - MY_PN=${PN} -fi - -MY_P="${MY_PN}_${PV}-1" - -SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" - -LICENSE="google-chrome" -SLOT="0" -KEYWORDS="-* ~amd64" -IUSE="+plugins" -RESTRICT="bindist mirror strip" - -DEPEND="" -RDEPEND=" - app-arch/bzip2 - app-misc/ca-certificates - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype:2 - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - >=x11-libs/libX11-1.5.0 - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXScrnSaver - x11-libs/libXtst - x11-libs/pango - x11-misc/xdg-utils -" - -QA_PREBUILT="*" -QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" -S=${WORKDIR} -CHROME_HOME="opt/google/chrome${PN#google-chrome}" - -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-frameworks/oxygen-icons. - -For other desktop environments, try one of the following: -- x11-themes/gnome-icon-theme -- x11-themes/tango-icon-theme - -Please notice the bundled flash player (PepperFlash). -You can (de)activate all flash plugins via chrome://plugins -" - -pkg_nofetch() { - eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." -} - -pkg_pretend() { - # Protect against people using autounmask overzealously - use amd64 || die "google-chrome only works on amd64" -} - -pkg_setup() { - chromium_suid_sandbox_check_kernel_config -} - -src_unpack() { - : -} - -src_install() { - dodir / - cd "${ED}" || die - unpacker - - rm -r etc usr/share/menu || die - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die - - pushd "${CHROME_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - if use plugins ; then - local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" - sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ - -i "${CHROME_HOME}/${PN}" || die - fi - - local size - for size in 16 22 24 32 48 64 128 256 ; do - newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png - done - - pax-mark m "${CHROME_HOME}/chrome" - - readme.gentoo_create_doc -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - readme.gentoo_print_elog -} diff --git a/www-client/google-chrome-unstable/google-chrome-unstable-64.0.3260.2.ebuild b/www-client/google-chrome-unstable/google-chrome-unstable-64.0.3260.2.ebuild new file mode 100644 index 000000000000..15a697bab362 --- /dev/null +++ b/www-client/google-chrome-unstable/google-chrome-unstable-64.0.3260.2.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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 readme.gentoo-r1 chromium-2 eutils gnome2-utils pax-utils unpacker xdg-utils + +DESCRIPTION="The web browser from Google" +HOMEPAGE="https://www.google.com/chrome" + +if [[ ${PN} == google-chrome ]]; then + MY_PN=${PN}-stable +else + MY_PN=${PN} +fi + +MY_P="${MY_PN}_${PV}-1" + +SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* ~amd64" +IUSE="+plugins" +RESTRICT="bindist mirror strip" + +DEPEND="" +RDEPEND=" + app-arch/bzip2 + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype:2 + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + >=x11-libs/libX11-1.5.0 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/pango + x11-misc/xdg-utils +" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" +S=${WORKDIR} +CHROME_HOME="opt/google/chrome${PN#google-chrome}" + +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-frameworks/oxygen-icons. + +For other desktop environments, try one of the following: +- x11-themes/gnome-icon-theme +- x11-themes/tango-icon-theme + +Please notice the bundled flash player (PepperFlash). +You can (de)activate all flash plugins via chrome://plugins +" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." +} + +pkg_pretend() { + # Protect against people using autounmask overzealously + use amd64 || die "google-chrome only works on amd64" +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + unpacker + + rm -r etc usr/share/menu || die + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + pushd "${CHROME_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + if use plugins ; then + local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" + sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ + -i "${CHROME_HOME}/${PN}" || die + fi + + local size + for size in 16 22 24 32 48 64 128 256 ; do + newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png + done + + pax-mark m "${CHROME_HOME}/chrome" + + readme.gentoo_create_doc +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog +} diff --git a/www-client/google-chrome/Manifest b/www-client/google-chrome/Manifest index 9638d354e4cb..e7e105e11640 100644 --- a/www-client/google-chrome/Manifest +++ b/www-client/google-chrome/Manifest @@ -1,5 +1,5 @@ -DIST google-chrome-stable_62.0.3202.75-1_amd64.deb 48725174 SHA256 1d54877408fa494781fedb0982b77eab0bc38f86041d0739e87a5e3603148f30 SHA512 d0a304b9007bb645b2ed0850edec186f068c21c9f15f336bb2e3b94c4b2a3f942e2c76fb7f627f741a1560774774469318edefaaf0875e0dbc3547d838559c25 WHIRLPOOL bb9207b1dd4ca30d86302d73de9bd7cbbd6cfc727b8870990d346c2f101f463bbfc5312f0bbe41f8f6cf8862f2739d57c211d36afb81d64ad5ae92c2562f6e37 -EBUILD google-chrome-62.0.3202.75.ebuild 3536 SHA256 d67e093912b71d32bf2f76ba784200c2715e43168e28f5c5d74c56ffe451c101 SHA512 bd8215fd16e9881fcdf712e20b0f9b5df8c5ffef6beee296b927d084f2619748369ba95318cd3238f80ad330c0be8f0926153f6c3a653fbbb09fa0780441055a WHIRLPOOL f5539db2d7c8c470ed1b7b16196614bd259a8a2dff4a3f272ffa50f947530c54fedd76c463c41a0d3a32dac2fe4251eca14b2502e59863ab596269fdd4331483 +DIST google-chrome-stable_62.0.3202.89-1_amd64.deb 49018026 SHA256 b9b9a34cc9bf625d8251b1142881524409f2132d29c59853afa7e033dacf8b16 SHA512 5cae3f9c5165390aa2185289c5eba3f140e1f027ef3be35fd401246cbc3deb03128a624c04aade958ba109f6a89d3a023404e9dd4736b9a3ec17f2d656737105 WHIRLPOOL de29dc327f1fb74cc299fd0fe1c9095c8a16cc1b422be628e9a6d694aff513e8ab797179d0b85404b4526ffb0ef1d3684a8f3bcd57b03bb9cef37d09b953032b +EBUILD google-chrome-62.0.3202.89.ebuild 3536 SHA256 d67e093912b71d32bf2f76ba784200c2715e43168e28f5c5d74c56ffe451c101 SHA512 bd8215fd16e9881fcdf712e20b0f9b5df8c5ffef6beee296b927d084f2619748369ba95318cd3238f80ad330c0be8f0926153f6c3a653fbbb09fa0780441055a WHIRLPOOL f5539db2d7c8c470ed1b7b16196614bd259a8a2dff4a3f272ffa50f947530c54fedd76c463c41a0d3a32dac2fe4251eca14b2502e59863ab596269fdd4331483 MISC ChangeLog 15250 SHA256 73cfe6d0cbf08ee8af13d3a4f9d4766a7fc1040475bce04983d9c033ad41b288 SHA512 5c6a4881e92fd43fd57531d36aa84ff96e003d135f1349ae7af496fbd447d866ffc06b39439bdda491a2c33192ddbfcdd38c38d5817d4bbc132717d8d626282e WHIRLPOOL fed163457dd66744687e272904d11da742d612cb00bc7c4ec5a879fddaf763fcbb1f8edba843ee74778a0220882db627864aef34bee96dd6da83310fce9289e2 MISC ChangeLog-2015 99571 SHA256 2e606e15340fff7031cc7cedcef68d619d6109ddc5c99a99bcff9b43b83dbe76 SHA512 0b6c83844cceb0ccc3b8afcece7c374e5a6e018b89575c8515968aa585da9ab9162bc7cc01208398d1c945b6fd27db9501841784b35cd24e27a1dad208ebc11b WHIRLPOOL f77a08d02c17bd51f926d4a1377acf22028c441316906f5664346e7a28e4eb19c8d88bda26016756e88ca3ada2bda406a92ce6dbe021d11e4ea55e718eb63a95 MISC metadata.xml 624 SHA256 e295fc153645351df4b2501b78b8d6115f66e439acec1e3ae35afc84ee027de1 SHA512 318638d149ddf7c81310b8d1fc6e38525665ea5e3b7fc6830ed3b13547f80635e6a5fba60b60829187742ffc1217beaf7a72bcee2c6b76736316e004ad336786 WHIRLPOOL 4b31e15fcc05fce91aad8bbcfe28511b32f35be1a2d747661be604ff691682be30c73086ce24f5b00a83540bc494d3a4a32585ceaf78cbcd1b4070cf5012e1f2 diff --git a/www-client/google-chrome/google-chrome-62.0.3202.75.ebuild b/www-client/google-chrome/google-chrome-62.0.3202.75.ebuild deleted file mode 100644 index eb98674ec422..000000000000 --- a/www-client/google-chrome/google-chrome-62.0.3202.75.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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 readme.gentoo-r1 chromium-2 eutils gnome2-utils pax-utils unpacker xdg-utils - -DESCRIPTION="The web browser from Google" -HOMEPAGE="https://www.google.com/chrome" - -if [[ ${PN} == google-chrome ]]; then - MY_PN=${PN}-stable -else - MY_PN=${PN} -fi - -MY_P="${MY_PN}_${PV}-1" - -SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" - -LICENSE="google-chrome" -SLOT="0" -KEYWORDS="-* amd64" -IUSE="+plugins" -RESTRICT="bindist mirror strip" - -DEPEND="" -RDEPEND=" - app-arch/bzip2 - app-misc/ca-certificates - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype:2 - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:3 - >=x11-libs/libX11-1.5.0 - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXScrnSaver - x11-libs/libXtst - x11-libs/pango - x11-misc/xdg-utils -" - -QA_PREBUILT="*" -QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" -S=${WORKDIR} -CHROME_HOME="opt/google/chrome${PN#google-chrome}" - -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-frameworks/oxygen-icons. - -For other desktop environments, try one of the following: -- x11-themes/gnome-icon-theme -- x11-themes/tango-icon-theme - -Please notice the bundled flash player (PepperFlash). -You can (de)activate all flash plugins via chrome://plugins -" - -pkg_nofetch() { - eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." -} - -pkg_pretend() { - # Protect against people using autounmask overzealously - use amd64 || die "google-chrome only works on amd64" -} - -pkg_setup() { - chromium_suid_sandbox_check_kernel_config -} - -src_unpack() { - : -} - -src_install() { - dodir / - cd "${ED}" || die - unpacker - - rm -r etc usr/share/menu || die - mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die - - pushd "${CHROME_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - if use plugins ; then - local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" - sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ - -i "${CHROME_HOME}/${PN}" || die - fi - - local size - for size in 16 22 24 32 48 64 128 256 ; do - newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png - done - - pax-mark m "${CHROME_HOME}/chrome" - - readme.gentoo_create_doc -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - readme.gentoo_print_elog -} diff --git a/www-client/google-chrome/google-chrome-62.0.3202.89.ebuild b/www-client/google-chrome/google-chrome-62.0.3202.89.ebuild new file mode 100644 index 000000000000..eb98674ec422 --- /dev/null +++ b/www-client/google-chrome/google-chrome-62.0.3202.89.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 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 readme.gentoo-r1 chromium-2 eutils gnome2-utils pax-utils unpacker xdg-utils + +DESCRIPTION="The web browser from Google" +HOMEPAGE="https://www.google.com/chrome" + +if [[ ${PN} == google-chrome ]]; then + MY_PN=${PN}-stable +else + MY_PN=${PN} +fi + +MY_P="${MY_PN}_${PV}-1" + +SRC_URI="https://dl.google.com/linux/chrome/deb/pool/main/g/${MY_PN}/${MY_P}_amd64.deb" + +LICENSE="google-chrome" +SLOT="0" +KEYWORDS="-* amd64" +IUSE="+plugins" +RESTRICT="bindist mirror strip" + +DEPEND="" +RDEPEND=" + app-arch/bzip2 + app-misc/ca-certificates + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype:2 + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + >=x11-libs/libX11-1.5.0 + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXScrnSaver + x11-libs/libXtst + x11-libs/pango + x11-misc/xdg-utils +" + +QA_PREBUILT="*" +QA_DESKTOP_FILE="usr/share/applications/google-chrome.*\\.desktop" +S=${WORKDIR} +CHROME_HOME="opt/google/chrome${PN#google-chrome}" + +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-frameworks/oxygen-icons. + +For other desktop environments, try one of the following: +- x11-themes/gnome-icon-theme +- x11-themes/tango-icon-theme + +Please notice the bundled flash player (PepperFlash). +You can (de)activate all flash plugins via chrome://plugins +" + +pkg_nofetch() { + eerror "Please wait 24 hours and sync your tree before reporting a bug for google-chrome fetch failures." +} + +pkg_pretend() { + # Protect against people using autounmask overzealously + use amd64 || die "google-chrome only works on amd64" +} + +pkg_setup() { + chromium_suid_sandbox_check_kernel_config +} + +src_unpack() { + : +} + +src_install() { + dodir / + cd "${ED}" || die + unpacker + + rm -r etc usr/share/menu || die + mv usr/share/doc/${MY_PN} usr/share/doc/${PF} || die + + pushd "${CHROME_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + if use plugins ; then + local plugins="--extra-plugin-dir=/usr/$(get_libdir)/nsbrowser/plugins" + sed -e "/^exec/ i set -- \"${plugins}\" \"\$@\"" \ + -i "${CHROME_HOME}/${PN}" || die + fi + + local size + for size in 16 22 24 32 48 64 128 256 ; do + newicon -s ${size} "${CHROME_HOME}/product_logo_${size}.png" ${PN}.png + done + + pax-mark m "${CHROME_HOME}/chrome" + + readme.gentoo_create_doc +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + readme.gentoo_print_elog +} diff --git a/www-client/opera/Manifest b/www-client/opera/Manifest index 9403872c8408..d7595f806376 100644 --- a/www-client/opera/Manifest +++ b/www-client/opera/Manifest @@ -2,11 +2,9 @@ DIST opera-12.16-1860.amd64.freebsd.tar.xz 13312684 SHA256 ecc001605c45baa4acf60 DIST opera-12.16-1860.i386.freebsd.tar.xz 13385696 SHA256 dcd80ea7a8f090a47007fc630495817feeb167220b9a9bbffbf349687f3e29d3 SHA512 0bb2c0548765ea476cdb8be6c84faf1d60dddb5a2c08b7312027f4cd17fa8ebd4fbc1a97657bbcb0ac07733e5f3b340b181a307a778c38543140adbfe7f8b844 WHIRLPOOL 5703b2c736694cf6ffcf808872e72585b81c7fed9d2263d5679ee54f667f4eb6b9d34a73b80c8efc0a8640daf03da60dafa0defe0c560d3ef78f2a8a68cbb960 DIST opera-12.16-1860.i386.linux.tar.xz 13154668 SHA256 df640656a52b7c714faf25de92d84992116ce8f82b7a67afc1121eb3c428489d SHA512 a13ec53311e3e78f35103a9dd5337c0e9a555362860213080211ee9d21de88fbd6aae03bed20b7515874d5a09dfbab108954213745fb82175f5e48e555152613 WHIRLPOOL ae1af6858847fe51dcac8cb076a67099846ad66b734ecf92780e953daec963754c9e4352e979a636eac70e785a62bd94e084124080d7fe0f59b420a99a2133cc DIST opera-12.16-1860.x86_64.linux.tar.xz 14018800 SHA256 b3b5cada3829d2b3b0e2da25e9444ce9dff73dc6692586ce72cfd4f6431e639e SHA512 c1289f352ea5fc8133b105771f48fdc56ccd770920330b1a0ed939ff909abc68081447673572eabeb1aae6db5194b6ab35c93afad78a91d8f7a9a0f91e81ef8b WHIRLPOOL 539cdf43b4c8175c664fbf786b27ede1d33e58c44f75229a1a50612951136f526d646f3e0444b6cc69961259c3e3ef7dbf722b520abb4d4dbb98032c4de335d1 -DIST opera-stable_48.0.2685.50_amd64.deb 50181884 SHA256 83c7ec7db3331de54200b7f4189acc6ca9a104b0908e05312549cd3b32ec8677 SHA512 f4e775d9e8fc1f589dda8c48e558fac93907300ff8054b9408ac656293982cf2bcbb9592279313d46efe88e2c977da6f8b39e6db8ecbe687f6135cdba2c61d5a WHIRLPOOL 56ce7a471cf9678cadad123920dcef99b1bd3349dc9576636826c679b467e2cb5ed1f7c64ccc13ff42b4d4412ed3cbdf96c5b3abae705a17ff7a9344e65733d8 -DIST opera-stable_48.0.2685.52_amd64.deb 50149108 SHA256 1709b44fe1daca3df1063e0566716768c1476fc455fd6d75078d68252096f608 SHA512 ef104214ccac7e5b55ba30484dc9756036b87bc8cbafa99e7f2e06641e71385e31ce35b922b1ff50ef9eb3a7083b133e48450baacc2ffaba0c01becc855833b9 WHIRLPOOL a015885bb2e1bfa84691fb7c78b9af827aa4a17ab6533bd1546ed1231f505f2bb389623ddf57c38480c025025a9cf8a1302f9860caa809844ed1630e01f6b318 +DIST opera-stable_49.0.2725.34_amd64.deb 51440228 SHA256 84d1d0f09dba8d14e785aca8685366603f60ea99a9f929f1fe4c68e3f4872649 SHA512 178d9b24bd62daeef75a73598ee0d28a67133c16a02dca41a09194457bcc2ca356300d3a193364959085d6b958e81351f59a1e3957550fa1c3e50f91abbd0b8f WHIRLPOOL 0e0c6402a65bb7ba2a7c1a2fdcaa90db68df7f1462c14a81ce8631a8ab9761a9df60b91b8bfbc040c8fbb3b70fc169324b7328ce9cdf88e5b07d1a590bca91a9 EBUILD opera-12.16_p1860-r1.ebuild 5987 SHA256 3f9a2e893b5204919f51ffb18dcc9b43370529d28122d0787d504fbf96d61869 SHA512 f0fe61c21d4a8180b5d0149aa0d4621bf60e4684803828f7743e73f894386e0c3945201ec46f16ea1fda4e780d0ea3447f32d55d985673a1643b2055efb12099 WHIRLPOOL 68a5f0263ff917476de41bf978ecf067a8ecb87191f7f404a040b0ceb0abb0af48cad027ebcecc99afe66cd0927889466220ef29b313efbc57857ee741d36d52 -EBUILD opera-48.0.2685.50.ebuild 1967 SHA256 e5d4eeeff889afc252f26da0838215c84472b634a78dab616cf4de6d8915a8cb SHA512 37762a3a3dad0eea0b673b1b402d82fa60a16352fdec1a780469709b11fb0a7061eb2ad8c9bbe2452585e77463502c6ee6a06d2acbc932709749b97fdbc4a8c6 WHIRLPOOL 6cd6d77bf5ef8aefdbbecadbf1972bd24beb5cbf0c74cf7f1076503ca56535c3f44a5086dd00aa29040b01847e3720483c8b7c5cf63d19dfd515883c04e45019 -EBUILD opera-48.0.2685.52-r1.ebuild 2239 SHA256 d29ffa215e64c63fa160f74042b508609ddf11eb9de25960e6aa391b6b917d8d SHA512 d19aa77e5d041a7d738462b2c0b61c8839b61531119b680d82643e599b7b5aaaf9ecd1b5b97515a515ec2059d7f80ec3a5f48fe5b6b35aab507033eaa96006de WHIRLPOOL 79d606c0fdc2df5c64b34f534522bd8162cb55d035903fc37d965f72db833aa85f1b10584ab05189af1bdd077cf5335115d4f0bdd25f9e5ed09e2cf6153dec07 +EBUILD opera-49.0.2725.34.ebuild 2239 SHA256 d29ffa215e64c63fa160f74042b508609ddf11eb9de25960e6aa391b6b917d8d SHA512 d19aa77e5d041a7d738462b2c0b61c8839b61531119b680d82643e599b7b5aaaf9ecd1b5b97515a515ec2059d7f80ec3a5f48fe5b6b35aab507033eaa96006de WHIRLPOOL 79d606c0fdc2df5c64b34f534522bd8162cb55d035903fc37d965f72db833aa85f1b10584ab05189af1bdd077cf5335115d4f0bdd25f9e5ed09e2cf6153dec07 MISC ChangeLog 11319 SHA256 b5dbbcac51e80d3bf3b17b6ec3bbd38e3aac7c88a0ede8fd1cbfbc4ed2f23ede SHA512 4beffc37f3a3014505181ee1483734aa9ac6f783e07a82a092e5c9a293e8c5270e447ee027becd1fc919cbd3d451ee60e49063703c0b9251646bb1f49a9f4e85 WHIRLPOOL c922aa713b0f04718e062b34adeb4f2d261904ecbe1695e15f1bbcc8bf737b2ea516c05a84ea1e3c0ec8e6da2d5fc9778053885e5ac0cf92d86183c517b6ca35 MISC ChangeLog-2010 112299 SHA256 5c3b5c58119b4a6b1911d840892c42234f25dae57452287fb0a9e6cca78ed171 SHA512 9dc4dc7e7508bb1621c390837ec2e47d9e96075906b2060be419ee64e505c8f0da9e4d3a8bc7cc2de66c6efc383f026afb8fa5e886afa15da6349514a93c9edb WHIRLPOOL edaf1c2e810e91d37b2d90847640900374b447a12e2e0e927654966cc18c3a14f332ce6daa07c5a0049da06f5e89bfd0daddb5f73a4d79b334ded4397349cf7a MISC ChangeLog-2015 41138 SHA256 6209a7f61e8f513d7bd17f64d8c4d12e5e4318227d9033d7117427b1d241ac8b SHA512 2bbbd008b586cc177280674c2dcacf7464645ebd3ddd4b18fe86ecea30d9e9f973d286b4fcab65cd1f09d994938dc6449b28f606c2a190fbc07301a2f919e6ed WHIRLPOOL e6fca4beb9f81f9633c56b02c7e94d3f9cc46fd8ed0a66ab297f790b00b8c132c10048996d9c4427283048cebb76c74602d8e9ccb0e1edd2f68b7245d9fee092 diff --git a/www-client/opera/opera-48.0.2685.50.ebuild b/www-client/opera/opera-48.0.2685.50.ebuild deleted file mode 100644 index 824ffea24a6f..000000000000 --- a/www-client/opera/opera-48.0.2685.50.ebuild +++ /dev/null @@ -1,93 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -CHROMIUM_LANGS=" - be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr hi hr hu id it ja - ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi zh-CN - zh-TW -" -inherit chromium-2 multilib unpacker - -DESCRIPTION="A fast and secure web browser" -HOMEPAGE="http://www.opera.com/" -LICENSE="OPERA-2014" -SLOT="0" -SRC_URI_BASE=" - http://download1.operacdn.com/pub/ - http://download2.operacdn.com/pub/ - http://download3.operacdn.com/pub/ - http://download4.operacdn.com/pub/ -" -for uri in ${SRC_URI_BASE}; do -SRC_URI+=" - "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" -" -done -KEYWORDS="~amd64" - -RDEPEND=" - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - net-misc/curl - net-print/cups - sys-apps/dbus - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/libnotify - x11-libs/pango[X] -" - -QA_PREBUILT="*" -S=${WORKDIR} -OPERA_HOME="usr/$(get_libdir)/${PN}" - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - case ${ARCH} in - amd64) - mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die - rm -r usr/lib || die - ;; - esac - - rm usr/bin/${PN} || die - - rm usr/share/doc/${PN}-stable/copyright || die - mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die - - pushd "${OPERA_HOME}/localization" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - sed -i \ - -e 's|^TargetEnvironment|X-&|g' \ - usr/share/applications/${PN}.desktop || die -} - -src_install() { - mv * "${D}" || die - dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} - fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox -} diff --git a/www-client/opera/opera-48.0.2685.52-r1.ebuild b/www-client/opera/opera-48.0.2685.52-r1.ebuild deleted file mode 100644 index aead2f06e723..000000000000 --- a/www-client/opera/opera-48.0.2685.52-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -CHROMIUM_LANGS=" - be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr hi hr hu id it ja - ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi zh-CN - zh-TW -" -inherit chromium-2 gnome2-utils multilib unpacker xdg-utils - -DESCRIPTION="A fast and secure web browser" -HOMEPAGE="http://www.opera.com/" -LICENSE="OPERA-2014" -SLOT="0" -SRC_URI_BASE=" - http://download1.operacdn.com/pub/ - http://download2.operacdn.com/pub/ - http://download3.operacdn.com/pub/ - http://download4.operacdn.com/pub/ -" -for uri in ${SRC_URI_BASE}; do -SRC_URI+=" - "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" -" -done -KEYWORDS="~amd64" - -RDEPEND=" - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - net-misc/curl - net-print/cups - sys-apps/dbus - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/libnotify - x11-libs/pango[X] -" - -QA_PREBUILT="*" -S=${WORKDIR} -OPERA_HOME="usr/$(get_libdir)/${PN}" - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - case ${ARCH} in - amd64) - mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die - rm -r usr/lib || die - ;; - esac - - rm usr/bin/${PN} || die - - rm usr/share/doc/${PN}-stable/copyright || die - mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die - - pushd "${OPERA_HOME}/localization" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - sed -i \ - -e 's|^TargetEnvironment|X-&|g' \ - usr/share/applications/${PN}.desktop || die -} - -src_install() { - mv * "${D}" || die - dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} - fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update - xdg_mimeinfo_database_update -} diff --git a/www-client/opera/opera-49.0.2725.34.ebuild b/www-client/opera/opera-49.0.2725.34.ebuild new file mode 100644 index 000000000000..aead2f06e723 --- /dev/null +++ b/www-client/opera/opera-49.0.2725.34.ebuild @@ -0,0 +1,109 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + be bg bn ca cs da de el en-GB es-419 es fil fi fr-CA fr hi hr hu id it ja + ko lt lv ms nb nl pl pt-BR pt-PT ro ru sk sr sv sw ta te th tr uk vi zh-CN + zh-TW +" +inherit chromium-2 gnome2-utils multilib unpacker xdg-utils + +DESCRIPTION="A fast and secure web browser" +HOMEPAGE="http://www.opera.com/" +LICENSE="OPERA-2014" +SLOT="0" +SRC_URI_BASE=" + http://download1.operacdn.com/pub/ + http://download2.operacdn.com/pub/ + http://download3.operacdn.com/pub/ + http://download4.operacdn.com/pub/ +" +for uri in ${SRC_URI_BASE}; do +SRC_URI+=" + "${uri}${PN}/desktop/${PV}/linux/${PN}-stable_${PV}_amd64.deb" +" +done +KEYWORDS="~amd64" + +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + net-print/cups + sys-apps/dbus + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/libnotify + x11-libs/pango[X] +" + +QA_PREBUILT="*" +S=${WORKDIR} +OPERA_HOME="usr/$(get_libdir)/${PN}" + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + case ${ARCH} in + amd64) + mv usr/lib/x86_64-linux-gnu usr/$(get_libdir) || die + rm -r usr/lib || die + ;; + esac + + rm usr/bin/${PN} || die + + rm usr/share/doc/${PN}-stable/copyright || die + mv usr/share/doc/${PN}-stable usr/share/doc/${PF} || die + + pushd "${OPERA_HOME}/localization" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + sed -i \ + -e 's|^TargetEnvironment|X-&|g' \ + usr/share/applications/${PN}.desktop || die +} + +src_install() { + mv * "${D}" || die + dosym ../$(get_libdir)/${PN}/${PN} /usr/bin/${PN} + fperms 4711 /usr/$(get_libdir)/${PN}/opera_sandbox +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update + xdg_mimeinfo_database_update +} diff --git a/www-client/qupzilla/Manifest b/www-client/qupzilla/Manifest index 8dec2a023591..5b66797c9368 100644 --- a/www-client/qupzilla/Manifest +++ b/www-client/qupzilla/Manifest @@ -1,10 +1,12 @@ AUX qupzilla-2.1.2-openssl-1.1.0.patch 4631 SHA256 d6857da5d289a070188bcd3788f8f07f55a9cf25b68048c40065477e53d99081 SHA512 0171a9d64c4202c3893767c962b7951d6f431d7e70a7de1385e80c097dd6d1e55fd77be8da3621a9d15cb6982a92d4049e0dc6058c00b7bf7fc90439d659479f WHIRLPOOL 557f8e514686d279d4f6da0efeebd489bc9e06db8a4d7a331fb7831f65aa411ba17e1ef43fc47c15cb7f048ac1edaccb032ca6ca001ef153a9093c598549a690 DIST QupZilla-2.1.2.tar.xz 2767560 SHA256 d8f860d8c41bbf2bf78889aef3ffed118a34b2754f7e114ad44eb2c6103ee58a SHA512 d09a394ba70ae0f7f908940a26d6554a3706b6638c197d16b75e1e5855f76015c8e13b7155c40dacee3a38080a0c277d9410eaf07cf912dc4b295eafe1ff6343 WHIRLPOOL 1da85e81854d41e62bd28b71e9509571c789cc73c2a550a7165efa9dc65bb1099f8de17dafcdbbbcdf6498403e5e8458a82042f1090355c4df67144cb4fed59b DIST QupZilla-2.2.0.tar.xz 2465576 SHA256 32cb6d4e5852781146ca5f1a1cf8e77da42a71fc096272e2030d83ea865c7818 SHA512 82beb4593c6234e30e91401b23063f18427dc8c49d1ee6c9e447cdec03160655b9e077365ab30af7457d6a20d01fd0bb5c2f30d0c0b9ba916c12d231ebb858b4 WHIRLPOOL 449bedcc2c225434a3e88cbc3ef5d978a425f056a625f9079d29bc1d30aebef15c3ac81a3357a0191f3e2e5378c0bce6d0da9e5ec6a39bba1e7182759bf56b68 +DIST QupZilla-2.2.1.tar.xz 2465248 SHA256 5605104e2091235607a7406d02ba55d4923e104960c4996e80bcabe61ad7e0cb SHA512 b98754d31657caede8ecd0402d543a5010d3f0c5515932e9c80512f5982400b2065840f1cd9be190cc73460798cb8138d7408c8c08a87541372b68e5b56cee06 WHIRLPOOL 173be5c85b175fefd28e2bc859c2935ee67996e993e4f2ea932f6022d48f39df45fe327b8b0f3a4499a19238e3ebebb0dba9a40cf464af237119bf86e45682dc DIST qupzilla-plugins-2016.05.02.tar.gz 425314 SHA256 276491a89daf1b64d6eab861b54d313e85c815d322bf51d47491f00ad22f55bc SHA512 b294ecb2372b3267603a43bc7412ab75d2cd29a8c4667331f0d2c74e3b0b99d0c2a005b9e4854c6d777894522bba9fb3b1607e85e8da6dcbaa760c9ddc6288f2 WHIRLPOOL 471807dc70dd3ea072f1e429a6e67ea97ecd5eadc02ac19debdcddfca4f5cb8e1767ad754aed1ff8a557f0734460a87b4e2d5e01ea57d07c473f48b006e32ef1 DIST qupzilla-plugins-2017.03.26.tar.gz 430926 SHA256 00967e12d319da991711e12767b7c7fe017dea1a7f1ec06627c2be8b13ce8687 SHA512 3b04b41208dddd25fd58937986cf12f2b521cf78a64380b915d46735ada3f4776f914056c5511daa781c89867d0309af7cbf833eb71dfa4b14b6b9ba25d80315 WHIRLPOOL 08124559291c3ccc387a9f3195060952cb4bed5e17920c472e7650d223b910cc60ebecdf831b4620b95ca22ec918add25c8009752098cec7a29ad5dad303ee9f EBUILD qupzilla-2.1.2.ebuild 3001 SHA256 210534ae8ae491f57dc58ff114f3fa7379e81432810e49eeced4c2ed4c3ca5fb SHA512 a3e1b61d21a035c8ffed67cd60369e68267778a2611d6ff4a28fc9606742a27c5253e476dd3d74d229ce83cd0293da62ad9da46235ab60d22ef60d27c6b68525 WHIRLPOOL 7b438a5787bb5791f898d870c71712ec4e0c215c7dfd03a1bfee24e4a029d31b717f554000e05962dc03c473c47e2a0e1188b308bce5839e047213e17c731696 EBUILD qupzilla-2.2.0.ebuild 3174 SHA256 b881b0d2050861485b342f6d75e214cf887c47b9b774192512cb89053d17721d SHA512 cb275890eb8ae2c1c25398b305e81c2117f76814a766bef87ad59eb6ef1b602c3a1341a5471337e156e2e9790bbb5359af3abe8d85f349289b81ded88ba567d8 WHIRLPOOL 4750abc8950521aca13e1f4c4c229b0c19c34409e52b1b51aaa470f855fd763f1b0c4f976df047e5991741d9b599c875919ded872d542b874b5c786d1e2d7420 +EBUILD qupzilla-2.2.1.ebuild 3037 SHA256 72f918be3e74d282ef3e6c4ff66eac2a41c06dee1c5878e692cd4485b4f5870d SHA512 1083262c01d57a1774514c4ff11733767ab7574207559625b20d418bbf45e0f8e9248610b89f70a7fc66fb4f854ced0851fec845c9818fc752c343cf369fec52 WHIRLPOOL c55cc50dda2c178e983a70e2f3a1ba0ab62f99a88e143a7b0cdf77b6875d591109e160420b6f481bee985ed4f2155d58ad3502e00551905449b8cf6cb52a0a97 MISC ChangeLog 5569 SHA256 bf448fbcb88ee01612cda41c512c8dcd4d7fbcab06ddb2819d6cd60520e272d4 SHA512 1cadff8ba79555d401a6e70c0e584942e6aeb65e29ac83f0d662d0cb1b00994a172b43b5bfee9963b636c5ed3ce0079b59942cc4f95eac2c7d265cd152646880 WHIRLPOOL 1d8c1aebd30ed250ef354da4cc6295de4958d3d4a127ecf717ac3091d0d5c80e55c9e7e61e7b4740bb54eb2966af326cf558ebc376d873dbd584b94b9f793348 MISC ChangeLog-2015 8942 SHA256 b2c7533cace9e417caee761506a654153767bca76af1eeac25cf66a3ad64705e SHA512 43f20aeb4bb9d2b1d2b7b051d5955f4e33fe67f3ffbd4933600beab97bb4d6a9396eb6fb507e6c9de3a2af83092a13bf05b3ef77a6d09e57b367c157c0d69534 WHIRLPOOL 83b892904657bd1207e8d54a7a935857ec2118f554a84f6557a36390dedca6a3b6ee107497054fe717dc075abeb78721e2dd6ad0636ff7fb7d25ed8576e2c633 MISC metadata.xml 691 SHA256 c622fca8c71ea7e9f1993311b66bc961f5fe3b2d9f455cab03294bdcc0a100b7 SHA512 585fed97ee3390094552cb5350c185dcdfaba1df7d5d3608cddbb6c05812223276b661121518ffce7921456983ee073aea58ada17ee6347d01a9e5559f75388d WHIRLPOOL 28f39b1b88906ee4d1387199bce256274d15cb5c13a5091d41f73737cb804a906528de0b401870cda895d731f4ea87b385f85e64bf91ab6f80f23afb927e9ee0 diff --git a/www-client/qupzilla/qupzilla-2.2.1.ebuild b/www-client/qupzilla/qupzilla-2.2.1.ebuild new file mode 100644 index 000000000000..95346a2071bd --- /dev/null +++ b/www-client/qupzilla/qupzilla-2.2.1.ebuild @@ -0,0 +1,115 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PLOCALES="ar_SA bg_BG ca_ES cs_CZ da_DK de_DE el_GR es_419 es_ES es_MX es_VE + eu_ES fa_IR fi_FI fr_FR gl_ES he_IL hr_HR hu_HU id_ID is it_IT ja_JP + ka_GE lg lt lv_LV nl_NL nqo pl_PL pt_BR pt_PT ro_RO ru_RU sk_SK sl_SI sr + sr@ijekavian sr@ijekavianlatin sr@latin sv_SE tr_TR uk_UA uz@Latn + zh_CN zh_HK zh_TW" + +PLUGINS_HASH="80fea7df7765fdf9c9c64fdb667052b25f1c0a22" +PLUGINS_VERSION="2017.03.26" # if there are no updates, we can use the older archive + +inherit l10n qmake-utils xdg-utils + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/QupZilla/${PN}.git" +else + MY_P=QupZilla-${PV} + SRC_URI="https://github.com/QupZilla/${PN}/releases/download/v${PV}/${MY_P}.tar.xz" + KEYWORDS="~amd64 ~arm ~x86" + S=${WORKDIR}/${MY_P} +fi + +DESCRIPTION="A cross-platform web browser using QtWebEngine" +HOMEPAGE="https://www.qupzilla.com/" +SRC_URI+=" https://github.com/QupZilla/${PN}-plugins/archive/${PLUGINS_HASH}.tar.gz -> ${PN}-plugins-${PLUGINS_VERSION}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +IUSE="dbus debug gnome-keyring kwallet libressl nonblockdialogs" + +RDEPEND=" + >=dev-qt/qtcore-5.8:5 + >=dev-qt/qtdeclarative-5.8:5[widgets] + >=dev-qt/qtgui-5.8:5 + >=dev-qt/qtnetwork-5.8:5[ssl] + >=dev-qt/qtprintsupport-5.8:5 + >=dev-qt/qtsql-5.8:5[sqlite] + >=dev-qt/qtwebchannel-5.8:5 + >=dev-qt/qtwebengine-5.8:5[widgets] + >=dev-qt/qtwidgets-5.8:5 + >=dev-qt/qtx11extras-5.8:5 + x11-libs/libxcb:= + dbus? ( >=dev-qt/qtdbus-5.8:5 ) + gnome-keyring? ( gnome-base/gnome-keyring ) + kwallet? ( kde-frameworks/kwallet:5 ) + libressl? ( dev-libs/libressl:= ) + !libressl? ( dev-libs/openssl:0= ) +" +DEPEND="${RDEPEND} + >=dev-qt/linguist-tools-5.8:5 + >=dev-qt/qtconcurrent-5.8:5 + virtual/pkgconfig +" + +DOCS=( AUTHORS BUILDING.md CHANGELOG FAQ README.md ) + +src_unpack() { + if [[ ${PV} == *9999 ]]; then + git-r3_src_unpack + fi + default +} + +src_prepare() { + # get extra plugins into qupzilla build tree + mv "${WORKDIR}"/${PN}-plugins-${PLUGINS_HASH}/plugins/* src/plugins/ || die + + rm_loc() { + # remove localizations the user has not specified + sed -i -e "/${1}.ts/d" translations/translations.pri || die + rm translations/${1}.ts || die + } + + # remove outdated prebuilt localizations + rm -rf bin/locale || die + + # remove empty locale + rm translations/empty.ts || die + + l10n_find_plocales_changes translations '' .ts + l10n_for_each_disabled_locale_do rm_loc + + default +} + +src_configure() { + # see BUILDING document for explanation of options + export \ + QUPZILLA_PREFIX="${EPREFIX}/usr" \ + USE_LIBPATH="${EPREFIX}/usr/$(get_libdir)" \ + DEBUG_BUILD=$(usex debug true '') \ + DISABLE_DBUS=$(usex dbus '' true) \ + GNOME_INTEGRATION=$(usex gnome-keyring true '') \ + KDE_INTEGRATION=$(usex kwallet true '') \ + NONBLOCK_JS_DIALOGS=$(usex nonblockdialogs true '') + + eqmake5 +} + +src_install() { + emake INSTALL_ROOT="${D}" install + einstalldocs +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/www-client/qutebrowser/Manifest b/www-client/qutebrowser/Manifest index 5400106c052f..05350060db30 100644 --- a/www-client/qutebrowser/Manifest +++ b/www-client/qutebrowser/Manifest @@ -1,7 +1,7 @@ -DIST qutebrowser-0.9.1.tar.gz 3091676 SHA256 5aabfd6824ece72a2ca2dd02f4ee47f5b3c48a289c9f3e1854d3b30e980dc95d SHA512 521bb306964865a17326701f8d4e46369583e8d81d4807ea2ee7252cbb734133ec06902780d191f8e8a95cb3ee4f9590d7bda223aa43bc25c986c343d6b17017 WHIRLPOOL 0f96d66033b53c0009db3dfa87b4fc5b53cc56ea4caf2f6388cdcd9f1721986cee6c6d04d3c376a9ee719483a6d6a9dea8e1501c612e46fdc9396b80ff2f7e5e DIST qutebrowser-1.0.2.tar.gz 3272237 SHA256 f33281bd6d23bdfad7fbf8b85a01ae9cbc6bd343a957bbebcdd38f9ee8ae7624 SHA512 a2b548dd7577064000845e696b87d65e0d7452053741832036c6a89f5f3d1cf03a241e4c8c202c57bf87ecc843a7003dd3d5eb32169a32420345ff46e9cf3186 WHIRLPOOL e14c811c070e5a71adc9537115bd2a9e6c50fb8cdc4f285330c6d5e62721c8e21a5139a71cbcd72e372556fb09be1f3e52380829ed5ea74d71f87bf4158ee8b6 -EBUILD qutebrowser-0.9.1.ebuild 1952 SHA256 1c84f3a84a0ef84f13c12781284916adb8edd4e0413e92824449f41e23ebab43 SHA512 03c90528d5480ad59d9f0a157bee37b20d203ba08095709b5125b1edf17647afe96e8ca38e8f92a06904843c3da99527cfaa17cd6ceef63aed1c95e15d65dce2 WHIRLPOOL b6074455fbaf9fd22c41215d6176ad9838878c83e5205d86bb1a9ed61ed93aade4a1780ce11ea3ee78684b2047d689185ff0eaabdf79f008aa3e043cd74dbd1d +DIST qutebrowser-1.0.3-1.tar.gz 3289802 SHA256 577dc83ab7f5ae75026eebc77cde48cb3efb47bfab80a681e5920be7c583a611 SHA512 66bd486ddeee7e1a81a30175d7703d47947d9cbfea62e229f6886665039d68ef34cffd78a3ae9535fe77fcbc298d5a0cab5357d37705f25b40f91d3fc05dbf4c WHIRLPOOL 9ccb33f88559bd42d04a77c09a041f3d65e4b644e3ac82b75de582885c521c02da5a406225497ea9ebc85649e50f4d614fd525de84e4bacb0fe4c71acd207c5c EBUILD qutebrowser-1.0.2.ebuild 2262 SHA256 4a5b34ca90b780834420ef4423a92a56755349307adc8e060099094f3183153d SHA512 df7effaa910eb1c98e40dd5f55436ec76d3c6a1e153c860e77af69b38d2fc79e1e6308edbd410bd5d0560327397a9f030da3e41cff7cae80b1f7b5de21e56569 WHIRLPOOL 2df58a74d0ef0088bf66d3dd9899b003df9759877f66d040dbfcf8d9651983590925badd2e105b0c05a5d45e7efd9a74c57d8273179bfedd523a7d342cc39406 +EBUILD qutebrowser-1.0.3.ebuild 2007 SHA256 63f7c42b4cb1cf801b9c83eed0b25b5d2f288f868727fd63a4fd2826ec60e49f SHA512 461efe93b386dec158e1b2d2db45e153f563993bbdaf4ed2d148d631bd1cf813843cceb76184493694c042a75a8c8a4636b5b33aab5a732e7e39c88e67b62c77 WHIRLPOOL 4ce8d8ff6bfd09306fdc191195e697292f967b9703bb4cea3b880cdfcac2ca9d5b266ba9894b8778471582db1ff063749e8d4d2c8f6fd866d231db267dbb2cbb EBUILD qutebrowser-9999.ebuild 2005 SHA256 216988b087a8d1904540370342ab21bba24d7a61a76489207ee944607e4db72f SHA512 51821081bdfc9a4650343c99fea14fdb7599f1691cd22014933a04303e92947aa73d9016531b21ca8a601374cd7a7b2a46c9bb18ca0841c9ac0915aef698d247 WHIRLPOOL 7fbbd09fa9d5cb9ebea26b54d937f434ed5ddaaf397be575409c2466c2f67b977ed01173d43eda4223b8aa6f941c91b8ccdece42d9613f36c43502c96b6fd0fe MISC ChangeLog 5368 SHA256 7238059888b60b1ad6390b40f17a8c419bec536b56d8ba8ed9ea74494b7dda4f SHA512 d2a7eac903dcecdef506d8dcd696747491264dbb077a8fa6e68032b4ca304f911426d15313fcf815da08ac159c5f9ba10adb4f0bba7f63ab3ef6ed99113ca6f5 WHIRLPOOL 618e3b2b36d9b34a620902895cf4340d6ce4f636814c6f38d9f63de12fb3f8c004204496f9799ba1556c8f5b3827e4835ad8935e5d397be0b0453146e65fdb24 MISC ChangeLog-2015 601 SHA256 f8207f1b2aa1ed32d252028e2987aa863ae07ed28a1c240c21243eadf371dd48 SHA512 333f553b42617acacc46035e37e603f8c6926059dff52b872da807057d59bb4e12132b3d291068250241bb367ddd94c0b992fcd4ea381ccce532ba12f3cbac39 WHIRLPOOL 890c6b6a390c0ba358f320c2dae693c0c39c94c6188a3d9d3467968d5e10d5c5b6f77ef1b9c079d8cb63cdeb9d6553739f6c0cfa04ba2ed50c4bca22f5c69121 diff --git a/www-client/qutebrowser/qutebrowser-0.9.1.ebuild b/www-client/qutebrowser/qutebrowser-0.9.1.ebuild deleted file mode 100644 index 35724b41be33..000000000000 --- a/www-client/qutebrowser/qutebrowser-0.9.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 -PYTHON_COMPAT=( python{3_4,3_5,3_6} ) - -inherit gnome2-utils distutils-r1 eutils fdo-mime - -if [[ ${PV} == "9999" ]] ; then - EGIT_REPO_URI="https://github.com/The-Compiler/qutebrowser.git" - inherit git-r3 -else - SRC_URI="https://github.com/The-Compiler/${PN}/releases/download/v${PV}/${P}.tar.gz" - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebKit" -HOMEPAGE="http://www.qutebrowser.org/ https://github.com/qutebrowser/qutebrowser" - -LICENSE="GPL-3" -SLOT="0" -IUSE="gstreamer test" - -COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" -DEPEND="${COMMON_DEPEND} - app-text/asciidoc - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" -RDEPEND="${COMMON_DEPEND} - >=dev-python/cssutils-1.0.1[${PYTHON_USEDEP}] - >=dev-python/jinja-2.8[${PYTHON_USEDEP}] - >=dev-python/pygments-2.1.3[${PYTHON_USEDEP}] - >=dev-python/pypeg2-2.15.2[${PYTHON_USEDEP}] - dev-python/PyQt5[${PYTHON_USEDEP},declarative,gui,network,printsupport,webkit,widgets] - dev-python/sip[${PYTHON_USEDEP}] - >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] - gstreamer? ( dev-qt/qtwebkit:5[gstreamer] ) -" - -RESTRICT="test" - -python_compile_all() { - if [[ ${PV} == "9999" ]]; then - "${PYTHON}" scripts/asciidoc2html.py || die "Failed generating docs" - fi - - a2x -f manpage doc/${PN}.1.asciidoc || die "Failed generating man page" -} - -python_test() { - py.test tests || die "Tests failed with ${EPYTHON}" -} - -python_install_all() { - doman doc/${PN}.1 - dodoc {CHANGELOG,CONTRIBUTING,FAQ,README}.asciidoc - - domenu ${PN}.desktop - doicon -s scalable icons/${PN}.svg - - distutils-r1_python_install_all -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postinst() { - optfeature "PDF display support" www-plugins/pdfjs - fdo-mime_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - fdo-mime_desktop_database_update - gnome2_icon_cache_update -} diff --git a/www-client/qutebrowser/qutebrowser-1.0.3.ebuild b/www-client/qutebrowser/qutebrowser-1.0.3.ebuild new file mode 100644 index 000000000000..389a61a8d828 --- /dev/null +++ b/www-client/qutebrowser/qutebrowser-1.0.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python{3_5,3_6} ) + +inherit distutils-r1 eutils gnome2-utils xdg-utils + +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + inherit git-r3 +else + SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}-1.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine" +HOMEPAGE="https://www.qutebrowser.org/ https://github.com/qutebrowser/qutebrowser" + +LICENSE="GPL-3" +SLOT="0" +IUSE="test" + +COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${COMMON_DEPEND} + app-text/asciidoc + test? ( dev-python/pytest[${PYTHON_USEDEP}] )" +RDEPEND="${COMMON_DEPEND} + dev-python/attrs[${PYTHON_USEDEP}] + >=dev-python/jinja-2.8[${PYTHON_USEDEP}] + >=dev-python/pygments-2.1.3[${PYTHON_USEDEP}] + >=dev-python/pypeg2-2.15.2[${PYTHON_USEDEP}] + >=dev-python/PyQt5-5.7.1[${PYTHON_USEDEP},declarative,gui,network,opengl,printsupport,sql,webengine,widgets] + >=dev-python/pyyaml-3.12[${PYTHON_USEDEP}] +" + +# Tests restricted as the deplist (misc/requirements/requirements-tests.txt) +# isn't complete and X11 is required in order to start up qutebrowser. +RESTRICT="test" + +python_compile_all() { + if [[ ${PV} == "9999" ]]; then + "${PYTHON}" scripts/asciidoc2html.py || die "Failed generating docs" + fi + + a2x -f manpage doc/${PN}.1.asciidoc || die "Failed generating man page" +} + +python_test() { + py.test tests || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + doman doc/${PN}.1 + domenu misc/${PN}.desktop + doicon -s scalable icons/${PN}.svg + + distutils-r1_python_install_all +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + optfeature "PDF display support" www-plugins/pdfjs + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update + gnome2_icon_cache_update +} diff --git a/www-client/vivaldi-snapshot/Manifest b/www-client/vivaldi-snapshot/Manifest index 09bd0c9d24d6..352025ddf1b3 100644 --- a/www-client/vivaldi-snapshot/Manifest +++ b/www-client/vivaldi-snapshot/Manifest @@ -1,9 +1,8 @@ -AUX vivaldi-snapshot-1.12.955.3_p1-libffmpeg.patch 1190 SHA256 e67cfe8b6a7bd14b20ab2d3f8fc26018544b0fd3218a704e6af584c474d8da9a SHA512 550c0b9a9683c389846e058c31074ccdc7164c2ec1d13ad4a4b7daa0e3f4a0f469d6ec71cc4c293cb6403427d589d0084b96ec5caa27f69548fbfe5c8608865b WHIRLPOOL cbd948618af24e7e4070df51695c1e6166bd606053b23ddcae64f7d020cec8724d8d9409c8a19eeee5f102bbf558e58993fba7b995774b387fdd63e35399d525 AUX vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch 1164 SHA256 260fe8e0c736f6ee34136b417d4798099d83abc55adffca6903966d21fa73a66 SHA512 2a78bae6ee58a415029c0db0c7ebbdc11611d2e167da6fef21a6a76df66b88ac65f803f9aa8b1a22007709f435803a6c967e1a82249c6c42e8d9e1cfb2c114cb WHIRLPOOL 036b6f99ffe4c39231293c3a49fca90aa52de8273757dd1fbcf3660c669fd05d22ed6952ccfd50b18e008d6f279cc60d020284581cef63385c9234ba6c1a6b36 -DIST vivaldi-snapshot-1.13.1002.4_p1-amd64.deb 50482768 SHA256 d64d2109830e0695f962af612b3b80c802b4674db5244df839685913f78ae492 SHA512 813a81db6ee1f50b169748f919e2f2dcd105b1eb7270a0417e3350fc126a9230837559ad3de3690c0b377c74c7ab825b1e167f35690a30b2d03effe2fde10378 WHIRLPOOL 3ec738ccd48a91407bf653a9644c6bb017b09dde7ccbf82af838168e9db345184ab783de89e3ff91e20813c1c6aacc84b72f1d342eb52e4a0744c4e683359da9 -DIST vivaldi-snapshot-1.13.1002.4_p1-i386.deb 50945208 SHA256 4926821ade9e3876e68a3989cb70900db10a5805fc87af40eb4c7bb08ba18f05 SHA512 97a8068dbd68902f9516442ebf9dd9642b2611b6ec5c6f29c428694dfacceb3a42326fb97ad599e1c9ce2f227ce0f8bb23875fd58dfbac6fcabec3bc2f9adf9c WHIRLPOOL 912b7112a596d5a1433aefd3d9b4beee5712475022611d86111af14a007d5e915da241a0844a7716e0bc852b57e27cf5367394dd0f97d7498446c3189c2601e5 -DIST vivaldi-snapshot-1.13.998.3_p1-amd64.deb 50480568 SHA256 614bef3d831c0ad5aea661789856bcc64acaf1056f0c5e2761b58462b32aef53 SHA512 cf184ada5c09cfd47bc4f97df6c48f69535149153cab9594dcab40e75301b0fcc8ff6847e30a681cee98d194ec6d3d93dbf7c0c5934110c797be189774453889 WHIRLPOOL 8dcbea6c53df56a62460cf2d117903bc24bee78a4eb814a55a80c4e9ad71479361c4bb27ebc83304f1d41e91512b7f55bc265478a2007396bc4ee2603516db11 -DIST vivaldi-snapshot-1.13.998.3_p1-i386.deb 50952110 SHA256 ac06dd0fef18c0e00b6cf7702b9171b226f9534be955bf3487b64ab11e1d1a75 SHA512 818dd2b1a26a20b9c2192ccceeac734b032416b349267aa17758a781a5f243923bf270f97e792d3828918600bd98c642403f4f629f71a69c464646e1ae0335dc WHIRLPOOL 7d6e59dc2e52d4538e8b7accc09c783f726fbe565f0964ef99c69755067eb6d66bfafb8852770d8dc306b4c2fa61c4120f6b1e3bf833fa8866630734bb81f390 -EBUILD vivaldi-snapshot-1.13.1002.4_p1.ebuild 2565 SHA256 8995b9510e9e93c0aaac5fa6a3e2650b928c0d1b416cd6b9e16d30f00653c3ae SHA512 b6b4bf0e5f493e8f4ef5f2b123487e6b6bcb12d775b521ebfec96b775972022ff23a8d9bb127cd273c3ae3efcf984c193b2f4de8e52103a4bcf87f75afb428bf WHIRLPOOL 30597acfd6ea429c0d4e2195a415416d9d7c223a1a148a0ad7edff77f6fa8bff6021a241255c946cc2fc1251fce8b994c237f1813dd324123c48bee522614e0a -EBUILD vivaldi-snapshot-1.13.998.3_p1-r1.ebuild 2565 SHA256 8995b9510e9e93c0aaac5fa6a3e2650b928c0d1b416cd6b9e16d30f00653c3ae SHA512 b6b4bf0e5f493e8f4ef5f2b123487e6b6bcb12d775b521ebfec96b775972022ff23a8d9bb127cd273c3ae3efcf984c193b2f4de8e52103a4bcf87f75afb428bf WHIRLPOOL 30597acfd6ea429c0d4e2195a415416d9d7c223a1a148a0ad7edff77f6fa8bff6021a241255c946cc2fc1251fce8b994c237f1813dd324123c48bee522614e0a +DIST vivaldi-snapshot-1.13.1008.11_p1-amd64.deb 50222160 SHA256 1ebed0a30d6bd9c97dfc599c3853ab0c85fb937f93a92d0dd4ac0c519ebf845f SHA512 e0eaba622d2197ccf16f53d79636b7f9746b1db41f615f44777efdd582a46c46e4a55a58737ab9116a2f995ea305922729fb0b3c3ea74437d938822bc328e036 WHIRLPOOL 1ea39c1ededfba984f9fcfdcecf0a81669fbabe9afa254c3a9be4a68f33004b4377b3b13dff23ee49e67a818bb0350ace0a5e21b1fc6a25aad875ad959d6d38a +DIST vivaldi-snapshot-1.13.1008.11_p1-i386.deb 51124850 SHA256 408d93d06cf0fca5cc5063387b3d125151cda02a077b7821879a4be64fc3b815 SHA512 2ec6592735fedfe1e3661c0882e785ba71006b96f3315c1bb0e7395fd4e2dae0c0f2ad07ebe45c60d8a826a7be100c534d6cf4fc4a797cb133cdcd57a5f3b2e7 WHIRLPOOL 5bf1ed5d0a16d304cbca41be40a21ec534cef8ce7f4147cbcd8148669d1391c6574a3408c6bc6e864ab23493e5e5fb1ccc462185c09713ad6651a1b741035585 +DIST vivaldi-snapshot-1.13.1008.3_p1-amd64.deb 50248920 SHA256 f80a072d7e02ac6844d3e7e99443b182c2442ea19c3e77e460b719fe7066a375 SHA512 73e40a6dc46849b9f78572e849f2bbc0d685ca5b46c1b2eb1d333dd2cd21fe954e25cd5434605788d6b2290f5b832d955ce938346462f2ba464c2d6bad8e2ad1 WHIRLPOOL 7dce017051f46008fc29252cdbaf296ec68f57ad440ba535273717e12adb6ba1daaa85b875a75607ce6b475e4ff09982c475bae9e4a8de6b185e7a5f930afca1 +DIST vivaldi-snapshot-1.13.1008.3_p1-i386.deb 51128206 SHA256 44aa8392265275a0cb6a16a6f1f1ebc0358c3be3bff415bf7ad61ef8ab6e5b2a SHA512 265b4649b0b67a69f07221118bd78f9c6675a7b8efd709aa0c3a0f272556512fde5349911ed5745121a37ead82d9cf36d11d0398a84d77a923d6e1a716104741 WHIRLPOOL 77fd37501190d4687a03d235a50ae90d7c78b4e0f391ff1e60232297525dea085d79c258ca857924fca1b29211776f40ab35a45dbf53639065703d9e3a59ba6f +EBUILD vivaldi-snapshot-1.13.1008.11_p1.ebuild 2565 SHA256 8995b9510e9e93c0aaac5fa6a3e2650b928c0d1b416cd6b9e16d30f00653c3ae SHA512 b6b4bf0e5f493e8f4ef5f2b123487e6b6bcb12d775b521ebfec96b775972022ff23a8d9bb127cd273c3ae3efcf984c193b2f4de8e52103a4bcf87f75afb428bf WHIRLPOOL 30597acfd6ea429c0d4e2195a415416d9d7c223a1a148a0ad7edff77f6fa8bff6021a241255c946cc2fc1251fce8b994c237f1813dd324123c48bee522614e0a +EBUILD vivaldi-snapshot-1.13.1008.3_p1.ebuild 2565 SHA256 8995b9510e9e93c0aaac5fa6a3e2650b928c0d1b416cd6b9e16d30f00653c3ae SHA512 b6b4bf0e5f493e8f4ef5f2b123487e6b6bcb12d775b521ebfec96b775972022ff23a8d9bb127cd273c3ae3efcf984c193b2f4de8e52103a4bcf87f75afb428bf WHIRLPOOL 30597acfd6ea429c0d4e2195a415416d9d7c223a1a148a0ad7edff77f6fa8bff6021a241255c946cc2fc1251fce8b994c237f1813dd324123c48bee522614e0a MISC metadata.xml 238 SHA256 bae0588f6a20ccebb0e76d3ad782fcb2adfd1ea5b9fc1433851379423a103b72 SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 WHIRLPOOL ad8bdcb129ac41a2941e41186ec94e845858818fe21b95b69adc902ddbe0eb4c4bcce8f00d5f167981852184df07e355866a07f50dcdc8f7cd7edf20ed95ecee diff --git a/www-client/vivaldi-snapshot/files/vivaldi-snapshot-1.12.955.3_p1-libffmpeg.patch b/www-client/vivaldi-snapshot/files/vivaldi-snapshot-1.12.955.3_p1-libffmpeg.patch deleted file mode 100644 index 0af4f14cf626..000000000000 --- a/www-client/vivaldi-snapshot/files/vivaldi-snapshot-1.12.955.3_p1-libffmpeg.patch +++ /dev/null @@ -1,27 +0,0 @@ ---- a/opt/vivaldi-snapshot/vivaldi-snapshot -+++ b/opt/vivaldi-snapshot/vivaldi-snapshot -@@ -32,14 +32,14 @@ - # Chromium's FFMpeg version N-82746-g6bb7ea7 is the oldest known working version - # chromium/third_party/ffmpeg/chromium/config/Chromium/linux/x64/libavutil/ffversion.h - if [ -r "$1" ]; then -- if [ `grep -aom1 'FFmpeg version N-[0-9]\+-' "$1" | cut -f2 -d-` -ge "82746" ]; then -+# if [ `grep -aom1 'FFmpeg version N-[0-9]\+-' "$1" | cut -f2 -d-` -ge "82746" ]; then - if [[ -n "$LD_PRELOAD" ]]; then - export LD_PRELOAD="$LD_PRELOAD:$1" - else - export LD_PRELOAD="$1" - fi - export VIVALDI_FFMPEG_FOUND=YES -- fi -+# fi - fi - fi - fi -@@ -54,6 +54,7 @@ - # Check for libs in order that they are most likely to appear. - # Where possible, use other files/directories to confirm it's the correct variant. - VIVALDI_FFMPEG_FOUND=NO -+checkffmpeg "/usr/lib64/chromium/libffmpeg.so" - checkffmpeg "/usr/lib/$DEBARCH/oxide-qt/libffmpeg.so" '/usr/share/doc/oxideqt-codecs-extra' - checkffmpeg '/usr/lib/chromium-browser/libffmpeg.so' '/usr/share/doc/chromium-codecs-ffmpeg-extra' - diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1002.4_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1002.4_p1.ebuild deleted file mode 100644 index fff39bc27059..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1002.4_p1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -CHROMIUM_LANGS=" - am ar bg bn ca cs da de el en-GB en-US es es-419 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 chromium-2 eutils gnome2-utils multilib unpacker toolchain-funcs xdg-utils - -VIVALDI_HOME="opt/${PN}" -DESCRIPTION="A new browser for our friends" -HOMEPAGE="http://vivaldi.com/" -VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" -SRC_URI=" - amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) - x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) -" - -LICENSE="Vivaldi" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist mirror" - -DEPEND=" - virtual/libiconv -" -RDEPEND=" - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - >=dev-libs/openssl-1.0.1:0 - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - net-misc/curl - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/pango[X] -" -QA_PREBUILT="*" -S=${WORKDIR} - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > "${T}"/${PN}.desktop || die - mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die - - mv usr/share/doc/${PN} usr/share/doc/${PF} || die - chmod 0755 usr/share/doc/${PF} || die - - rm \ - _gpgbuilder \ - etc/cron.daily/${PN} \ - ${VIVALDI_HOME}/libwidevinecdm.so \ - || die - rmdir \ - etc/cron.daily/ \ - etc/ \ - || die - - local c d - for d in 16 22 24 32 48 64 128 256; do - mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die - cp \ - ${VIVALDI_HOME}/product_logo_${d}.png \ - usr/share/icons/hicolor/${d}x${d}/apps/${PN}.png || die - done - - pushd "${VIVALDI_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - epatch "${FILESDIR}"/vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch - - epatch_user -} - -src_install() { - mv * "${D}" || die - dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} - - fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox -} -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update -} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.11_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.11_p1.ebuild new file mode 100644 index 000000000000..fff39bc27059 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.11_p1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en-GB en-US es es-419 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 chromium-2 eutils gnome2-utils multilib unpacker toolchain-funcs xdg-utils + +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango[X] +" +QA_PREBUILT="*" +S=${WORKDIR} + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > "${T}"/${PN}.desktop || die + mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die + + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${PN} \ + ${VIVALDI_HOME}/libwidevinecdm.so \ + || die + rmdir \ + etc/cron.daily/ \ + etc/ \ + || die + + local c d + for d in 16 22 24 32 48 64 128 256; do + mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die + cp \ + ${VIVALDI_HOME}/product_logo_${d}.png \ + usr/share/icons/hicolor/${d}x${d}/apps/${PN}.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + epatch "${FILESDIR}"/vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.3_p1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.3_p1.ebuild new file mode 100644 index 000000000000..fff39bc27059 --- /dev/null +++ b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.1008.3_p1.ebuild @@ -0,0 +1,118 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +CHROMIUM_LANGS=" + am ar bg bn ca cs da de el en-GB en-US es es-419 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 chromium-2 eutils gnome2-utils multilib unpacker toolchain-funcs xdg-utils + +VIVALDI_HOME="opt/${PN}" +DESCRIPTION="A new browser for our friends" +HOMEPAGE="http://vivaldi.com/" +VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" +SRC_URI=" + amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) + x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) +" + +LICENSE="Vivaldi" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +RESTRICT="bindist mirror" + +DEPEND=" + virtual/libiconv +" +RDEPEND=" + dev-libs/expat + dev-libs/glib:2 + dev-libs/nspr + dev-libs/nss + >=dev-libs/openssl-1.0.1:0 + gnome-base/gconf:2 + media-libs/alsa-lib + media-libs/fontconfig + media-libs/freetype + net-misc/curl + net-print/cups + sys-apps/dbus + sys-libs/libcap + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/libX11 + x11-libs/libXScrnSaver + x11-libs/libXcomposite + x11-libs/libXcursor + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango[X] +" +QA_PREBUILT="*" +S=${WORKDIR} + +src_unpack() { + unpack_deb ${A} +} + +src_prepare() { + iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > "${T}"/${PN}.desktop || die + mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die + + mv usr/share/doc/${PN} usr/share/doc/${PF} || die + chmod 0755 usr/share/doc/${PF} || die + + rm \ + _gpgbuilder \ + etc/cron.daily/${PN} \ + ${VIVALDI_HOME}/libwidevinecdm.so \ + || die + rmdir \ + etc/cron.daily/ \ + etc/ \ + || die + + local c d + for d in 16 22 24 32 48 64 128 256; do + mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die + cp \ + ${VIVALDI_HOME}/product_logo_${d}.png \ + usr/share/icons/hicolor/${d}x${d}/apps/${PN}.png || die + done + + pushd "${VIVALDI_HOME}/locales" > /dev/null || die + chromium_remove_language_paks + popd > /dev/null || die + + epatch "${FILESDIR}"/vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch + + epatch_user +} + +src_install() { + mv * "${D}" || die + dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} + + fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox +} +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postrm() { + gnome2_icon_cache_update + xdg_desktop_database_update +} + +pkg_postinst() { + gnome2_icon_cache_update + xdg_desktop_database_update +} diff --git a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1-r1.ebuild b/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1-r1.ebuild deleted file mode 100644 index fff39bc27059..000000000000 --- a/www-client/vivaldi-snapshot/vivaldi-snapshot-1.13.998.3_p1-r1.ebuild +++ /dev/null @@ -1,118 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -CHROMIUM_LANGS=" - am ar bg bn ca cs da de el en-GB en-US es es-419 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 chromium-2 eutils gnome2-utils multilib unpacker toolchain-funcs xdg-utils - -VIVALDI_HOME="opt/${PN}" -DESCRIPTION="A new browser for our friends" -HOMEPAGE="http://vivaldi.com/" -VIVALDI_BASE_URI="https://downloads.vivaldi.com/snapshot/${PN}_${PV/_p/-}_" -SRC_URI=" - amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) - x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) -" - -LICENSE="Vivaldi" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist mirror" - -DEPEND=" - virtual/libiconv -" -RDEPEND=" - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - >=dev-libs/openssl-1.0.1:0 - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - net-misc/curl - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/pango[X] -" -QA_PREBUILT="*" -S=${WORKDIR} - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - iconv -c -t UTF-8 usr/share/applications/${PN}.desktop > "${T}"/${PN}.desktop || die - mv "${T}"/${PN}.desktop usr/share/applications/${PN}.desktop || die - - mv usr/share/doc/${PN} usr/share/doc/${PF} || die - chmod 0755 usr/share/doc/${PF} || die - - rm \ - _gpgbuilder \ - etc/cron.daily/${PN} \ - ${VIVALDI_HOME}/libwidevinecdm.so \ - || die - rmdir \ - etc/cron.daily/ \ - etc/ \ - || die - - local c d - for d in 16 22 24 32 48 64 128 256; do - mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die - cp \ - ${VIVALDI_HOME}/product_logo_${d}.png \ - usr/share/icons/hicolor/${d}x${d}/apps/${PN}.png || die - done - - pushd "${VIVALDI_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - epatch "${FILESDIR}"/vivaldi-snapshot-1.13.997.3_p1-libffmpeg.patch - - epatch_user -} - -src_install() { - mv * "${D}" || die - dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} - - fperms 4711 /${VIVALDI_HOME}/vivaldi-sandbox -} -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update -} diff --git a/www-client/vivaldi/Manifest b/www-client/vivaldi/Manifest index 21f9dee5ffa2..b11021a74cd9 100644 --- a/www-client/vivaldi/Manifest +++ b/www-client/vivaldi/Manifest @@ -1,13 +1,7 @@ AUX vivaldi-1.11.917.43_p1-libffmpeg.patch 1154 SHA256 18095976e22d4567d93d99c7b61f49b7d3895cc2eb363517649c60696ba62378 SHA512 cce5c30231f3e1d6904d12c3bddf63ac02978bfbd0fe44f248899060c332bb0c242c0d2e18b62568fc65bd144b6a83c38ea6c4ec88db4512a7add4057fe7a605 WHIRLPOOL aaf311083722a14e90e335f7b9d3ece3750ce0d6bc42a85948860edb4c9c6007d89c7b08abc1cb0c3a7f33814e1038cf1115da34a865b7d1889f550a5edea8cb -DIST vivaldi-1.12.955.38_p1-amd64.deb 50507742 SHA256 1c3fb2c2ecac7a9d54a641fbbe59743b85de6ffc896b600bcf26dfb98dd601af SHA512 1585e8717376e92cfce30aadda19d2b7cff2136bc0c0f9bbe7d438f6a7d57efcbce5cbdedf66c45103032f03873d544b699e1d6a07f13bafbea3d12c5a2817a9 WHIRLPOOL 30d9eadb320e5163925b4b36c984653c67586cf062954decb49d24fa322fe76b1ac0f6cc8c94d0d973346e475edceb76d0964e73ee688c1b8d14cdca08e6cfce -DIST vivaldi-1.12.955.38_p1-i386.deb 51539886 SHA256 489ddb25d0854bfd1604d051860fba2c5d555f0b32c4f0d4a21a00728c7ab111 SHA512 285a4c55530c01bd0c19944cde34f37ca08b54153b674a029a1f0b6288b0b92b1addff39a32a880c2bee2389664c601348d46b4da405d77b5d73218a95e82336 WHIRLPOOL cec03f316346fd4bd2235dd9c8c02c3dd0da9424b22535e22ba664697c066c4918f5b849dac9069a8356a8f3070d62058245c78ed8977394370a0215e4a739f8 -DIST vivaldi-1.12.955.42_p1-amd64.deb 50770152 SHA256 e652d16db1b188ee61ad24e57b548eefce7c564873bbb99b3029c0a1077e6b91 SHA512 1f393c5f901eafc7359276ced79cd3b6b0d5c25fbf170f421d6da1d57700d021b8437215a0f58de1f1e787d8d989841f2ebe562233da328dd35461e6a0fe5cb8 WHIRLPOOL 51db8073234526e6e6760ffbcbb323fb3194cffe12b5756d291be29730ad28e501ce005dcf36e5a1d86d1f508a026d848b37d740a8303d76ef587e0b90df803f -DIST vivaldi-1.12.955.42_p1-i386.deb 51637778 SHA256 a035067b9bff853424eaa102a632d7c6c362a7d0cced27239f7277f016266441 SHA512 b0bcbf284571169bc0945103ccd7848adc5f7f5bd99faa457f3d63579d090c73105d7ce36bd7ffdf802c6d53a6fdaa80e346cd659f02d402c36f331d9346f5f7 WHIRLPOOL b6a5f3ba2d66dca1f3a735ca8690b83224c7e2a36740c95e024d9221b087fa3030e21c5da2d0dcbfcc77911dad6f6ac42cec0999f9b88d42d834aec7016a2788 DIST vivaldi-1.12.955.48_p1-amd64.deb 50790158 SHA256 8ecd1d367e7db2ebd6f9654082527bf03a9a63f05b5a784146d2f21d5ecbd07d SHA512 c3075ce2711859f547d79f6b8a22b253a308f702bcff841b707601fa19665d220b8851f202d96a57f28f387087875055a8b94a3798e7e6176398854ab5d32d58 WHIRLPOOL 2121b6821b29868f4804e518361b242e7d026fb8df73472685e278beddaf4dfb9fe6c3fe5c79261753a6fa154d99b34dda661d0f59f4df8163fe906493585956 DIST vivaldi-1.12.955.48_p1-i386.deb 51640720 SHA256 90d7d127eef6d03f43fc959bd0e2568317e5156e534ed31f92beeb785f352c9f SHA512 8a59fa3b4efcdcae82ffafe2ec0b6506d42cd96d6f72c9317708222f2bd94391744b38b1a267702c80144cc6aa842cddcd2b963871306825f403d9a50ddd3f29 WHIRLPOOL d5e2321b0b4e3fa3b911a627c0cacffe0a5f0f5812c277750cf8996b54cd59eabb8e6b0c91153da73484bf419025ce1e94241e81bcc40bc16fe5dbfe2092d4f4 -EBUILD vivaldi-1.12.955.38_p1.ebuild 2704 SHA256 929c5d71903824d1597000e3948e4ecb946a35eeb029364b49d09030e37c5df5 SHA512 99dde58bb6dbdb3c39290b76770a741608f5ff9504fb54d9496597a927339574cf78ca5ecbd9e39c7913ef1dbde62b9b451634c6834d480ecf4c9fd3b08e8cd6 WHIRLPOOL be27255ff8a31acffa09eb07ed6e1e6defe2847a161a865832fe61c1f58453a31d97e5a634cf8b734a9f9a22fd96942eddcb93fb1f22e8c9893427db5e6f6bd0 -EBUILD vivaldi-1.12.955.42_p1-r1.ebuild 2918 SHA256 f7d96e178ad7d2bf5a8c864fffaf9edfc56ac5edc8758904e9fc15e510a92055 SHA512 c291296ea2bcf7eda51d83f7af2e9a3b2fe3b882155df824bb48f2bda44e7465d102f2b6b4854e1e28c2266cddfe8c3dc162cd84f06a2789c69144e623a13be6 WHIRLPOOL 284b0dbd8590ef7d6cc6ec6a50dc9896c7efe83bc2b85039eb57e11cf2c017918706d749d5dd33e1dc053b1d561121eac5d6747dc61808f34cc1fd6c1f1eee6f -EBUILD vivaldi-1.12.955.48_p1.ebuild 2918 SHA256 f7d96e178ad7d2bf5a8c864fffaf9edfc56ac5edc8758904e9fc15e510a92055 SHA512 c291296ea2bcf7eda51d83f7af2e9a3b2fe3b882155df824bb48f2bda44e7465d102f2b6b4854e1e28c2266cddfe8c3dc162cd84f06a2789c69144e623a13be6 WHIRLPOOL 284b0dbd8590ef7d6cc6ec6a50dc9896c7efe83bc2b85039eb57e11cf2c017918706d749d5dd33e1dc053b1d561121eac5d6747dc61808f34cc1fd6c1f1eee6f +EBUILD vivaldi-1.12.955.48_p1.ebuild 2916 SHA256 b063f4ce1a3f1faaf6d67cdec865b083826a90cfd57ca47d530c9b696a644a2e SHA512 76aaed471d635675853c878a4d1f8b21e78ed1651009bb0eb035b4a9a272736fc4ec5522a6e37c7960092d23b9058571cbf7d2ebe076cb1c3d3e0d511f066dcc WHIRLPOOL 3c071d96bc4a1360e59bb5a64fb72850b3166a7802d81da50fb0578691c2b5008fa92df74e56e667916ff6adc1818e171c663f9a6463eea1e75c1f0b5380b1c6 MISC ChangeLog 30542 SHA256 90dd48a74abe464786554337fc1abfe5987d3bef7c0b55a8e8e0549280c77895 SHA512 5dedcecb081555a877fd0c9e6132f6b6e94181ccf901a20c4326805ff5dfb3cd792d93a53dcc6b15cb185d0dc734f554d11214c20cfe66d2f78349b3b72f416b WHIRLPOOL 246ea2fa4c39ad53c8de8d331ecbd7c80d381a73880b119f4784f7bd4340dd5bc60bdf19e795b619f29fb4a06d5229a6c209f6533a24beccc4dcf8f5cee7ad76 MISC ChangeLog-2015 6330 SHA256 f6edba68d9f23c66f3f4bd93d8d9c724f4ebe700bfe1d83e7d2754c70eeb89a4 SHA512 3089a150ca0d7b6733077610aed7e5c6e491a9b879c3353fa9141da64193d68a431601e749f9751128951a1300332943834babb3a3b14bc70a918b711ee79055 WHIRLPOOL a3b3197a356b17357f3483d32ed464cab137c3f6be73b1e223f303ea8a8c667008d45140aeac01b3d7cc9be17af159f18c633343839b8a2bebefab876dd93533 MISC metadata.xml 238 SHA256 bae0588f6a20ccebb0e76d3ad782fcb2adfd1ea5b9fc1433851379423a103b72 SHA512 b0b981ef72f4d295f427f92dc9931553b4fb7a91c8ed63fa1f28bdbe8bc61d6f0943e1217eb7b61b8d85d9685cbe759db49f094a18a1461cb48429affe76d993 WHIRLPOOL ad8bdcb129ac41a2941e41186ec94e845858818fe21b95b69adc902ddbe0eb4c4bcce8f00d5f167981852184df07e355866a07f50dcdc8f7cd7edf20ed95ecee diff --git a/www-client/vivaldi/vivaldi-1.12.955.38_p1.ebuild b/www-client/vivaldi/vivaldi-1.12.955.38_p1.ebuild deleted file mode 100644 index be52a5d2c96f..000000000000 --- a/www-client/vivaldi/vivaldi-1.12.955.38_p1.ebuild +++ /dev/null @@ -1,114 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -CHROMIUM_LANGS=" - am ar bg bn ca cs da de el en-GB en-US es es-419 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 chromium-2 eutils multilib unpacker toolchain-funcs - -#VIVALDI_BRANCH="snapshot" - -VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" -VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" -VIVALDI_HOME="opt/${VIVALDI_BIN}" -DESCRIPTION="A new browser for our friends" -HOMEPAGE="http://vivaldi.com/" -VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${PV/_p/-}_" -SRC_URI=" - amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) - x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) -" - -LICENSE="Vivaldi" -SLOT="0" -KEYWORDS="-* amd64 x86" -RESTRICT="bindist mirror" - -DEPEND=" - virtual/libiconv -" -RDEPEND=" - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - >=dev-libs/openssl-1.0.1:0 - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - net-misc/curl - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/pango[X] -" -QA_PREBUILT="*" -S=${WORKDIR} - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - iconv -c -t UTF-8 usr/share/applications/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die - mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die - - sed -i \ - -e "s|${VIVALDI_BIN}|${PN}|g" \ - usr/share/applications/${VIVALDI_PN}.desktop \ - usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die - - mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die - chmod 0755 usr/share/doc/${PF} || die - - rm \ - _gpgbuilder \ - etc/cron.daily/${VIVALDI_BIN} \ - ${VIVALDI_HOME}/libwidevinecdm.so \ - || die - rmdir \ - etc/cron.daily/ \ - etc/ \ - || die - - local c d - for d in 16 22 24 32 48 64 128 256; do - mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die - cp \ - ${VIVALDI_HOME}/product_logo_${d}.png \ - usr/share/icons/hicolor/${d}x${d}/apps/vivaldi.png || die - done - - pushd "${VIVALDI_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - epatch "${FILESDIR}"/${PN}-1.11.917.43_p1-libffmpeg.patch - - epatch_user -} - -src_install() { - mv * "${D}" || die - dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} - - fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox -} diff --git a/www-client/vivaldi/vivaldi-1.12.955.42_p1-r1.ebuild b/www-client/vivaldi/vivaldi-1.12.955.42_p1-r1.ebuild deleted file mode 100644 index e38e3424c8c5..000000000000 --- a/www-client/vivaldi/vivaldi-1.12.955.42_p1-r1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -CHROMIUM_LANGS=" - am ar bg bn ca cs da de el en-GB en-US es es-419 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 chromium-2 eutils gnome2-utils multilib unpacker toolchain-funcs xdg-utils - -#VIVALDI_BRANCH="snapshot" - -VIVALDI_PN="${PN}-${VIVALDI_BRANCH:-stable}" -VIVALDI_BIN="${PN}${VIVALDI_BRANCH/snapshot/-snapshot}" -VIVALDI_HOME="opt/${VIVALDI_BIN}" -DESCRIPTION="A new browser for our friends" -HOMEPAGE="http://vivaldi.com/" -VIVALDI_BASE_URI="https://downloads.vivaldi.com/${VIVALDI_BRANCH:-stable}/${VIVALDI_PN}_${PV/_p/-}_" -SRC_URI=" - amd64? ( ${VIVALDI_BASE_URI}amd64.deb -> ${P}-amd64.deb ) - x86? ( ${VIVALDI_BASE_URI}i386.deb -> ${P}-i386.deb ) -" - -LICENSE="Vivaldi" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -RESTRICT="bindist mirror" - -DEPEND=" - virtual/libiconv -" -RDEPEND=" - dev-libs/expat - dev-libs/glib:2 - dev-libs/nspr - dev-libs/nss - >=dev-libs/openssl-1.0.1:0 - gnome-base/gconf:2 - media-libs/alsa-lib - media-libs/fontconfig - media-libs/freetype - net-misc/curl - net-print/cups - sys-apps/dbus - sys-libs/libcap - x11-libs/cairo - x11-libs/gdk-pixbuf - x11-libs/gtk+:2 - x11-libs/libX11 - x11-libs/libXScrnSaver - x11-libs/libXcomposite - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/pango[X] -" -QA_PREBUILT="*" -S=${WORKDIR} - -src_unpack() { - unpack_deb ${A} -} - -src_prepare() { - iconv -c -t UTF-8 usr/share/applications/${VIVALDI_PN}.desktop > "${T}"/${VIVALDI_PN}.desktop || die - mv "${T}"/${VIVALDI_PN}.desktop usr/share/applications/${VIVALDI_PN}.desktop || die - - sed -i \ - -e "s|${VIVALDI_BIN}|${PN}|g" \ - usr/share/applications/${VIVALDI_PN}.desktop \ - usr/share/xfce4/helpers/${VIVALDI_BIN}.desktop || die - - mv usr/share/doc/${VIVALDI_PN} usr/share/doc/${PF} || die - chmod 0755 usr/share/doc/${PF} || die - - rm \ - _gpgbuilder \ - etc/cron.daily/${VIVALDI_BIN} \ - ${VIVALDI_HOME}/libwidevinecdm.so \ - || die - rmdir \ - etc/cron.daily/ \ - etc/ \ - || die - - local c d - for d in 16 22 24 32 48 64 128 256; do - mkdir -p usr/share/icons/hicolor/${d}x${d}/apps || die - cp \ - ${VIVALDI_HOME}/product_logo_${d}.png \ - usr/share/icons/hicolor/${d}x${d}/apps/vivaldi.png || die - done - - pushd "${VIVALDI_HOME}/locales" > /dev/null || die - chromium_remove_language_paks - popd > /dev/null || die - - epatch "${FILESDIR}"/${PN}-1.11.917.43_p1-libffmpeg.patch - - epatch_user -} - -src_install() { - mv * "${D}" || die - dosym /${VIVALDI_HOME}/${PN} /usr/bin/${PN} - - fperms 4711 /${VIVALDI_HOME}/${PN}-sandbox -} - -pkg_preinst() { - gnome2_icon_savelist -} - -pkg_postrm() { - gnome2_icon_cache_update - xdg_desktop_database_update -} - -pkg_postinst() { - gnome2_icon_cache_update - xdg_desktop_database_update -} diff --git a/www-client/vivaldi/vivaldi-1.12.955.48_p1.ebuild b/www-client/vivaldi/vivaldi-1.12.955.48_p1.ebuild index e38e3424c8c5..d177d9c59bed 100644 --- a/www-client/vivaldi/vivaldi-1.12.955.48_p1.ebuild +++ b/www-client/vivaldi/vivaldi-1.12.955.48_p1.ebuild @@ -24,7 +24,7 @@ SRC_URI=" LICENSE="Vivaldi" SLOT="0" -KEYWORDS="-* ~amd64 ~x86" +KEYWORDS="-* amd64 x86" RESTRICT="bindist mirror" DEPEND=" -- cgit v1.2.3